From 9a0be31bd36db9aa92a0be5bb8aab6ece1f30564 Mon Sep 17 00:00:00 2001 From: Christoph Wickert Date: Jun 11 2008 22:45:31 +0000 Subject: Initial import ox xfbib. Review was at https://bugzilla.redhat.com/show_bug.cgi?id=448236 --- diff --git a/.cvsignore b/.cvsignore index e69de29..12b7bff 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +xfbib-0.0.2.tar.bz2 diff --git a/import.log b/import.log new file mode 100644 index 0000000..a733783 --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +xfbib-0_0_2-1_fc10:HEAD:xfbib-0.0.2-1.fc10.src.rpm:1213224247 diff --git a/sources b/sources index e69de29..7c6ba52 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +56a2bb9660e5bbe8d011da078e545aeb xfbib-0.0.2.tar.bz2 diff --git a/xfbib.spec b/xfbib.spec new file mode 100644 index 0000000..1a24c98 --- /dev/null +++ b/xfbib.spec @@ -0,0 +1,68 @@ +Name: xfbib +Version: 0.0.2 +Release: 1%{?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. + + +%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 "" \ + --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/%{name}.desktop + + +%changelog +* Sat May 24 2008 Christoph Wickert - 0.0.2-1 +- Initial Fedora Extras version.