Author: qboosh Date: Sun Jul 8 18:19:32 2007 GMT Module: SPECS Tag: HEAD ---- Log message: - added fix patch to build in current environment - include .egg-info for python 2.5
---- Files affected: SPECS: python-pySpeex.spec (1.2 -> 1.3) ---- Diffs: ================================================================ Index: SPECS/python-pySpeex.spec diff -u SPECS/python-pySpeex.spec:1.2 SPECS/python-pySpeex.spec:1.3 --- SPECS/python-pySpeex.spec:1.2 Sun Jul 8 20:02:01 2007 +++ SPECS/python-pySpeex.spec Sun Jul 8 20:19:27 2007 @@ -11,14 +11,15 @@ Group: Libraries/Python Source0: http://www.freenet.org.nz/python/pySpeex/%{mod_name}-%{version}.tar.gz # Source0-md5: 5f6837cd74568fb58bb15d43fe2406ea +Patch0: %{name}-fix.patch URL: http://www.freenet.org.nz/python/pySpeex/ BuildRequires: python-Pyrex -BuildRequires: python-devel +BuildRequires: python-devel >= 1:2.5 BuildRequires: rpm-pythonprov BuildRequires: rpmbuild(macros) >= 1.219 -BuildRequires: speex-devel +BuildRequires: speex-devel >= 1:1.1.5 %pyrequires_eq python-modules -Requires: speex +Requires: speex >= 1:1.1.5 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description @@ -36,9 +37,11 @@ %prep %setup -q -n %{mod_name}-%{version} +%patch0 -p1 -%build find -type f -exec sed -i -e 's|#!.*python.*|#!%{_bindir}/python|g' "{}" ";" + +%build python setup.py build %install @@ -54,7 +57,8 @@ %files %defattr(644,root,root,755) %doc README doc -%{py_sitedir}/*.so +%attr(755,root,root) %{py_sitedir}/*.so +%{py_sitedir}/speex-*.egg-info %define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) %changelog @@ -62,6 +66,10 @@ All persons listed below can be reached at <cvs_login>@pld-linux.org $Log$ +Revision 1.3 2007/07/08 18:19:27 qboosh +- added fix patch to build in current environment +- include .egg-info for python 2.5 + Revision 1.2 2007/07/08 18:02:01 qboosh - formatting ================================================================ ---- CVS-web: http://cvs.pld-linux.org/SPECS/python-pySpeex.spec?r1=1.2&r2=1.3&f=u _______________________________________________ pld-cvs-commit mailing list pld-cvs-commit@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit