* gramps.spec.in: Add gramps icon to correct location on install

* src/gramps.desktop: Add startup notification (egg timer)


svn: r1684
This commit is contained in:
Don Allingham 2003-06-10 16:36:14 +00:00
parent c4c9404abb
commit ea705d5bab
2 changed files with 9 additions and 1 deletions

View File

@ -29,6 +29,7 @@ BuildRequires: scrollkeeper >= @SCROLLKEEPER_BUILD_REQUIRED@
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/*

View File

@ -7,3 +7,4 @@ Exec=gramps
Icon=gramps.png
Terminal=0
Type=Application
StartupNotify=true