Author: pcompton
Update of /cvs/extras/rpms/seahorse//FC-3
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv21184
Modified Files:
seahorse.spec
Log Message:
desktop entry fixes
Index: seahorse.spec
===================================================================
RCS file: /cvs/extras/rpms/seahorse//FC-3/seahorse.spec,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- seahorse.spec 26 Feb 2005 02:20:19 -0000 1.5
+++ seahorse.spec 26 Feb 2005 03:00:08 -0000 1.6
@@ -1,6 +1,6 @@
Name: seahorse
Version: 0.7.6
-Release: 1
+Release: 2
Summary: GNOME2 interface for gnupg
Group: User Interface/Desktops
@@ -18,9 +18,11 @@
BuildRequires: libgnomeprintui22-devel
BuildRequires: perl-XML-Parser
BuildRequires: scrollkeeper
+Requires(post): desktop-file-utils
Requires(post): GConf2
Requires(post): scrollkeeper
Requires(post): shared-mime-info
+Requires(postun): desktop-file-utils
Requires(postun): scrollkeeper
Requires(postun): shared-mime-info
@@ -60,6 +62,14 @@
--add-category X-Fedora \
${RPM_BUILD_ROOT}%{_datadir}/applications/seahorse-pgp-signature.desktop
+desktop-file-install --vendor fedora --delete-original \
+ --dir ${RPM_BUILD_ROOT}%{_datadir}/applications \
+ --add-category GNOME \
+ --add-category Utility \
+ --add-category X-Fedora \
+ ${RPM_BUILD_ROOT}%{_datadir}/applications/seahorse.desktop
+
+
find ${RPM_BUILD_ROOT} -type f -name "*.la" -exec rm -f {} ';'
find ${RPM_BUILD_ROOT} -type f -name "*.a" -exec rm -f {} ';'
@@ -76,12 +86,14 @@
%{_sysconfdir}/gconf/schemas/%{name}.schemas > /dev/null || :
scrollkeeper-update -q ||:
update-mime-database %{_datadir}/mime/ > /dev/null
+update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || :
%postun
/sbin/ldconfig
scrollkeeper-update -q ||:
update-mime-database %{_datadir}/mime/ > /dev/null
+update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || :
%files -f %{name}.lang
@@ -105,6 +117,9 @@
%changelog
+* Fri Feb 25 2005 Phillip Compton <pcompton[AT]proteinmedia.com> 0.7.6-2
+- desktop entry fixes.
+
* Fri Feb 25 2005 Phillip Compton <pcompton[AT]proteinmedia.com> 0.7.6-1
- 0.7.6.
Show replies by thread