rpms/bsh/devel bsh.spec,1.16,1.17

Permaine Cheung (pcheung) fedora-extras-commits at redhat.com
Mon Mar 10 14:00:26 UTC 2008


Author: pcheung

Update of /cvs/pkgs/rpms/bsh/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv30669

Modified Files:
	bsh.spec 
Log Message:
Fix bugzilla 436675. Separate menu entry into desktop subpackage.




Index: bsh.spec
===================================================================
RCS file: /cvs/pkgs/rpms/bsh/devel/bsh.spec,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- bsh.spec	6 Mar 2008 13:18:43 -0000	1.16
+++ bsh.spec	10 Mar 2008 13:59:44 -0000	1.17
@@ -32,7 +32,7 @@
 
 Name:           bsh
 Version:        1.3.0
-Release:        12jpp.2%{?dist}
+Release:        12jpp.3%{?dist}
 Epoch:          0
 Summary:        Lightweight Scripting for Java
 License:        LGPL
@@ -107,6 +107,14 @@
 %description demo
 Demonstrations and samples for %{name}.
 
+%package desktop
+Summary:        %{name} integration for the desktop
+Group:          Development/Java
+Requires:       %{name} = %{epoch}:%{version}-%{release}
+
+%description desktop
+Contains a menu entry for %{name}.
+
 %prep
 %setup -q -n BeanShell
 %patch0 -p1
@@ -274,11 +282,13 @@
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%post
+%post desktop
 touch --no-create %{_datadir}/icons/hicolor
 if [ -x %{_bindir}/gtk-update-icon-cache ] ; then
   %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor
 fi
+
+%post
 %update_maven_depmap
 %if %{gcj_support}
 if [ -x %{_bindir}/rebuild-gcj-db ]
@@ -288,11 +298,13 @@
 %endif
 exit 0
 
-%postun
+%postun desktop
 touch --no-create %{_datadir}/icons/hicolor
 if [ -x %{_bindir}/gtk-update-icon-cache ] ; then
   %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor
 fi
+
+%postun
 %update_maven_depmap
 %if %{gcj_support}
 if [ -x %{_bindir}/rebuild-gcj-db ]
@@ -306,12 +318,9 @@
 %defattr(-,root,root)
 %doc src/Changes.html src/License.txt src/README.txt
 %attr(0755,root,root) %{_bindir}/%{name}
-%attr(0755,root,root) %{_bindir}/%{name}-desktop
 %attr(0755,root,root) %{_bindir}/%{name}doc
 %{_javadir}/*
 %dir %{_datadir}/%{name}
-%{_datadir}/applications/*%{name}-desktop.desktop
-%{_datadir}/icons/hicolor/*x*/apps/%{name}.png
 %{_datadir}/%{name}/webapps
 %{_datadir}/maven2/poms/*
 %{_mavendepmapfragdir}
@@ -334,7 +343,15 @@
 %doc tests/README.txt tests/Interactive/README
 %{_datadir}/%{name}/*
 
+%files desktop
+%attr(0755,root,root) %{_bindir}/%{name}-desktop
+%{_datadir}/applications/*%{name}-desktop.desktop
+%{_datadir}/icons/hicolor/*x*/apps/%{name}.png
+
 %changelog
+* Mon Mar 10 2008 Permaine Cheung <pcheung at redhat.com> 0:1.3.0-12jpp.3
+- Fix bugzilla 436675. Separate menu entry into desktop subpackage.
+
 * Thu Mar 06 2008 Permaine Cheung <pcheung at redhat.com> 0:1.3.0-12jpp.2
 - Fix bugzilla 417491. Thanks Ville Skytta for the patch.
 - Add menu entry and startup script for bsh desktop.




More information about the fedora-extras-commits mailing list