Name: xfbib
Version: 0.0.2
Release: 3%{?dist}
Summary: Lightweight BibTeX editor for the Xfce desktop environment
Summary(de): Schlanker BibTeX Editor für die Xfce Desktop-Umgebung
Group: Applications/Editors
License: GPLv2+
URL: http://goodies.xfce.org/projects/applications/%{name}
Source0: http://goodies.xfce.org/releases/%{name}/%{name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: libxfcegui4-devel >= 4.4.0, gtk2-devel >= 2.10
BuildRequires: gettext, desktop-file-utils
%description
Xfbib is a lightweight BibTeX editor developed for the Xfce desktop
environment. The intention of Xfbib is to provide an easy and efficient way
of editing BibTeX files.
%description -l de
Xfbib ist ein schlanker BibTex Editor, der für die Xfce Desktop-Umgebung
entwickelt wird. Das Ziel von Xfbib ist es, einen einfachen und effizienten
Weg zum Bearbeiteiten von BibTeX Dateien zur Verfügung zu stellen.
%prep
%setup -q
%build
%configure --disable-static
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
%find_lang %{name}
desktop-file-install --vendor "fedora" \
--dir ${RPM_BUILD_ROOT}%{_datadir}/applications \
--remove-category Application \
--delete-original \
${RPM_BUILD_ROOT}%{_datadir}/applications/%{name}.desktop
%post
update-desktop-database &> /dev/null ||:
touch --no-create %{_datadir}/icons/hicolor || :
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
%postun
update-desktop-database &> /dev/null ||:
touch --no-create %{_datadir}/icons/hicolor || :
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
%clean
rm -rf $RPM_BUILD_ROOT
%files -f %{name}.lang
%defattr(-,root,root,-)
%doc AUTHORS COPYING ChangeLog README
%{_bindir}/%{name}
%{_datadir}/icons/hicolor/*/apps/%{name}.png
%{_datadir}/applications/fedora-%{name}.desktop
%changelog
* Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
* Sat May 24 2008 Christoph Wickert <fedora christoph-wickert de> - 0.0.2-1
- Initial Fedora package