rpms/sshmenu/devel sshmenu.spec,1.5,1.6

Matthias Saou thias at fedoraproject.org
Tue Dec 8 18:50:30 UTC 2009


Author: thias

Update of /cvs/extras/rpms/sshmenu/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv17517

Modified Files:
	sshmenu.spec 
Log Message:
Disable the gnome-applet-sshmenu sub-package on RHEL (#463022).



Index: sshmenu.spec
===================================================================
RCS file: /cvs/extras/rpms/sshmenu/devel/sshmenu.spec,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -p -r1.5 -r1.6
--- sshmenu.spec	8 Dec 2009 18:23:05 -0000	1.5
+++ sshmenu.spec	8 Dec 2009 18:50:30 -0000	1.6
@@ -3,7 +3,7 @@
 Summary: Application to organize SSH connection information in a menu
 Name: sshmenu
 Version: 3.18
-Release: 1%{?dist}
+Release: 2%{?dist}
 License: BSD
 Group: User Interface/Desktops
 URL: http://sshmenu.sourceforge.net/
@@ -50,6 +50,15 @@ keeps all your regular SSH connections w
 %{__rm} -rf %{buildroot}
 %{__make} install DESTDIR=%{buildroot}
 
+# On RHEL we are missing libs to get the gnome applet working (#463022)
+%if 0%{?rhel}
+%{__rm} -rf %{buildroot}%{_bindir}/sshmenu-gnome
+%{__rm} -rf %{buildroot}%{_prefix}/lib/bonobo/
+%{__rm} -rf %{buildroot}%{ruby_sitelib}/gnome-sshmenu.rb
+%{__rm} -rf %{buildroot}%{_libexecdir}/sshmenu-applet
+%{__rm} -rf %{buildroot}%{_datadir}/icons/
+%endif
+
 
 %clean
 %{__rm} -rf %{buildroot}
@@ -76,15 +85,22 @@ fi
 %{ruby_sitelib}/sshmenu.rb
 %{_mandir}/man1/sshmenu.1*
 
+
+# On RHEL we are missing libs to get the gnome applet working (#463022)
+%if 0%{!?rhel:1}
 %files -n gnome-applet-sshmenu
 %{_bindir}/sshmenu-gnome
 %{_prefix}/lib/bonobo/servers/sshmenu-applet.server
 %{ruby_sitelib}/gnome-sshmenu.rb
 %{_libexecdir}/sshmenu-applet
 %{_datadir}/icons/hicolor/48x48/apps/gnome-sshmenu-applet.png
+%endif
 
 
 %changelog
+* Tue Dec  8 2009 Matthias Saou <http://freshrpms.net/> 3.18-2
+- Disable the gnome-applet-sshmenu sub-package on RHEL (#463022).
+
 * Tue Dec  8 2009 Matthias Saou <http://freshrpms.net/> 3.18-1
 - Update to 3.18.
 - Rebased both patches for the Makefile changes.




More information about the scm-commits mailing list