author | dcarbery |
Mon, 23 Oct 2006 12:46:17 +0000 | |
branch | gnome-2-14 |
changeset 19195 | 352a4716f1f3 |
parent 6200 | 19ff8721b8f2 |
child 7716 | 98279ae1c71c |
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 |
# |
d54e7dd37946
* Pyrex.spec. Added. Pyrex is a language for writing Python extension
dc144907
parents:
diff
changeset
|
10 |
|
d54e7dd37946
* Pyrex.spec. Added. Pyrex is a language for writing Python extension
dc144907
parents:
diff
changeset
|
11 |
%define pythonver 2.4 |
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 |
Name: Pyrex |
d54e7dd37946
* Pyrex.spec. Added. Pyrex is a language for writing Python extension
dc144907
parents:
diff
changeset
|
14 |
License: Free |
d54e7dd37946
* Pyrex.spec. Added. Pyrex is a language for writing Python extension
dc144907
parents:
diff
changeset
|
15 |
Group: Development/Languages/Python |
d54e7dd37946
* Pyrex.spec. Added. Pyrex is a language for writing Python extension
dc144907
parents:
diff
changeset
|
16 |
Version: 0.9.3.1 |
d54e7dd37946
* Pyrex.spec. Added. Pyrex is a language for writing Python extension
dc144907
parents:
diff
changeset
|
17 |
Release: 1 |
d54e7dd37946
* Pyrex.spec. Added. Pyrex is a language for writing Python extension
dc144907
parents:
diff
changeset
|
18 |
Distribution: Java Desktop System |
d54e7dd37946
* Pyrex.spec. Added. Pyrex is a language for writing Python extension
dc144907
parents:
diff
changeset
|
19 |
Vendor: Sun Microsystems, Inc. |
d54e7dd37946
* Pyrex.spec. Added. Pyrex is a language for writing Python extension
dc144907
parents:
diff
changeset
|
20 |
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
|
21 |
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
|
22 |
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
|
23 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
d54e7dd37946
* Pyrex.spec. Added. Pyrex is a language for writing Python extension
dc144907
parents:
diff
changeset
|
24 |
Docdir: %{_defaultdocdir}/doc |
d54e7dd37946
* Pyrex.spec. Added. Pyrex is a language for writing Python extension
dc144907
parents:
diff
changeset
|
25 |
Autoreqprov: off |
d54e7dd37946
* Pyrex.spec. Added. Pyrex is a language for writing Python extension
dc144907
parents:
diff
changeset
|
26 |
Prereq: /sbin/ldconfig |
d54e7dd37946
* Pyrex.spec. Added. Pyrex is a language for writing Python extension
dc144907
parents:
diff
changeset
|
27 |
Requires: python >= %{pythonver} |
d54e7dd37946
* Pyrex.spec. Added. Pyrex is a language for writing Python extension
dc144907
parents:
diff
changeset
|
28 |
BuildRequires: python >= %{pythonver} |
d54e7dd37946
* Pyrex.spec. Added. Pyrex is a language for writing Python extension
dc144907
parents:
diff
changeset
|
29 |
|
d54e7dd37946
* Pyrex.spec. Added. Pyrex is a language for writing Python extension
dc144907
parents:
diff
changeset
|
30 |
%description |
d54e7dd37946
* Pyrex.spec. Added. Pyrex is a language for writing Python extension
dc144907
parents:
diff
changeset
|
31 |
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
|
32 |
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
|
33 |
|
d54e7dd37946
* Pyrex.spec. Added. Pyrex is a language for writing Python extension
dc144907
parents:
diff
changeset
|
34 |
%prep |
d54e7dd37946
* Pyrex.spec. Added. Pyrex is a language for writing Python extension
dc144907
parents:
diff
changeset
|
35 |
%setup -q |
d54e7dd37946
* Pyrex.spec. Added. Pyrex is a language for writing Python extension
dc144907
parents:
diff
changeset
|
36 |
|
d54e7dd37946
* Pyrex.spec. Added. Pyrex is a language for writing Python extension
dc144907
parents:
diff
changeset
|
37 |
%build |
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 |
%install |
6135 | 40 |
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
|
41 |
|
6193 | 42 |
# move to vendor-packages |
43 |
mv $RPM_BUILD_ROOT%{_libdir}/python%{pythonver}/site-packages \ |
|
44 |
$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
|
45 |
|
6131
d54e7dd37946
* Pyrex.spec. Added. Pyrex is a language for writing Python extension
dc144907
parents:
diff
changeset
|
46 |
%clean |
d54e7dd37946
* Pyrex.spec. Added. Pyrex is a language for writing Python extension
dc144907
parents:
diff
changeset
|
47 |
rm -rf $RPM_BUILD_ROOT |
d54e7dd37946
* Pyrex.spec. Added. Pyrex is a language for writing Python extension
dc144907
parents:
diff
changeset
|
48 |
|
d54e7dd37946
* Pyrex.spec. Added. Pyrex is a language for writing Python extension
dc144907
parents:
diff
changeset
|
49 |
%files |
d54e7dd37946
* Pyrex.spec. Added. Pyrex is a language for writing Python extension
dc144907
parents:
diff
changeset
|
50 |
%defattr(-, root, root) |
d54e7dd37946
* Pyrex.spec. Added. Pyrex is a language for writing Python extension
dc144907
parents:
diff
changeset
|
51 |
%{_bindir} |
6193 | 52 |
%{_libdir}/python%{pythonver}/vendor-packages |
6131
d54e7dd37946
* Pyrex.spec. Added. Pyrex is a language for writing Python extension
dc144907
parents:
diff
changeset
|
53 |
|
d54e7dd37946
* Pyrex.spec. Added. Pyrex is a language for writing Python extension
dc144907
parents:
diff
changeset
|
54 |
%changelog |
6200 | 55 |
* Thu Oct 27 2005 - [email protected] |
56 |
- move from site-packages to vendor-packages |
|
57 |
||
6161
a940776c71bf
* pyspi.spec, Pyrex.spec: Include .pyc files. A Google search indicates
dc144907
parents:
6143
diff
changeset
|
58 |
* Mon Oct 24 2005 - [email protected] |
a940776c71bf
* pyspi.spec, Pyrex.spec: Include .pyc files. A Google search indicates
dc144907
parents:
6143
diff
changeset
|
59 |
- 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
|
60 |
|
6143
827445ab2465
* pyspi.spec, dogtail.spec, Pyrex.spec: Delete .pyc files so they are not included in the package.
dc144907
parents:
6135
diff
changeset
|
61 |
* 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
|
62 |
- 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
|
63 |
|
6131
d54e7dd37946
* Pyrex.spec. Added. Pyrex is a language for writing Python extension
dc144907
parents:
diff
changeset
|
64 |
* Wed Oct 19 2005 - [email protected] |
6135 | 65 |
- Correct install location. |
6131
d54e7dd37946
* Pyrex.spec. Added. Pyrex is a language for writing Python extension
dc144907
parents:
diff
changeset
|
66 |
- Initial version. |