aboutsummaryrefslogtreecommitdiffstats
path: root/rpmdrake.spec
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2004-10-21 10:36:41 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2004-10-21 10:36:41 +0000
commitd17687012dc2a3ca360fcbf0d80866680aa02362 (patch)
tree2ffaed59ec74ad2d6295b9ecdfe3764f3895d556 /rpmdrake.spec
parent582f47a784e872fb3e076203650e683ee9ee1cd6 (diff)
downloadrpmdrake-d17687012dc2a3ca360fcbf0d80866680aa02362.tar
rpmdrake-d17687012dc2a3ca360fcbf0d80866680aa02362.tar.gz
rpmdrake-d17687012dc2a3ca360fcbf0d80866680aa02362.tar.bz2
rpmdrake-d17687012dc2a3ca360fcbf0d80866680aa02362.tar.xz
rpmdrake-d17687012dc2a3ca360fcbf0d80866680aa02362.zip
Get the menu file out of the spec file
Diffstat (limited to 'rpmdrake.spec')
-rw-r--r--rpmdrake.spec19
1 files changed, 1 insertions, 18 deletions
diff --git a/rpmdrake.spec b/rpmdrake.spec
index 77d8d89f..abccc93a 100644
--- a/rpmdrake.spec
+++ b/rpmdrake.spec
@@ -64,24 +64,7 @@ install -m 644 rpmdrake.pm $RPM_BUILD_ROOT/%{perl_vendorlib}
%find_lang rpmdrake
mkdir -p $RPM_BUILD_ROOT%{_menudir}
-cat > $RPM_BUILD_ROOT%{_menudir}/%{name} << EOF
-?package(%{name}): command="/usr/sbin/rpmdrake" needs="x11" section="Configuration/Packaging" icon="rpmdrake.png" \
- title="Browse Available Software" longtitle="A graphical front end for browsing available packages for installation (no root password needed)"
-?package(%{name}): command="/usr/sbin/rpmdrake --root" needs="x11" section="Configuration/Packaging" icon="rpmdrake.png" \
- title="Install Software" longtitle="A graphical front end for installing packages"
-?package(%{name}): command="/usr/sbin/rpmdrake-remove --root" needs="x11" section="Configuration/Packaging" icon="rpmdrake-remove.png" \
- title="Remove Software" longtitle="A graphical front end for removing packages"
-?package(%{name}): command="/usr/sbin/MandrakeUpdate" needs="x11" section="Configuration/Packaging" icon="mandrakeupdate.png" \
- title="Mandrakelinux Update" longtitle="A graphical front end for software updates"
-?package(%{name}): command="/usr/sbin/edit-urpm-media" needs="x11" section="Configuration/Packaging" icon="edit-urpm-sources.png" \
- title="Software Media Manager" longtitle="A graphical front end to add/remove/edit media for installing packages"
-?package(%{name}): command="/usr/sbin/gurpmi.addmedia" needs="gnome" section=".hidden" \
- title="Medium installer" mimetypes="application/x-urpmi-media" \
- longtitle="A graphical front end for adding media"
-?package(%{name}): command="/usr/sbin/gurpmi.addmedia" needs="kde" section=".hidden" InitialPreference="9" \
- title="Medium installer" mimetypes="application/x-urpmi-media" \
- longtitle="A graphical front end for adding media"
-EOF
+cp %{name}.menu $RPM_BUILD_ROOT%{_menudir}/%{name}
mkdir -p $RPM_BUILD_ROOT{%{_miconsdir},%{_liconsdir}}
for i in rpmdrake rpmdrake-remove mandrakeupdate edit-urpm-sources; do
cp pixmaps/${i}16.png $RPM_BUILD_ROOT%{_miconsdir}/${i}.png