author | dcarbery |
Fri, 24 Nov 2006 16:37:59 +0000 | |
branch | 217update |
changeset 19096 | d542fc2c823e |
parent 8529 | ace8e9b8a2b7 |
permissions | -rw-r--r-- |
6131
d54e7dd37946
* Pyrex.spec. Added. Pyrex is a language for writing Python extension
dc144907
parents:
diff
changeset
|
1 |
# |
d54e7dd37946
* Pyrex.spec. Added. Pyrex is a language for writing Python extension
dc144907
parents:
diff
changeset
|
2 |
# spec file for package Pyrex |
d54e7dd37946
* Pyrex.spec. Added. Pyrex is a language for writing Python extension
dc144907
parents:
diff
changeset
|
3 |
# |
d54e7dd37946
* Pyrex.spec. Added. Pyrex is a language for writing Python extension
dc144907
parents:
diff
changeset
|
4 |
# includes module(s): Pyrex |
d54e7dd37946
* Pyrex.spec. Added. Pyrex is a language for writing Python extension
dc144907
parents:
diff
changeset
|
5 |
# |
d54e7dd37946
* Pyrex.spec. Added. Pyrex is a language for writing Python extension
dc144907
parents:
diff
changeset
|
6 |
# Copyright (c) 2005 Sun Microsystems, Inc. |
d54e7dd37946
* Pyrex.spec. Added. Pyrex is a language for writing Python extension
dc144907
parents:
diff
changeset
|
7 |
# This file and all modifications and additions to the pristine |
d54e7dd37946
* Pyrex.spec. Added. Pyrex is a language for writing Python extension
dc144907
parents:
diff
changeset
|
8 |
# package are under the same license as the package itself. |
d54e7dd37946
* Pyrex.spec. Added. Pyrex is a language for writing Python extension
dc144907
parents:
diff
changeset
|
9 |
# |
8529 | 10 |
# Owner: laca |
11 |
# |
|
6131
d54e7dd37946
* Pyrex.spec. Added. Pyrex is a language for writing Python extension
dc144907
parents:
diff
changeset
|
12 |
|
d54e7dd37946
* Pyrex.spec. Added. Pyrex is a language for writing Python extension
dc144907
parents:
diff
changeset
|
13 |
%define pythonver 2.4 |
d54e7dd37946
* Pyrex.spec. Added. Pyrex is a language for writing Python extension
dc144907
parents:
diff
changeset
|
14 |
|
d54e7dd37946
* Pyrex.spec. Added. Pyrex is a language for writing Python extension
dc144907
parents:
diff
changeset
|
15 |
Name: Pyrex |
d54e7dd37946
* Pyrex.spec. Added. Pyrex is a language for writing Python extension
dc144907
parents:
diff
changeset
|
16 |
License: Free |
d54e7dd37946
* Pyrex.spec. Added. Pyrex is a language for writing Python extension
dc144907
parents:
diff
changeset
|
17 |
Group: Development/Languages/Python |
7716 | 18 |
Version: 0.9.4.1 |
6131
d54e7dd37946
* Pyrex.spec. Added. Pyrex is a language for writing Python extension
dc144907
parents:
diff
changeset
|
19 |
Release: 1 |
d54e7dd37946
* Pyrex.spec. Added. Pyrex is a language for writing Python extension
dc144907
parents:
diff
changeset
|
20 |
Distribution: Java Desktop System |
d54e7dd37946
* Pyrex.spec. Added. Pyrex is a language for writing Python extension
dc144907
parents:
diff
changeset
|
21 |
Vendor: Sun Microsystems, Inc. |
d54e7dd37946
* Pyrex.spec. Added. Pyrex is a language for writing Python extension
dc144907
parents:
diff
changeset
|
22 |
Summary: Pyrex, a language for writing Python extension modules |
d54e7dd37946
* Pyrex.spec. Added. Pyrex is a language for writing Python extension
dc144907
parents:
diff
changeset
|
23 |
Source: http://www.cosc.canterbury.ac.nz/~greg/python/%{name}/%{name}-%{version}.tar.gz |
d54e7dd37946
* Pyrex.spec. Added. Pyrex is a language for writing Python extension
dc144907
parents:
diff
changeset
|
24 |
URL: http://www.cosc.canterbury.ac.nz/~greg/python/Pyrex/ |
d54e7dd37946
* Pyrex.spec. Added. Pyrex is a language for writing Python extension
dc144907
parents:
diff
changeset
|
25 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
d54e7dd37946
* Pyrex.spec. Added. Pyrex is a language for writing Python extension
dc144907
parents:
diff
changeset
|
26 |
Docdir: %{_defaultdocdir}/doc |
d54e7dd37946
* Pyrex.spec. Added. Pyrex is a language for writing Python extension
dc144907
parents:
diff
changeset
|
27 |
Autoreqprov: off |
d54e7dd37946
* Pyrex.spec. Added. Pyrex is a language for writing Python extension
dc144907
parents:
diff
changeset
|
28 |
Prereq: /sbin/ldconfig |
d54e7dd37946
* Pyrex.spec. Added. Pyrex is a language for writing Python extension
dc144907
parents:
diff
changeset
|
29 |
Requires: python >= %{pythonver} |
d54e7dd37946
* Pyrex.spec. Added. Pyrex is a language for writing Python extension
dc144907
parents:
diff
changeset
|
30 |
BuildRequires: python >= %{pythonver} |
d54e7dd37946
* Pyrex.spec. Added. Pyrex is a language for writing Python extension
dc144907
parents:
diff
changeset
|
31 |
|
d54e7dd37946
* Pyrex.spec. Added. Pyrex is a language for writing Python extension
dc144907
parents:
diff
changeset
|
32 |
%description |
d54e7dd37946
* Pyrex.spec. Added. Pyrex is a language for writing Python extension
dc144907
parents:
diff
changeset
|
33 |
Pyrex lets you write code that mixes Python and C data types any way |
d54e7dd37946
* Pyrex.spec. Added. Pyrex is a language for writing Python extension
dc144907
parents:
diff
changeset
|
34 |
you want, and compiles it into a C extension for Python. |
d54e7dd37946
* Pyrex.spec. Added. Pyrex is a language for writing Python extension
dc144907
parents:
diff
changeset
|
35 |
|
d54e7dd37946
* Pyrex.spec. Added. Pyrex is a language for writing Python extension
dc144907
parents:
diff
changeset
|
36 |
%prep |
d54e7dd37946
* Pyrex.spec. Added. Pyrex is a language for writing Python extension
dc144907
parents:
diff
changeset
|
37 |
%setup -q |
d54e7dd37946
* Pyrex.spec. Added. Pyrex is a language for writing Python extension
dc144907
parents:
diff
changeset
|
38 |
|
d54e7dd37946
* Pyrex.spec. Added. Pyrex is a language for writing Python extension
dc144907
parents:
diff
changeset
|
39 |
%build |
d54e7dd37946
* Pyrex.spec. Added. Pyrex is a language for writing Python extension
dc144907
parents:
diff
changeset
|
40 |
|
d54e7dd37946
* Pyrex.spec. Added. Pyrex is a language for writing Python extension
dc144907
parents:
diff
changeset
|
41 |
%install |
6135 | 42 |
python setup.py install --prefix=$RPM_BUILD_ROOT%{_prefix} |
6131
d54e7dd37946
* Pyrex.spec. Added. Pyrex is a language for writing Python extension
dc144907
parents:
diff
changeset
|
43 |
|
6193 | 44 |
# move to vendor-packages |
45 |
mv $RPM_BUILD_ROOT%{_libdir}/python%{pythonver}/site-packages \ |
|
46 |
$RPM_BUILD_ROOT%{_libdir}/python%{pythonver}/vendor-packages |
|
6143
827445ab2465
* pyspi.spec, dogtail.spec, Pyrex.spec: Delete .pyc files so they are not included in the package.
dc144907
parents:
6135
diff
changeset
|
47 |
|
6131
d54e7dd37946
* Pyrex.spec. Added. Pyrex is a language for writing Python extension
dc144907
parents:
diff
changeset
|
48 |
%clean |
d54e7dd37946
* Pyrex.spec. Added. Pyrex is a language for writing Python extension
dc144907
parents:
diff
changeset
|
49 |
rm -rf $RPM_BUILD_ROOT |
d54e7dd37946
* Pyrex.spec. Added. Pyrex is a language for writing Python extension
dc144907
parents:
diff
changeset
|
50 |
|
d54e7dd37946
* Pyrex.spec. Added. Pyrex is a language for writing Python extension
dc144907
parents:
diff
changeset
|
51 |
%files |
d54e7dd37946
* Pyrex.spec. Added. Pyrex is a language for writing Python extension
dc144907
parents:
diff
changeset
|
52 |
%defattr(-, root, root) |
d54e7dd37946
* Pyrex.spec. Added. Pyrex is a language for writing Python extension
dc144907
parents:
diff
changeset
|
53 |
%{_bindir} |
6193 | 54 |
%{_libdir}/python%{pythonver}/vendor-packages |
6131
d54e7dd37946
* Pyrex.spec. Added. Pyrex is a language for writing Python extension
dc144907
parents:
diff
changeset
|
55 |
|
d54e7dd37946
* Pyrex.spec. Added. Pyrex is a language for writing Python extension
dc144907
parents:
diff
changeset
|
56 |
%changelog |
7716 | 57 |
* Sat Jul 22 2006 - [email protected] |
58 |
- Bump to 0.9.4.1. |
|
59 |
||
6200 | 60 |
* Thu Oct 27 2005 - [email protected] |
61 |
- move from site-packages to vendor-packages |
|
62 |
||
6161
a940776c71bf
* pyspi.spec, Pyrex.spec: Include .pyc files. A Google search indicates
dc144907
parents:
6143
diff
changeset
|
63 |
* Mon Oct 24 2005 - [email protected] |
a940776c71bf
* pyspi.spec, Pyrex.spec: Include .pyc files. A Google search indicates
dc144907
parents:
6143
diff
changeset
|
64 |
- Include .pyc files. A Google search indicates that most people include them. |
a940776c71bf
* pyspi.spec, Pyrex.spec: Include .pyc files. A Google search indicates
dc144907
parents:
6143
diff
changeset
|
65 |
|
6143
827445ab2465
* pyspi.spec, dogtail.spec, Pyrex.spec: Delete .pyc files so they are not included in the package.
dc144907
parents:
6135
diff
changeset
|
66 |
* Thu Oct 20 2005 - [email protected] |
827445ab2465
* pyspi.spec, dogtail.spec, Pyrex.spec: Delete .pyc files so they are not included in the package.
dc144907
parents:
6135
diff
changeset
|
67 |
- Delete .pyc files so they are not included in the package. |
827445ab2465
* pyspi.spec, dogtail.spec, Pyrex.spec: Delete .pyc files so they are not included in the package.
dc144907
parents:
6135
diff
changeset
|
68 |
|
6131
d54e7dd37946
* Pyrex.spec. Added. Pyrex is a language for writing Python extension
dc144907
parents:
diff
changeset
|
69 |
* Wed Oct 19 2005 - [email protected] |
6135 | 70 |
- Correct install location. |
6131
d54e7dd37946
* Pyrex.spec. Added. Pyrex is a language for writing Python extension
dc144907
parents:
diff
changeset
|
71 |
- Initial version. |