[yast-commit] r40711 - in /trunk/metapackage: src/Makefile.am src/yast2-metapackage-handler-ymu.desktop src/yast2-metapackage-handler.desktop yast2-metapackage-handler.spec.in
Author: mvidner Date: Mon Sep 3 15:20:39 2007 New Revision: 40711 URL: http://svn.opensuse.org/viewcvs/yast?rev=40711&view=rev Log: Also added *.ymu association. Made the desktop files pass the checks (thx Beineri). Added: trunk/metapackage/src/yast2-metapackage-handler-ymu.desktop Modified: trunk/metapackage/src/Makefile.am trunk/metapackage/src/yast2-metapackage-handler.desktop trunk/metapackage/yast2-metapackage-handler.spec.in Modified: trunk/metapackage/src/Makefile.am URL: http://svn.opensuse.org/viewcvs/yast/trunk/metapackage/src/Makefile.am?rev=40711&r1=40710&r2=40711&view=diff ============================================================================== --- trunk/metapackage/src/Makefile.am (original) +++ trunk/metapackage/src/Makefile.am Mon Sep 3 15:20:39 2007 @@ -20,7 +20,7 @@ # overrides devtools desktopdir = $(datadir)/applications -desktop_DATA = yast2-metapackage-handler.desktop +desktop_DATA = yast2-metapackage-handler.desktop yast2-metapackage-handler-ymu.desktop EXTRA_DIST = $(client_DATA) $(module_DATA) $(old_distro_Data) $(mime_DATA) $(desktop_DATA) Added: trunk/metapackage/src/yast2-metapackage-handler-ymu.desktop URL: http://svn.opensuse.org/viewcvs/yast/trunk/metapackage/src/yast2-metapackage-handler-ymu.desktop?rev=40711&view=auto ============================================================================== --- trunk/metapackage/src/yast2-metapackage-handler-ymu.desktop (added) +++ trunk/metapackage/src/yast2-metapackage-handler-ymu.desktop Mon Sep 3 15:20:39 2007 @@ -0,0 +1,15 @@ +# to ${PREFIX-~/.local}/share/applications +[Desktop Entry] +Encoding=UTF-8 +Name=YaST Meta Package Handler +GenericName=Meta Package Handler +Comment=Install packages without manually adding repositories +Exec=/sbin/OneClickInstallUrlHandler %f +Terminal=false +MultipleArgs=false +Type=Application +MimeType=text/x-suse-ymu +Categories=SystemSetup +# thx Beineri +Hidden=True +X-KDE-StartupNotify=false Modified: trunk/metapackage/src/yast2-metapackage-handler.desktop URL: http://svn.opensuse.org/viewcvs/yast/trunk/metapackage/src/yast2-metapackage-handler.desktop?rev=40711&r1=40710&r2=40711&view=diff ============================================================================== --- trunk/metapackage/src/yast2-metapackage-handler.desktop (original) +++ trunk/metapackage/src/yast2-metapackage-handler.desktop Mon Sep 3 15:20:39 2007 @@ -4,11 +4,12 @@ Name=YaST Meta Package Handler GenericName=Meta Package Handler Comment=Install packages without manually adding repositories -# TODO also create desktop for ymu Exec=/sbin/OneClickInstallUI %f Terminal=false MultipleArgs=false Type=Application -Icon=YaST -Categories=Application;Network MimeType=text/x-suse-ymp +Categories=SystemSetup +# thx Beineri +Hidden=True +X-KDE-StartupNotify=false Modified: trunk/metapackage/yast2-metapackage-handler.spec.in URL: http://svn.opensuse.org/viewcvs/yast/trunk/metapackage/yast2-metapackage-handler.spec.in?rev=40711&r1=40710&r2=40711&view=diff ============================================================================== --- trunk/metapackage/yast2-metapackage-handler.spec.in (original) +++ trunk/metapackage/yast2-metapackage-handler.spec.in Mon Sep 3 15:20:39 2007 @@ -14,6 +14,8 @@ BuildRequires: yast2 BuildRequires: yast2-country BuildRequires: yast2-installation +# desktop files +BuildRequires: update-desktop-files Requires: yast2-perl-bindings Requires: perl-XML-XPath @@ -48,6 +50,8 @@ install -m 0644 src/x-suse-ymp.desktop \ $RPM_BUILD_ROOT/opt/kde3/share/mimelnk/text/ %endif +%suse_update_desktop_file yast2-metapackage-handler +%suse_update_desktop_file yast2-metapackage-handler-ymu @CLEAN@ @@ -65,3 +69,5 @@ %if %suse_version <= 1020 /opt/kde3 %endif +%{_datadir}/mime/packages/*.xml +%{_datadir}/applications/yast2-metapackage-handler*.desktop -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
mvidner@svn.opensuse.org