Pyrex.spec revision 10164
10139N/A#
10139N/A# spec file for package Pyrex
10139N/A#
12153N/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
17185N/A# package are under the same license as the package itself.
10139N/A#
17181N/A# Owner: laca
18603N/A#
17181N/A
10139N/A%define pythonver 2.4
15313N/A
10139N/AName: Pyrex
18543N/ALicense: Free
10139N/AGroup: Development/Languages/Python
10139N/A# Unbumped to 0.9.4.1 because 0.9.5.1a breaks at-spi part of
18616N/A# SUNWgnome-python-libs.
10139N/A#%define tarball_version 0.9.5.1a
17401N/A%define tarball_version 0.9.4.1
10139N/AVersion: 0.9.5.1
10679N/ARelease: 1
16228N/ADistribution: Java Desktop System
16228N/AVendor: Sun Microsystems, Inc.
10139N/ASummary: Pyrex, a language for writing Python extension modules
16246N/ASource: http://www.cosc.canterbury.ac.nz/~greg/python/%{name}/%{name}-%{tarball_version}.tar.gz
16246N/AURL: http://www.cosc.canterbury.ac.nz/~greg/python/Pyrex/
17770N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
17770N/ADocdir: %{_defaultdocdir}/doc
10139N/AAutoreqprov: off
10139N/APrereq: /sbin/ldconfig
10139N/ARequires: python >= %{pythonver}
10139N/ABuildRequires: python >= %{pythonver}
10139N/A
10139N/A%description
10139N/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.
10139N/A
10139N/A%prep
10139N/A%setup -q -n Pyrex-%{tarball_version}
10139N/A
10139N/A%build
10139N/A
10139N/A%install
10139N/Apython setup.py install --prefix=$RPM_BUILD_ROOT%{_prefix}
10139N/A
10139N/A# move to vendor-packages
10139N/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* Fri Mar 2 2007 - laca@sun.com
10139N/A- bump to 0.9.5.1a
10139N/A* Sat Jul 22 2006 - damien.carbery@sun.com
10139N/A- Bump to 0.9.4.1.
10139N/A* Thu Oct 27 2005 - laca@sun.com
10139N/A- move from site-packages to vendor-packages
16246N/A* Mon Oct 24 2005 - damien.carbery@sun.com
17770N/A- Include .pyc files. A Google search indicates that most people include them.
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* Wed Oct 19 2005 - damien.carbery@sun.com
10139N/A- Correct install location.
10139N/A- Initial version.
10139N/A