summaryrefslogtreecommitdiffstats
path: root/mdkonline.spec
diff options
context:
space:
mode:
authorDaouda Lo <daouda@mandriva.com>2006-02-14 15:28:23 +0000
committerDaouda Lo <daouda@mandriva.com>2006-02-14 15:28:23 +0000
commit4c91c1c55d5539c903f5a6a914fe7e31a365e4a1 (patch)
tree86d308cb1ba556fea73ffd2a7f67fee107809838 /mdkonline.spec
parent11f1b2a7ef6a3f371c1526c96f5388c06b15be30 (diff)
downloadmgaonline-4c91c1c55d5539c903f5a6a914fe7e31a365e4a1.tar
mgaonline-4c91c1c55d5539c903f5a6a914fe7e31a365e4a1.tar.gz
mgaonline-4c91c1c55d5539c903f5a6a914fe7e31a365e4a1.tar.bz2
mgaonline-4c91c1c55d5539c903f5a6a914fe7e31a365e4a1.tar.xz
mgaonline-4c91c1c55d5539c903f5a6a914fe7e31a365e4a1.zip
- mimetype association between bundle and mdkupdate
Diffstat (limited to 'mdkonline.spec')
-rw-r--r--mdkonline.spec20
1 files changed, 11 insertions, 9 deletions
diff --git a/mdkonline.spec b/mdkonline.spec
index ad4bd442..ae696422 100644
--- a/mdkonline.spec
+++ b/mdkonline.spec
@@ -61,16 +61,17 @@ chmod +x $RPM_BUILD_ROOT%_sysconfdir/X11/xinit.d/mdkapplet
#install menu
mkdir -p $RPM_BUILD_ROOT%{_menudir}
-cat > $RPM_BUILD_ROOT%{_menudir}/%{name} << EOF
-?package(%{name}):\
-needs="x11" \
-icon="mdkonline.png" \
-section="Configuration/Other" \
-title="Mandriva Online" \
-longtitle="Wizard for update service subscription" \
-command="/usr/sbin/mdkonline"
+cat > %{buildroot}%{_menudir}/%{name} <<EOF
+?package(%{name}): needs="x11" command="%{_sbindir}/%{name}" section="Configuration/Other" icon="mdkonline.png" title="Mandriva Online" longtitle="Wizard for update service subscription"
+?package(%{name}): command="%{_sbindir}/mdkupdate --bundle %%F" needs="kde" kde_opt="InitialPreference=15" section=".hidden" mimetypes="application/x-mdv-exec" title="Online Bundle" longtitle="Mandriva Linux bundle handler" multiple_files="true"
+?package(%{name}): command="%{_sbindir}/mdkupdate --bundle" needs="gnome" section=".hidden" mimetypes="application/x-mdv-exec" title="Online Bundle" longtitle="Mandriva Linux bundle handler" multiple_files="true"
EOF
+mkdir -p $RPM_BUILD_ROOT%{_datadir}/mime-info
+cat << EOF > $RPM_BUILD_ROOT%{_datadir}/mime-info/Online \ bundle.mime
+application/x-mdv-exec
+ ext: bundle
+EOF
#install menu icon
%post
@@ -114,7 +115,8 @@ rm -rf $RPM_BUILD_ROOT
# http://www.mandrivalinux.com/en/cvs.php3)
%changelog
-* Fri Feb 10 2006 Daouda LO <daouda@mandriva.com> 2.0-0.1mdk
+* Tue Feb 14 2006 Daouda LO <daouda@mandriva.com> 2.0-0.1mdk
+- mimetype association between bundle and mdkupdate
- Mandriva Online V3
- extra package installation and update capabilities