Pyrex.spec revision 10139
10139N/A#
10139N/A# spec file for package Pyrex
10139N/A#
12147N/A# includes module(s): Pyrex
10139N/A#
10139N/A# Copyright (c) 2005 Sun Microsystems, Inc.
10139N/A# This file and all modifications and additions to the pristine
10139N/A# package are under the same license as the package itself.
10139N/A#
10139N/A# Owner: laca
10139N/A#
10139N/A
15880N/A%define pythonver 2.4
10139N/A
10139N/AName: Pyrex
10139N/ALicense: Free
10139N/AGroup: Development/Languages/Python
15448N/AVersion: 0.9.4.1
10139N/ARelease: 1
10139N/ADistribution: Java Desktop System
10139N/AVendor: Sun Microsystems, Inc.
10139N/ASummary: Pyrex, a language for writing Python extension modules
10139N/ASource: http://www.cosc.canterbury.ac.nz/~greg/python/%{name}/%{name}-%{version}.tar.gz
10139N/AURL: http://www.cosc.canterbury.ac.nz/~greg/python/Pyrex/
10139N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
10139N/ADocdir: %{_defaultdocdir}/doc
10491N/AAutoreqprov: off
10491N/APrereq: /sbin/ldconfig
10491N/ARequires: python >= %{pythonver}
10491N/ABuildRequires: python >= %{pythonver}
12088N/A
10139N/A%description
12088N/APyrex lets you write code that mixes Python and C data types any way
10139N/Ayou want, and compiles it into a C extension for Python.
12088N/A
12176N/A%prep
12196N/A%setup -q
12306N/A
12368N/A%build
13088N/A
13278N/A%install
14363N/Apython setup.py install --prefix=$RPM_BUILD_ROOT%{_prefix}
14363N/A
15959N/A# move to vendor-packages
15959N/Amv $RPM_BUILD_ROOT%{_libdir}/python%{pythonver}/site-packages \
10139N/A $RPM_BUILD_ROOT%{_libdir}/python%{pythonver}/vendor-packages
10139N/A
10139N/A%clean
10139N/Arm -rf $RPM_BUILD_ROOT
10139N/A
10139N/A%files
10139N/A%defattr(-, root, root)
10139N/A%{_bindir}
10139N/A%{_libdir}/python%{pythonver}/vendor-packages
10139N/A
10139N/A%changelog
10139N/A* Sat Jul 22 2006 - damien.carbery@sun.com
10139N/A- Bump to 0.9.4.1.
10139N/A
10139N/A* Thu Oct 27 2005 - laca@sun.com
10139N/A- move from site-packages to vendor-packages
10139N/A
10139N/A* Mon Oct 24 2005 - damien.carbery@sun.com
10139N/A- Include .pyc files. A Google search indicates that most people include them.
10139N/A
10139N/A* Thu Oct 20 2005 - damien.carbery@sun.com
10139N/A- Delete .pyc files so they are not included in the package.
10139N/A
10139N/A* Wed Oct 19 2005 - damien.carbery@sun.com
10139N/A- Correct install location.
10139N/A- Initial version.
10139N/A