diff --git a/seahorse.changes b/seahorse.changes index bad2097..ae89901 100644 --- a/seahorse.changes +++ b/seahorse.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Tue Aug 7 18:45:46 CEST 2007 - maw@suse.de + +- Use %fdupes +- Split off a -lang subpackage +- s#%run_ldconfig#/sbin/ldconfig# in %post and %postun. + ------------------------------------------------------------------- Fri Jun 22 23:31:47 CEST 2007 - maw@suse.de diff --git a/seahorse.spec b/seahorse.spec index f5857b2..c132d26 100644 --- a/seahorse.spec +++ b/seahorse.spec @@ -11,13 +11,14 @@ # norootforbuild Name: seahorse -BuildRequires: gnome-doc-utils-devel gnome-themes gpg2 gpgme-devel intltool libglade2-devel libgnomeprintui-devel libgpg-error-devel libsoup-devel libwnck-devel mDNSResponder-devel nautilus-devel openldap2 openldap2-devel openssh perl-XML-Parser update-desktop-files -License: GNU General Public License (GPL) +BuildRequires: fdupes gnome-doc-utils-devel gnome-themes gpg2 gpgme-devel intltool libglade2-devel libgnomeprintui-devel libgpg-error-devel libsoup-devel libwnck-devel mDNSResponder-devel nautilus-devel openldap2 openldap2-devel openssh perl-XML-Parser update-desktop-files +License: GPL v2 or later Group: System/GUI/GNOME Autoreqprov: on PreReq: gconf2 Version: 1.0.1 -Release: 25 +Release: 39 +Requires: %{name}-lang = %{version} Summary: GNOME2 interface for gnupg Source: ftp://ftp.gnome.org/pub/gnome/sources/seahorse/%{name}-%{version}.tar.bz2 Patch2: %{name}-gpgme-version.patch @@ -60,6 +61,7 @@ Authors: Nate Nielsen Adam Schreiber +%lang_package %prep %setup %patch2 @@ -94,7 +96,9 @@ $RPM_BUILD_ROOT%{_prefix}/share/pixmaps/gnome-mime-application-pgp-keys.png rm $RPM_BUILD_ROOT%{_libdir}/nautilus/extensions-1.0/libnautilus-seahorse.*a %find_lang %{name} %find_gconf_schemas -cat %{name}.schemas_list %{name}.lang >%{name}.lst +cat %{name}.schemas_list >%{name}.lst + +%fdupes $RPM_BUILD_ROOT %pre -f %{name}.schemas_pre @@ -103,13 +107,13 @@ cat %{name}.schemas_list %{name}.lang >%{name}.lst %preun -f %{name}.schemas_preun %post -%run_ldconfig +/sbin/ldconfig if test -x usr/bin/update-mime-database ; then usr/bin/update-mime-database %{_prefix}/share/mime > /dev/null fi %postun -%run_ldconfig +/sbin/ldconfig if test -x usr/bin/update-mime-database ; then usr/bin/update-mime-database %{_prefix}/share/mime > /dev/null fi @@ -145,6 +149,8 @@ rm -rf $RPM_BUILD_ROOT %{_datadir}/seahorse %{_datadir}/mime/packages/seahorse.xml +%files lang -f %{name}.lang + %files devel %defattr(-,root,root) %{_libdir}/pkgconfig/*.pc @@ -152,6 +158,10 @@ rm -rf $RPM_BUILD_ROOT %{_includedir}/libcryptui/*.h %changelog +* Tue Aug 07 2007 - maw@suse.de +- Use %%fdupes +- Split off a -lang subpackage +- s#%%run_ldconfig#/sbin/ldconfig# in %%post and %%postun. * Fri Jun 22 2007 - maw@suse.de - s/gpg/gpg2/ in the buildreq - Add seahorse-gpg-version.patch to allow builds when only gpg2