diff options
author | Frederic Crozat <fcrozat@mandriva.com> | 2002-08-30 09:16:32 +0000 |
---|---|---|
committer | Frederic Crozat <fcrozat@mandriva.com> | 2002-08-30 09:16:32 +0000 |
commit | 585ace5877aa6d1c704d0a62be029581f3423200 (patch) | |
tree | 487d03013828357549cdbe591d458e932a3cc89c /urpmi.spec | |
parent | c622d4fa2497cd43f5f1fd748c07e2918b4de5a6 (diff) | |
download | urpmi-585ace5877aa6d1c704d0a62be029581f3423200.tar urpmi-585ace5877aa6d1c704d0a62be029581f3423200.tar.gz urpmi-585ace5877aa6d1c704d0a62be029581f3423200.tar.bz2 urpmi-585ace5877aa6d1c704d0a62be029581f3423200.tar.xz urpmi-585ace5877aa6d1c704d0a62be029581f3423200.zip |
Add support for application/x-rpm mimetype for gurpmi
Diffstat (limited to 'urpmi.spec')
-rw-r--r-- | urpmi.spec | 28 |
1 files changed, 25 insertions, 3 deletions
@@ -2,7 +2,7 @@ Name: urpmi Version: 4.0 -Release: 9mdk +Release: 10mdk License: GPL Source0: %{name}.tar.bz2 Source1: %{name}.logrotate @@ -22,7 +22,7 @@ You can compare rpm vs. urpmi with insmod vs. modprobe %package -n gurpmi Summary: User mode rpm GUI install -Requires: urpmi grpmi gchooser gmessage +Requires: urpmi grpmi gchooser gmessage consolehelper menu Group: %{group} %description -n gurpmi gurpmi is a graphical front-end to urpmi @@ -94,6 +94,21 @@ cd $RPM_BUILD_ROOT%{_bindir} ; mv -f rpm-find-leaves urpmi_rpm-find-leaves mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/ install -m 644 %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/urpmi +mkdir -p $RPM_BUILD_ROOT%{_menudir} +cat << EOF > $RPM_BUILD_ROOT%{_menudir}/gurpmi +?package(gurpmi): command="%{_bindir}/gurpmi" needs="gnome" section=".hidden" \ +section=".hidden" \ +title="Software installer" longtitle="Graphical front end to install RPM files" \ +mimetypes="application/x-rpm" \ +multiple_files="true" +?package(gurpmi): command="%{_bindir}/gurpmi" needs="kde" section=".hidden" \ +section=".hidden" \ +title="Software installer" longtitle="Graphical front end to install RPM files" \ +mimetypes="application/x-rpm" \ +multiple_files="true" +EOF + + %find_lang %{name} %clean @@ -152,7 +167,10 @@ fi %files -n gurpmi %defattr(-,root,root) -/usr/X11R6/bin/gurpmi +%{_sbindir}/gurpmi +%{_bindir}/gurpmi +%{_menudir}/gurpmi + #%files -n autoirpm #%defattr(-,root,root) @@ -178,6 +196,10 @@ fi %changelog +* Fri Aug 30 2002 Frederic Crozat <fcrozat@mandrakesoft.com> 4.0-10mdk +- (fcrozat) Move gurpmi to /usr/sbin and add consolehelper support for it + and register it to handle application/x-rpm mimetype. + * Thu Aug 29 2002 François Pons <fpons@mandrakesoft.com> 4.0-9mdk - added --list-nodes to list nodes used when in parallel mode. - moved some initialisation for parallel mode to allow user |