SPECS: python-pyogg.spec - File oggtail.py moved from -devel packa...

beorn beorn at pld-linux.org
Fri Mar 2 22:52:14 CET 2007


Author: beorn                        Date: Fri Mar  2 21:52:14 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- File oggtail.py moved from -devel package to _examplesdir of the base package
- Removed unneeded file testogg.py
- Minor fix

---- Files affected:
SPECS:
   python-pyogg.spec (1.18 -> 1.19) 

---- Diffs:

================================================================
Index: SPECS/python-pyogg.spec
diff -u SPECS/python-pyogg.spec:1.18 SPECS/python-pyogg.spec:1.19
--- SPECS/python-pyogg.spec:1.18	Tue Feb 13 09:06:43 2007
+++ SPECS/python-pyogg.spec	Fri Mar  2 22:52:09 2007
@@ -4,7 +4,7 @@
 Summary(pl.UTF-8):	Moduł Pythona do biblioteki Ogg
 Name:		python-%{module}
 Version:	1.3
-Release:	4
+Release:	5
 License:	GPL
 Group:		Libraries/Python
 Source0:	http://ekyo.nerim.net/software/pyogg/%{module}-%{version}.tar.gz
@@ -53,6 +53,11 @@
 python setup.py install \
 	--optimize=2 \
 	--root $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+chmod a+x test/oggtail.py $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+install test/oggtail.py $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+rm -f test/testogg.py
+find $RPM_BUILD_ROOT%{py_sitedir} -type f -name "*.py" | xargs rm
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -63,10 +68,10 @@
 %dir %{py_sitedir}/ogg
 %attr(755,root,root) %{py_sitedir}/ogg/*.so
 %{py_sitedir}/ogg/*.py[co]
+%{_examplesdir}/%{name}-%{version}
 
 %files devel
 %defattr(644,root,root,755)
-%doc test/*
 %{py_incdir}/%{module}
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -75,6 +80,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.19  2007/03/02 21:52:09  beorn
+- File oggtail.py moved from -devel package to _examplesdir of the base package
+- Removed unneeded file testogg.py
+- Minor fix
+
 Revision 1.18  2007/02/13 08:06:43  glen
 - tabs in preamble
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/python-pyogg.spec?r1=1.18&r2=1.19&f=u



More information about the pld-cvs-commit mailing list