SPECS: yumex.spec - separate desktop files for kde and gtk

patrys patrys at pld-linux.org
Wed May 23 20:36:29 CEST 2007


Author: patrys                       Date: Wed May 23 18:36:29 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- separate desktop files for kde and gtk

---- Files affected:
SPECS:
   yumex.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SPECS/yumex.spec
diff -u SPECS/yumex.spec:1.1 SPECS/yumex.spec:1.2
--- SPECS/yumex.spec:1.1	Wed May 23 20:10:27 2007
+++ SPECS/yumex.spec	Wed May 23 20:36:24 2007
@@ -7,11 +7,13 @@
 Group:		Applications/System
 Source0:	http://www.yum-extender.org/dnl/yumex/source/%{name}-%{version}.tar.gz
 # Source0-md5:	d48a858c5dfb307c724a2c2c2bcc4e00
+Source1:	%{name}-gtk.desktop
+Source2:	%{name}-kde.desktop
 Patch0:		%{name}-yum-config.patch
 Patch1:		%{name}-gnomesu.patch
 URL:		http://www.yum-extender.org/
 BuildRequires:	gettext-devel
-Requires:	gnomesu
+Requires:	gksu
 Requires:	yum
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -36,6 +38,8 @@
 
 rm $RPM_BUILD_ROOT%{_bindir}/yumex
 ln -s /usr/share/yumex/yumex $RPM_BUILD_ROOT%{_bindir}/yumex
+install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}/yumex.desktop
+install %{SOURCE2} $RPM_BUILD_ROOT%{_desktopdir}/yumex-kde.desktop
 
 %py_postclean
 
@@ -54,7 +58,7 @@
 %attr(755,root,root) %{_bindir}/yumex
 %dir %{py_sitescriptdir}/yumgui
 %{py_sitescriptdir}/*/*.py[co]
-%{_desktopdir}/yumex.desktop
+%{_desktopdir}/*.desktop
 %dir %{_datadir}/yumex
 %attr(755,root,root) %{_datadir}/yumex/yumex
 %{_datadir}/yumex/*.py*
@@ -67,6 +71,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2007/05/23 18:36:24  patrys
+- separate desktop files for kde and gtk
+
 Revision 1.1  2007/05/23 18:10:27  patrys
 - initial PLD release
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/yumex.spec?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list