summaryrefslogtreecommitdiffstats
path: root/urpmi.spec
diff options
context:
space:
mode:
authorFrederic Crozat <fcrozat@mandriva.com>2002-08-30 09:16:32 +0000
committerFrederic Crozat <fcrozat@mandriva.com>2002-08-30 09:16:32 +0000
commit585ace5877aa6d1c704d0a62be029581f3423200 (patch)
tree487d03013828357549cdbe591d458e932a3cc89c /urpmi.spec
parentc622d4fa2497cd43f5f1fd748c07e2918b4de5a6 (diff)
downloadurpmi-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.spec28
1 files changed, 25 insertions, 3 deletions
diff --git a/urpmi.spec b/urpmi.spec
index d320aae2..29802815 100644
--- a/urpmi.spec
+++ b/urpmi.spec
@@ -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