SPECS: yumex.spec - update to 2.0.2

glen glen at pld-linux.org
Wed Dec 26 17:46:28 CET 2007


Author: glen                         Date: Wed Dec 26 16:46:28 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- update to 2.0.2

---- Files affected:
SPECS:
   yumex.spec (1.14 -> 1.15) 

---- Diffs:

================================================================
Index: SPECS/yumex.spec
diff -u SPECS/yumex.spec:1.14 SPECS/yumex.spec:1.15
--- SPECS/yumex.spec:1.14	Wed Dec 26 17:07:50 2007
+++ SPECS/yumex.spec	Wed Dec 26 17:46:22 2007
@@ -2,12 +2,12 @@
 Summary:	YumExtender - a graphical frontend to yum
 Summary(pl.UTF-8):	YumExtender - graficzny interfejs dla yuma
 Name:		yumex
-Version:	1.9.9
+Version:	2.0.2
 Release:	1
 License:	GPL v2
 Group:		Applications/System
 Source0:	http://www.yum-extender.org/dnl/yumex/source/%{name}-%{version}.tar.gz
-# Source0-md5:	9c3b785819940eaf25e449a8c466478b
+# Source0-md5:	9816813e93495af22aa13a4df0c44ee2
 Source1:	%{name}-gtk.desktop
 Source2:	%{name}-kde.desktop
 Patch0:		%{name}-yum-config.patch
@@ -35,6 +35,14 @@
 %patch1 -p1
 %patch2 -p1
 
+cat << 'EOF' > misc/yumex
+#!/bin/sh
+#
+# Run yumex main python program.
+#
+exec %{__python} %{_datadir}/yumex/yumex.pyc ${1:+"$@"}
+EOF
+
 %build
 %{__make}
 
@@ -45,8 +53,7 @@
 	DESTDIR=$RPM_BUILD_ROOT \
 	PYLIBDIR=%{py_sitescriptdir}/..
 
-rm $RPM_BUILD_ROOT%{_bindir}/yumex
-ln -s %{_datadir}/yumex/yumex $RPM_BUILD_ROOT%{_bindir}/yumex
+mv -f $RPM_BUILD_ROOT{%{_datadir}/yumex,%{_bindir}}/yumex
 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}/yumex.desktop
 install %{SOURCE2} $RPM_BUILD_ROOT%{_desktopdir}/yumex-kde.desktop
 
@@ -70,7 +77,6 @@
 %{py_sitescriptdir}/*/*.py[co]
 %{_desktopdir}/*.desktop
 %dir %{_datadir}/yumex
-%attr(755,root,root) %{_datadir}/yumex/yumex
 %{_datadir}/yumex/*.py[co]
 %{_datadir}/yumex/*.glade
 %{_pixmapsdir}/yumex
@@ -81,6 +87,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.15  2007-12-26 16:46:22  glen
+- update to 2.0.2
+
 Revision 1.14  2007-12-26 16:07:50  glen
 - BR intltool
 - packaging fixes
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/yumex.spec?r1=1.14&r2=1.15&f=u



More information about the pld-cvs-commit mailing list