aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2006-09-11 11:41:21 +0000
committerThierry Vignaud <tv@mandriva.org>2006-09-11 11:41:21 +0000
commit3b34f9aee6928be07e34eb0c92d8fc9385fa4ebb (patch)
treee7b6c5dc36b4d25ff91a2725cfd606a2326a44dc
parente47c5e16ffca8c407ec975ddfe39dd0c6c20fdd4 (diff)
downloadrpmdrake-3b34f9aee6928be07e34eb0c92d8fc9385fa4ebb.tar
rpmdrake-3b34f9aee6928be07e34eb0c92d8fc9385fa4ebb.tar.gz
rpmdrake-3b34f9aee6928be07e34eb0c92d8fc9385fa4ebb.tar.bz2
rpmdrake-3b34f9aee6928be07e34eb0c92d8fc9385fa4ebb.tar.xz
rpmdrake-3b34f9aee6928be07e34eb0c92d8fc9385fa4ebb.zip
add a menu entry for superuser mode (#25302)
-rw-r--r--rpmdrake.spec13
1 files changed, 11 insertions, 2 deletions
diff --git a/rpmdrake.spec b/rpmdrake.spec
index d1812fd4..60c0b989 100644
--- a/rpmdrake.spec
+++ b/rpmdrake.spec
@@ -71,7 +71,7 @@ cp %{name}.menu $RPM_BUILD_ROOT%{_menudir}/%{name}
mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications/
cat > $RPM_BUILD_ROOT%{_datadir}/applications/mandriva-rpmdrake.desktop << EOF
[Desktop Entry]
-Name=Install, Remove & Update Software
+Name=Browse Available Software
Comment=A graphical front end for installing, removing and updating packages
Exec=/usr/sbin/rpmdrake
Icon=/usr/share/icons/rpmdrake.png
@@ -79,6 +79,15 @@ Type=Application
Categories=GTK;X-MandrivaLinux-System-Configuration-Packaging;Settings;PackageManager;
EOF
+cat > $RPM_BUILD_ROOT%{_datadir}/applications/mandriva-rpmdrake-root.desktop << EOF
+[Desktop Entry]
+Name=Install, Remove & Update Software
+Comment=A graphical front end for installing, removing and updating packages
+Exec=/usr/bin/drakconf --start-with="Install Software"
+Icon=/usr/share/icons/rpmdrake.png
+Type=Application
+Categories=GTK;X-MandrivaLinux-System-Configuration-Packaging;Settings;PackageManager;
+EOF
mkdir -p $RPM_BUILD_ROOT{%{_miconsdir},%{_liconsdir}}
for i in rpmdrake rpmdrake-remove mandrivaupdate edit-urpm-sources; do
@@ -113,7 +122,7 @@ rm -rf $RPM_BUILD_ROOT
%{_datadir}/%{name}
%{perl_vendorlib}/*.pm
%{_menudir}/%{name}
-%{_datadir}/applications/mandriva-rpmdrake.desktop
+%{_datadir}/applications/mandriva-*.desktop
%{_iconsdir}/*.png
%{_miconsdir}/*.png
%{_liconsdir}/*.png