Mailinglist Archive: yast-commit (815 mails)

< Previous Next >
[yast-commit] r39859 - in /branches/tmp/mvidner/metapackage: Makefile kdeymp.desktop package/yast2-metapackage-handler.changes package/yast2-metapackage-handler.spec x-suse-ymp.desktop
  • From: mvidner@xxxxxxxxxxxxxxxx
  • Date: Wed, 01 Aug 2007 08:49:41 -0000
  • Message-id: <20070801084941.DDFD726888@xxxxxxxxxxxxxxxx>
Author: mvidner
Date: Wed Aug  1 10:49:41 2007
New Revision: 39859

URL: http://svn.opensuse.org/viewcvs/yast?rev=39859&view=rev
Log:
>From adrian:
* add mimetype desktop files for distros before 10.3.
  This package gets builded in OBS openSUSE:Tools project for these
  from now on.
* Add generic requirement to /usr/bin/xdg-su , otherwise the tool
  fails installing

Added:
    branches/tmp/mvidner/metapackage/kdeymp.desktop
    branches/tmp/mvidner/metapackage/x-suse-ymp.desktop
Modified:
    branches/tmp/mvidner/metapackage/Makefile
    branches/tmp/mvidner/metapackage/package/yast2-metapackage-handler.changes
    branches/tmp/mvidner/metapackage/package/yast2-metapackage-handler.spec

Modified: branches/tmp/mvidner/metapackage/Makefile
URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/mvidner/metapackage/Makefile?rev=39859&r1=39858&r2=39859&view=diff
==============================================================================
--- branches/tmp/mvidner/metapackage/Makefile (original)
+++ branches/tmp/mvidner/metapackage/Makefile Wed Aug  1 10:49:41 2007
@@ -8,6 +8,8 @@
  MetaPackageUrlHandler.ycp \
  MetaPackageWorker.ycp \
  README \
+ kdeymp.desktop \
+ x-suse-ymp.desktop \
  tuxsaver.html \
  tuxsaver.ymp
 

Added: branches/tmp/mvidner/metapackage/kdeymp.desktop
URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/mvidner/metapackage/kdeymp.desktop?rev=39859&view=auto
==============================================================================
--- branches/tmp/mvidner/metapackage/kdeymp.desktop (added)
+++ branches/tmp/mvidner/metapackage/kdeymp.desktop Wed Aug  1 10:49:41 2007
@@ -0,0 +1,12 @@
+[Desktop Entry]
+X-SuSE-translate=false
+Exec=/sbin/yast2 MetaPackageHandler %U
+InitialPreference=2
+MimeType=text/x-suse-ymp
+Name=yast2
+StartupNotify=false
+Terminal=false
+Type=Application
+X-KDE-SubstituteUID=false
+X-KDE-StartupNotify=false
+

Modified: branches/tmp/mvidner/metapackage/package/yast2-metapackage-handler.changes
URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/mvidner/metapackage/package/yast2-metapackage-handler.changes?rev=39859&r1=39858&r2=39859&view=diff
==============================================================================
--- branches/tmp/mvidner/metapackage/package/yast2-metapackage-handler.changes (original)
+++ branches/tmp/mvidner/metapackage/package/yast2-metapackage-handler.changes Wed Aug  1 10:49:41 2007
@@ -1,4 +1,12 @@
 -------------------------------------------------------------------
+Wed Aug  1 10:48:01 CEST 2007 - mvidner@xxxxxxx
+
+- Add mimetype desktop files for distros before 10.3 (in OBS
+  openSUSE:Tools) (adrian)
+- Require /usr/bin/xdg-su (adrian)
+- 0.4.1
+
+-------------------------------------------------------------------
 Mon Jul 23 13:14:03 CEST 2007 - mvidner@xxxxxxx
 
 - Mime type changed from text/ymu to text/x-suse-ymu (#292715).

Modified: branches/tmp/mvidner/metapackage/package/yast2-metapackage-handler.spec
URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/mvidner/metapackage/package/yast2-metapackage-handler.spec?rev=39859&r1=39858&r2=39859&view=diff
==============================================================================
--- branches/tmp/mvidner/metapackage/package/yast2-metapackage-handler.spec (original)
+++ branches/tmp/mvidner/metapackage/package/yast2-metapackage-handler.spec Wed Aug  1 10:49:41 2007
@@ -3,7 +3,7 @@
 %define _prefix        /usr
 
 Name:                          yast2-metapackage-handler
-Version:                       0.4
+Version:                       0.4.1
 Release:                       0.suse%(echo "%{suse_version}" | %__sed -e 's/.$//')
 Summary:                       YaST2 MetaPackage Parser
 Source:                        mp.tar.gz
@@ -15,6 +15,8 @@
 Requires:              yast2-packager perl-XML-Simple
 # LWP::Simple, Net::HTTP
 Requires:              perl-libwww-perl
+# needed at runtime for invoking root mode
+Requires:              /usr/bin/xdg-su
 
 %description
 YaST2 MetaPackage Parser.
@@ -33,6 +35,16 @@
 %__install -m0644 MetaPackageParser.pm "%{buildroot}%{_datadir}/YaST2/modules/"
 %__install -d "%{buildroot}%{_datadir}/YaST2/clients"
 %__install -m0644 *.ycp "%{buildroot}%{_datadir}/YaST2/clients/"
+%if %suse_version <= 1020
+mkdir -p $RPM_BUILD_ROOT/opt/kde3/share/applnk/.hidden/
+mkdir -p $RPM_BUILD_ROOT/opt/kde3/share/mimelnk/text/
+chmod -R 0755 $RPM_BUILD_ROOT/opt/kde3
+install -m 0644 kdeymp.desktop \
+        $RPM_BUILD_ROOT/opt/kde3/share/applnk/.hidden/
+install -m 0644 x-suse-ymp.desktop \
+        $RPM_BUILD_ROOT/opt/kde3/share/mimelnk/text/
+%endif
+
 
 %clean
 %__rm -rf "%{buildroot}"
@@ -45,6 +57,9 @@
 %{_datadir}/YaST2/modules/MetaPackageParser.pm
 %dir %{_datadir}/YaST2/clients
 %{_datadir}/YaST2/clients/*.ycp
+%if %suse_version <= 1020
+/opt/kde3
+%endif
 
 # Local Variables:
 # mode: rpm-spec

Added: branches/tmp/mvidner/metapackage/x-suse-ymp.desktop
URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/mvidner/metapackage/x-suse-ymp.desktop?rev=39859&view=auto
==============================================================================
--- branches/tmp/mvidner/metapackage/x-suse-ymp.desktop (added)
+++ branches/tmp/mvidner/metapackage/x-suse-ymp.desktop Wed Aug  1 10:49:41 2007
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Comment=Yast Meta Package
+Hidden=false
+Icon=YaST
+MimeType=text/x-suse-ymp
+Patterns=*.ymp
+Type=MimeType
+
+X-SuSE-translate=true

--
To unsubscribe, e-mail: yast-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages