From ea705d5baba92739c0c76fd6806701079803e853 Mon Sep 17 00:00:00 2001 From: Don Allingham Date: Tue, 10 Jun 2003 16:36:14 +0000 Subject: [PATCH] * gramps.spec.in: Add gramps icon to correct location on install * src/gramps.desktop: Add startup notification (egg timer) svn: r1684 --- gramps2/gramps.spec.in | 9 ++++++++- gramps2/src/gramps.desktop | 1 + 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/gramps2/gramps.spec.in b/gramps2/gramps.spec.in index 98b57dea4..adac3c837 100644 --- a/gramps2/gramps.spec.in +++ b/gramps2/gramps.spec.in @@ -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/* diff --git a/gramps2/src/gramps.desktop b/gramps2/src/gramps.desktop index d901a6bbf..4f02b9168 100644 --- a/gramps2/src/gramps.desktop +++ b/gramps2/src/gramps.desktop @@ -7,3 +7,4 @@ Exec=gramps Icon=gramps.png Terminal=0 Type=Application +StartupNotify=true