X-Git-Url: http://git.pld-linux.org/?p=packages%2Fpython-Cython.git;a=blobdiff_plain;f=python-Cython.spec;h=b37ca7f88e4940961376385738a48f1b10ad579a;hp=4c46f7f397565755477c7b67a0c5ea5243d54f44;hb=455ac15060bfe6f829f3b65c0184bad75f4403b6;hpb=6f08c5d3c717b2aff1e6a4969cbc5c3b8c15ed22 diff --git a/python-Cython.spec b/python-Cython.spec index 4c46f7f..b37ca7f 100644 --- a/python-Cython.spec +++ b/python-Cython.spec @@ -4,14 +4,15 @@ Summary: Language for writing Python Extension Modules Summary(pl.UTF-8): Język służący do pisania modułów rozszerzających Pythona Name: python-%{module} -Version: 0.9.6.14 +Version: 0.12.1 Release: 1 License: PSF Group: Libraries/Python -Source0: http://www.cython.org/%{module}-%{version}.tar.gz -# Source0-md5: 3fd3a8baa2deb0155ed8b37ee320d02b +Source0: http://www.cython.org/release/%{module}-%{version}.tar.gz +# Source0-md5: cf9f98e982258f8516620277975016f3 URL: http://www.cython.org/ BuildRequires: python >= 1:2.5 +BuildRequires: python-devel BuildRequires: rpm-pythonprov %pyrequires_eq python-libs %pyrequires_eq python-devel @@ -53,7 +54,7 @@ install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} --install-purelib=%{py_sitescriptdir} \ -O2 -find $RPM_BUILD_ROOT%{py_sitescriptdir} -name "*.py" -a ! -name 'Lexicon.py' -exec rm -f {} \; +find $RPM_BUILD_ROOT%{py_sitedir} -name "*.py" -a ! -name 'Lexicon.py' -exec rm -f {} \; cp -a Demos/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} @@ -63,9 +64,11 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) %doc README.txt ToDo.txt USAGE.txt Doc/*.html Doc/*.c -%attr(755,root,root) %{_bindir}/* -%{py_sitescriptdir}/Cython -%{py_sitescriptdir}/Cython-*.egg-info +%attr(755,root,root) %{_bindir}/cython +%{py_sitedir}/cython.py[co] +%{py_sitedir}/Cython +%{py_sitedir}/pyximport +%{py_sitedir}/Cython-*.egg-info %files examples %defattr(644,root,root,755)