aboutsummaryrefslogtreecommitdiffstats
path: root/rpmdrake.spec
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2006-08-23 11:06:03 +0000
committerThierry Vignaud <tv@mandriva.org>2006-08-23 11:06:03 +0000
commit9d1d4ff7b4a2e588c09513ec69efd7eee391dba2 (patch)
tree93d703245b04722a396f727dfc3c12f22a540071 /rpmdrake.spec
parent4f61b8cc2d5e538b749ddcc4e96c5b25cfcc7c32 (diff)
downloadrpmdrake-9d1d4ff7b4a2e588c09513ec69efd7eee391dba2.tar
rpmdrake-9d1d4ff7b4a2e588c09513ec69efd7eee391dba2.tar.gz
rpmdrake-9d1d4ff7b4a2e588c09513ec69efd7eee391dba2.tar.bz2
rpmdrake-9d1d4ff7b4a2e588c09513ec69efd7eee391dba2.tar.xz
rpmdrake-9d1d4ff7b4a2e588c09513ec69efd7eee391dba2.zip
add (one) XDG menu entry
Diffstat (limited to 'rpmdrake.spec')
-rw-r--r--rpmdrake.spec11
1 files changed, 11 insertions, 0 deletions
diff --git a/rpmdrake.spec b/rpmdrake.spec
index 90666980..cc573700 100644
--- a/rpmdrake.spec
+++ b/rpmdrake.spec
@@ -68,6 +68,17 @@ install -m 644 rpmdrake.pm $RPM_BUILD_ROOT/%{perl_vendorlib}
mkdir -p $RPM_BUILD_ROOT%{_menudir}
cp %{name}.menu $RPM_BUILD_ROOT%{_menudir}/%{name}
+cat > $RPM_BUILD_ROOT%{_datadir}/applications/mandriva-net_applet.desktop << EOF
+[Desktop Entry]
+Name=Install, Remove & Update Software
+Comment=A graphical front end for installing, removing and updating packages
+Exec=/usr/sbin/rpmdrake
+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
cp pixmaps/${i}16.png $RPM_BUILD_ROOT%{_miconsdir}/${i}.png