# # spec file for package KBibtex kde4 version 0.4 # # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # Name: kbibtex Version: 0.4 Release: 1 License: GPL v2 BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: libkde4-devel,update-desktop-files,libpoppler-qt4-devel PreReq: permissions Group: Productivity/Publishing/TeX/Utilities Summary: The BibTeX (Latex) bibliography manager for KDE URL: http://www.unix-ag.uni-kl.de/~fischer/kbibtex/ Source: http://download.gna.org/kbibtex/0.4/kbibtex-%{version}.tar.bz2 %kde4_runtime_requires %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. Authors: -------- Thomas Fischer %prep %setup -q %build #mkdir build #cd build %cmake_kde4 -d build %__make %{?_smp_mflags} %install cd build make install DESTDIR=%{buildroot} mkdir -p $RPM_BUILD_ROOT%_kde4_iconsdir/hicolor/{16x16,22x22,32x32,48x48,64x64,128x128}/apps for i in 16 22 32 48 64 128; do cp ../icons/hi${i}-app-kbibtex.png $RPM_BUILD_ROOT%_kde4_iconsdir/hicolor/${i}x${i}/apps/kbibtex.png done %suse_update_desktop_file kbibtex Office Database %suse_update_desktop_file $RPM_BUILD_ROOT/%_kde4_sharedir/services/kbibtexpart.desktop Office Database #%%find_lang kbibtex %files %defattr(-,root,root) %_kde4_bindir/* %_kde4_libdir/*.so %_kde4_modulesdir/* %_kde4_iconsdir/hicolor %_kde4_sharedir/apps %_kde4_sharedir/config/kbibtexrc %_kde4_sharedir/services %_kde4_applicationsdir/* %{_mandir}/man1/kbibtex.1.gz /usr/share/mime/packages/bibliography.xml %changelog