Browse Source

add Obsoletes and Provides

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@6941 ec354946-7b23-47d6-9f5a-488ba84defc7
Takemikaduchi 11 years ago
parent
commit
e092193664
1 changed files with 14 additions and 4 deletions
  1. 14 4
      s/seahorse-nautilus/seahorse-nautilus-vl.spec

+ 14 - 4
s/seahorse-nautilus/seahorse-nautilus-vl.spec

@@ -1,7 +1,7 @@
 Summary:	PGP encryption and signing for nautilus
 Name:		seahorse-nautilus
 Version:	3.6.0
-Release:	1%{?_dist_release}
+Release:	2%{?_dist_release}
 License:	GPL2
 Group:		Applications/Accessories
 URL:		http://projects.gnome.org/seahorse/
@@ -21,6 +21,11 @@ Requires(postun,posttrans):	glib2
 Requires(postun,posttrans):	desktop-file-utils
 
 Obsoletes:	seahorse-plugins < 3.0
+Obsoletes:	seahorse-plugins-applet < 3.0
+Obsoletes:	seahorse-plugins-gedit < 3.0
+Obsoletes:	seahorse-plugins-nautilus < 3.0
+
+Provides:	seahorse-plugins-nautilus = %{version}-%{release}
 
 Vendor:		Project Vine
 Distribution:	Vine Linux
@@ -40,8 +45,10 @@ and decryption of OpenPGP files using GnuPG
 make %{?_smp_mflags}
 
 %install
-rm -rf ${RPM_BUILD_ROOT}
-make install DESTDIR=${RPM_BUILD_ROOT}
+rm -rf $RPM_BUILD_ROOT
+make install DESTDIR=$RPM_BUILD_ROOT
+
+rm -f $RPM_BUILD_ROOT%{_datadir}/glib-2.0/schemas/org.gnome.seahorse.nautilus.window.gschema.xml
 
 %find_lang %{name}
 
@@ -71,11 +78,14 @@ update-desktop-database -q &> /dev/null || :
 %{_datadir}/applications/seahorse-pgp-keys.desktop
 %{_datadir}/applications/seahorse-pgp-signature.desktop
 %{_datadir}/glib-2.0/schemas/org.gnome.seahorse.nautilus.gschema.xml
-%{_datadir}/glib-2.0/schemas/org.gnome.seahorse.nautilus.window.gschema.xml
 %{_datadir}/%{name}
 %{_mandir}/man1/seahorse-tool.1.gz
 
 %changelog
+* Mon Oct 15 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.0-2
+- add Obsoletes: seahorse-plugins-applet,gedit,nautilus}
+- add Provides: seahorse-plugins-nautilus
+
 * Sun Oct 14 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.0-1
 - initial build