diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..12b7bff --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +xfbib-0.0.2.tar.bz2 diff --git a/dead.package b/dead.package deleted file mode 100644 index 11ec2ff..0000000 --- a/dead.package +++ /dev/null @@ -1 +0,0 @@ -unmaintained plugin; no longer compatible with xfce 4.16 diff --git a/sources b/sources new file mode 100644 index 0000000..7c6ba52 --- /dev/null +++ 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..28e504b --- /dev/null +++ b/xfbib.spec @@ -0,0 +1,72 @@ +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. + +%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 +* Sat May 24 2008 Christoph Wickert - 0.0.2-1 +- Initial Fedora package