File kde3-kbibtex-svn.spec of Package kde3-kbibtex

#
# spec file for package KBibtex (Version svn-snapshot)
#
# Copyright (c) Konstantinos Zarogoulidis, Cor Blom
# Copyright (c) 2011 Kyrill Detinov
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#

%define _prefix /opt/kde3

Name:           kde3-kbibtex
Version:        0.2.3.1004
Release:        0
License:        GPL-2.0
Summary:        BibTeX (LaTeX) Bibliography Manager for KDE3
URL:            http://www.unix-ag.uni-kl.de/~fischer/kbibtex/
Group:          Productivity/Publishing/TeX/Utilities
Source:         kbibtex-svnsnapshot.tar.bz2
BuildRequires:  kdelibs3-devel libgcrypt-devel libgpg-error-devel
%if %suse_version > 1110
BuildRequires:  libyaz-devel
%endif
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Conflicts:      kbibtex
Patch0:         kbibtex-deprecate-update-desktop-files.patch

%description
KBibTeX is a BibTeX editor for KDE to edit bibliographies used with
LaTeX. Features include comfortable input masks, starting web queries
(e. g. Google or PubMed) and exporting to PDF, PostScript, RTF and
XML/HTML. As KBibTeX is using KDE's KParts technology, KBibTeX can be
embedded into Kile or Konqueror.

%prep
%setup -qn kbibtex-svnsnapshot
. /etc/opt/kde3/common_options
update_admin --no-unsermake
%patch -P 0 -p1

%build
. /etc/opt/kde3/common_options
./configure $configkde --disable-final
%{__make} %{?_smp_mflags}

%install
. /etc/opt/kde3/common_options
%{makeinstall}
kde_post_install
%find_lang kbibtex

%files -f kbibtex.lang
%defattr(-,root,root,-)
%doc AUTHORS COPYING ChangeLog README TODO
%{_datadir}/apps/kbibtex
%{_datadir}/apps/kbibtexpart
%{_bindir}/kbibtex
%{_libdir}/kde3/libkbibtexpart.la
%{_libdir}/kde3/libkbibtexpart.so
%{_datadir}/applications/kde/kbibtex.desktop
%{_datadir}/icons/hicolor/*x*/apps/kbibtex.png
%{_datadir}/services/kbibtex_part.desktop
%doc /opt/kde3/share/man/man1/*

%changelog

# kate: space-indent on; indent-width 4;
openSUSE Build Service is sponsored by