rpms/beesu/devel .cvsignore, 1.4, 1.5 beesu.spec, 1.4, 1.5 sources, 1.4, 1.5

Tom Callaway spot at fedoraproject.org
Thu Apr 9 18:03:03 UTC 2009


Author: spot

Update of /cvs/pkgs/rpms/beesu/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv457/devel

Modified Files:
	.cvsignore beesu.spec sources 
Log Message:
add nautilus-beesu-manager subpackage


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/beesu/devel/.cvsignore,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- .cvsignore	30 Mar 2009 20:22:39 -0000	1.4
+++ .cvsignore	9 Apr 2009 18:02:33 -0000	1.5
@@ -1 +1,2 @@
 beesu-2.3.tar.bz2
+nautilus-beesu-manager-1.0.tar.bz2


Index: beesu.spec
===================================================================
RCS file: /cvs/pkgs/rpms/beesu/devel/beesu.spec,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- beesu.spec	30 Mar 2009 20:22:39 -0000	1.4
+++ beesu.spec	9 Apr 2009 18:02:33 -0000	1.5
@@ -1,11 +1,14 @@
+%global nbmversion 1.0
+
 Name: beesu
 Version: 2.3
-Release: 1%{?dist}
-Summary: Bee's installer script for beesu
+Release: 2%{?dist}
+Summary: Graphical wrapper for su
 URL: http://www.honeybeenet.altervista.org
 Group: Applications/System
 License: GPLv2+
 Source0: http://spot.fedorapeople.org/%{name}/%{name}-%{version}.tar.bz2
+Source1: http://honeybeenet.altervista.org/beesu/files/beesu-manager/nautilus-beesu-manager-%{nbmversion}.tar.bz2
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
 Requires: pam, usermode
 
@@ -13,8 +16,20 @@
 Beesu is a wrapper around su and works with consolehelper under
 Fedora to let you have a graphic interface like gksu.
 
+%package -n nautilus-beesu-manager
+Version:	%{nbmversion}
+BuildArch:	noarch
+Requires:	beesu, zenity, nautilus
+Group:		User Interface/Desktops
+Summary:	Utility to add beesu scripts to nautilus
+
+%description -n nautilus-beesu-manager
+nautilus-beesu-manager is a little utility to add some useful scripts
+to the Nautilus file browser; nautilus-beesu-manager can add scripts
+to Nautilus using beesu to elevate the user's privileges to root.
+
 %prep
-%setup -q
+%setup -q -a1
 
 %build
 make CFLAGS="%{optflags}"
@@ -25,9 +40,37 @@
 
 make DESTDIR=%{buildroot} install
 
+#nbm
+pushd nautilus-beesu-manager-%{nbmversion}
+mkdir -v -p %{buildroot}%{_datadir}/icons/hicolor/32x32/apps/
+mkdir -v -p %{buildroot}%{_datadir}/applications/
+install -p -m 755 nautilus-beesu-manager %{buildroot}%{_bindir}
+install -p -m 644 nautilus-beesu-manager.png %{buildroot}%{_datadir}/icons/hicolor/32x32/apps/
+desktop-file-install --dir %{buildroot}%{_datadir}/applications --mode 0644 nautilus-beesu-manager.desktop
+popd
+
 %clean
 rm -rf %{buildroot}
 
+%post -n nautilus-beesu-manager
+touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
+update-desktop-database &> /dev/null ||:
+
+%postun -n nautilus-beesu-manager
+if [ $1 -eq 0 ] ; then
+    touch --no-create %{_datadir}/icons/hicolor &>/dev/null
+    if [ -x %{_bindir}/gtk-update-icon-cache ]; then
+	gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
+    fi
+fi
+update-desktop-database &>/dev/null || :
+
+%posttrans -n nautilus-beesu-manager
+if [ -x %{_bindir}/gtk-update-icon-cache ]; then
+    gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
+fi
+
+
 %files
 %defattr(-,root,root,-)
 %doc COPYING README
@@ -39,7 +82,17 @@
 %{_bindir}/%{name}
 %{_mandir}/man1/%{name}.1.gz
 
+%files -n nautilus-beesu-manager
+%defattr(-,root,root,-)
+%doc nautilus-beesu-manager-%{nbmversion}/COPYING nautilus-beesu-manager-%{nbmversion}/README
+%{_bindir}/nautilus-beesu-manager
+%{_datadir}/applications/*.desktop
+%{_datadir}/icons/hicolor/32x32/apps/nautilus-beesu-manager.png 
+
 %changelog
+* Thu Apr  9 2009 Tom "spot" Callaway <tcallawa at redhat.com> 2.3-2
+- enable nautilus-beesu-manager subpackage
+
 * Mon Mar 30 2009 Tom "spot" Callaway <tcallawa at redhat.com> 2.3-1
 - Update to 2.3
 


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/beesu/devel/sources,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- sources	30 Mar 2009 20:22:39 -0000	1.4
+++ sources	9 Apr 2009 18:02:33 -0000	1.5
@@ -1 +1,2 @@
 71cccc332aabe321cf4747cf9f7bf532  beesu-2.3.tar.bz2
+f188742dd8f6ae8832c4f06c8ec23af1  nautilus-beesu-manager-1.0.tar.bz2




More information about the fedora-extras-commits mailing list