svn: r1717
This commit is contained in:
Don Allingham
2003-06-13 04:03:44 +00:00
parent 9c43834a21
commit fa067b750c
7 changed files with 31 additions and 6 deletions

View File

@@ -1,5 +1,5 @@
%define ver 0.9.2
%define rel rc1
%define rel 1
%define prefix /usr
%define localstatedir /var/lib
# Ensure that internal RPM macros for configure & makeinstall
@@ -29,6 +29,7 @@ BuildRequires: scrollkeeper >= 0.3.5
BuildRequires: automake >= 1.6
BuildRequires: autoconf >= 2.52
BuildRequires: rpm >= 4.1
BuildRequires: desktop-file-utils >= 0.2.92
%description
gramps (Genealogical Research and Analysis Management Programming
@@ -54,6 +55,12 @@ CFLAGS="$RPM_OPT_FLAGS" make
rm -rf $RPM_BUILD_ROOT
%makeinstall
mkdir $RPM_BUILD_ROOT%{_datadir}/applications
desktop-file-install --vendor gramps --delete-original \
--dir $RPM_BUILD_ROOT%{_datadir}/applications \
--add-category Application \
--add-category Utility \
$RPM_BUILD_ROOT%{_datadir}/gnome/apps/Applications/gramps.desktop
%find_lang gramps
rm -rf $RPM_BUILD_ROOT/%{_localstatedir}/scrollkeeper/
@@ -68,7 +75,7 @@ rm -rf $RPM_BUILD_ROOT
%{prefix}/bin/gramps
%{_datadir}/gnome/apps/Applications/gramps.desktop
%{_datadir}/applications/*
%{_datadir}/pixmaps/gramps.png
%{_datadir}/gramps/*