]> git.pld-linux.org Git - packages/python-Pyrex.git/commitdiff
- new
authorgrzegol <grzegol@pld-linux.org>
Sat, 31 Jan 2004 19:55:33 +0000 (19:55 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    python-Pyrex.spec -> 1.1

python-Pyrex.spec [new file with mode: 0644]

diff --git a/python-Pyrex.spec b/python-Pyrex.spec
new file mode 100644 (file)
index 0000000..66dbd1e
--- /dev/null
@@ -0,0 +1,45 @@
+Summary:       Language for Writing Python Extension Modules
+Summary(pl):   Jêzyk s³u¿±cy do pisania Modu³ów Rozszerzaj±cych Pythona
+Name:          python-Pyrex
+Version:       0.9
+Release:       1
+License:       GPL
+Group:         Libraries/Python
+Source0:       http://www.cosc.canterbury.ac.nz/~greg/python/Pyrex/Pyrex-%{version}.tar.gz
+# Source0-md5: 99ae698c3f308d0d1eff1078ac87d459
+Patch0:                %{name}-compile.patch
+URL:           http://www.cosc.canterbury.ac.nz/~greg/python/Pyrex/
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define        _noautocompressdoc      *.c
+
+%description
+Pyrex lets you write code that mixes Python and C data types any way
+you want, and compiles it into a C extension for Python.
+
+%description -l pl
+Pyrex pozwala pisaæ kod zawieraj±cy dane Pythona i jêzyka C po³±czone
+w jakikolwiek sposób i kompiluje to jako rozszerzenie C dla Pythona.
+
+%prep
+%setup -q -n Pyrex-%{version}
+%patch0 -p1
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__python} setup.py install \
+       --root=$RPM_BUILD_ROOT \
+       --install-purelib=%{py_sitedir} \
+       -O2
+
+find $RPM_BUILD_ROOT%{py_sitedir} -name "*.py" -exec rm -f {} \;
+
+%clean
+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_sitedir}/*
This page took 0.11454 seconds and 4 git commands to generate.