Summary: A lightweight BibTeX editor developed for the Xfce desktop environment Name: xfbib Version: 0.0.1 Release: %mkrel 1 License: GPLv2+ Group: Graphical desktop/Xfce Url: http://goodies.xfce.org/projects/applications/%{name} Source0: http://goodies.xfce.org/releases/%{name}/%{name}-%{version}.tar.bz2 BuildRequires: libxfcegui4-devel BuildRequires: bison BuildRequires: flex BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot %description Xfbib is a lightweight BibTeX editor developed for the Xfce. The intentions of Xfbib is to provide an easy and efficient way of editing BibTeX files. %prep %setup -q %build %configure2_5x %make %install [ "%{buildroot}" != "/" ] && rm -rf %{buildroot} %makeinstall_std %find_lang %{name} %post %{update_menus} %if %mdkversion >= 200700 %{update_desktop_database} %update_icon_cache hicolor %endif %postun %{clean_menus} %if %mdkversion >= 200700 %{clean_desktop_database} %clean_icon_cache hicolor %endif %clean [ "%{buildroot}" != "/" ] && rm -rf %{buildroot} %files -f %{name}.lang %defattr(-,root,root) %doc AUTHORS README %{_bindir}/%{name} %{_datadir}/applications/%{name}.desktop %{_iconsdir}/hicolor/*/apps/%{name}.png %changelog * Wed Feb 20 2008 Tomasz Pawel Gajc <tpg@mandriva.org> 0.0.1-1mdv2008.0 + Revision: 173361 - add missing buildrequires - add source and spec file - Created package structure for xfbib.