Compare commits

...
Sign in to create a new pull request.

5 commits

Author SHA1 Message Date
Fedora Release Engineering
ef02997ebb dist-git conversion 2010-07-29 15:42:05 +00:00
Bill Nottingham
26f9ecd384 Fix typo that causes a failure to update the common directory. (releng
#2781)
2009-11-26 01:30:49 +00:00
Christoph Wickert
4a4129f7ad add translated descriptions to cvs 2008-06-30 23:59:58 +00:00
Christoph Wickert
bdd18c1829 - Initial Fedora package 2008-06-11 22:56:05 +00:00
07d655395c Initialize branch F-9 for xfbib 2008-06-06 15:44:51 +00:00
5 changed files with 74 additions and 21 deletions

View file

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
xfbib-0.0.2.tar.bz2

View file

@ -1,21 +0,0 @@
# Makefile for source rpm: xfbib
# $Id$
NAME := xfbib
SPECFILE = $(firstword $(wildcard *.spec))
define find-makefile-common
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
endef
MAKEFILE_COMMON := $(shell $(find-makefile-common))
ifeq ($(MAKEFILE_COMMON),)
# attept a checkout
define checkout-makefile-common
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
endef
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
endif
include $(MAKEFILE_COMMON)

View file

@ -0,0 +1 @@
56a2bb9660e5bbe8d011da078e545aeb xfbib-0.0.2.tar.bz2

72
xfbib.spec Normal file
View file

@ -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(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 <fedora christoph-wickert de> - 0.0.2-1
- Initial Fedora package