SPECS: python-GooeyPy.spec - informative summaries, unified exampl...

qboosh qboosh at pld-linux.org
Sun May 27 20:14:42 CEST 2007


Author: qboosh                       Date: Sun May 27 18:14:42 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- informative summaries, unified examplesdir

---- Files affected:
SPECS:
   python-GooeyPy.spec (1.5 -> 1.6) 

---- Diffs:

================================================================
Index: SPECS/python-GooeyPy.spec
diff -u SPECS/python-GooeyPy.spec:1.5 SPECS/python-GooeyPy.spec:1.6
--- SPECS/python-GooeyPy.spec:1.5	Sun May 27 17:45:30 2007
+++ SPECS/python-GooeyPy.spec	Sun May 27 20:14:36 2007
@@ -1,12 +1,13 @@
 # $Revision$, $Date$
 #
 # TODO :
+# - fix License (GPL v2.1 not released yet ;P ; is LICENSE.txt just (L)GPL copy?)
 # - Remove Cellulose to different spec
 #
 %define	module	GooeyPy
 
-Summary:	Python/GooeyPy package
-Summary(pl.UTF-8):	Pakiet Python/GooeyPy
+Summary:	Python/GooeyPy - a fast, flexible and cool looking GUI for pygame
+Summary(pl.UTF-8):	Python/GooeyPy - szybkie, elastycznie i dobrze wyglądające GUI dla pygame
 Name:		python-%{module}
 Version:	0.0.4.1
 Release:	1
@@ -27,8 +28,9 @@
 %description
 A fast, flexible, and cool looking GUI for pygame. 
 
-#% description -l pl.UTF-8
-Szybkie, elastyczne i fajnie wygladajace GUI dla pygame
+%description -l pl.UTF-8
+Szybkie, elastyczne i dobrze wyglądające GUI dla pygame.
+
 %package examples
 Summary:	Examples of Python/GooeyPy
 Summary(pl.UTF-8):	Przykłady do Python/GooeyPy
@@ -50,21 +52,21 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_examplesdir}/%{module}
+install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 
 python setup.py install \
 	--root=$RPM_BUILD_ROOT \
 	--optimize=2
 
 # Cellulose
-unzip  -d $RPM_BUILD_ROOT%{py_sitescriptdir} $RPM_BUILD_ROOT%{py_sitescriptdir}/Cellulose-0.1.2-py%py_ver.egg 
-rm -f  $RPM_BUILD_ROOT%{py_sitescriptdir}/Cellulose-0.1.2-py%py_ver.egg
+unzip -d $RPM_BUILD_ROOT%{py_sitescriptdir} $RPM_BUILD_ROOT%{py_sitescriptdir}/Cellulose-0.1.2-py%{py_ver}.egg
+rm -f $RPM_BUILD_ROOT%{py_sitescriptdir}/Cellulose-0.1.2-py%{py_ver}.egg
 
-cp -a  examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{module}
+cp -a  examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 rm -f  $RPM_BUILD_ROOT%{py_sitescriptdir}/*.py[co]
 rm -rf $RPM_BUILD_ROOT%{py_sitescriptdir}/EGG-INFO
-cp -a  $RPM_BUILD_ROOT%{py_sitescriptdir}/%{module}-%{version}-py%py_ver.egg/gooeypy $RPM_BUILD_ROOT%{py_sitescriptdir}/gooeypy
-rm -rf $RPM_BUILD_ROOT%{py_sitescriptdir}/%{module}-%{version}-py%py_ver.egg
+cp -a  $RPM_BUILD_ROOT%{py_sitescriptdir}/%{module}-%{version}-py%{py_ver}.egg/gooeypy $RPM_BUILD_ROOT%{py_sitescriptdir}/gooeypy
+rm -rf $RPM_BUILD_ROOT%{py_sitescriptdir}/%{module}-%{version}-py%{py_ver}.egg
 
 %py_ocomp $RPM_BUILD_ROOT%{py_sitescriptdir}
 %py_comp $RPM_BUILD_ROOT%{py_sitescriptdir}
@@ -81,8 +83,7 @@
 
 %files examples
 %defattr(644,root,root,755)
-%dir %{_examplesdir}/%{module}
-%{_examplesdir}/%{module}
+%{_examplesdir}/%{name}-%{version}
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -90,6 +91,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.6  2007/05/27 18:14:36  qboosh
+- informative summaries, unified examplesdir
+
 Revision 1.5  2007/05/27 15:45:30  cactus
 - python version from rpm macros
 - some clean ups
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/python-GooeyPy.spec?r1=1.5&r2=1.6&f=u



More information about the pld-cvs-commit mailing list