Cross Reference: Pyrex.spec
xref
: /
solaris-desktop
/
base-specs
/
Pyrex.spec
Home
History
Annotate
Line#
Navigate
Download
Search
only in
./
Pyrex.spec revision 10139
10139
N/A
#
10139
N/A
# spec file for package Pyrex
10139
N/A
#
12147
N/A
# includes module(s): Pyrex
10139
N/A
#
10139
N/A
# Copyright (c) 2005 Sun Microsystems, Inc.
10139
N/A
# This file and all modifications and additions to the pristine
10139
N/A
# package are under the same license as the package itself.
10139
N/A
#
10139
N/A
# Owner: laca
10139
N/A
#
10139
N/A
15880
N/A
%
define
pythonver
2.4
10139
N/A
10139
N/A
Name
:
Pyrex
10139
N/A
License
:
Free
10139
N/A
Group
:
Development
/
Languages
/
Python
15448
N/A
Version
:
0.9
.
4.1
10139
N/A
Release
:
1
10139
N/A
Distribution
:
Java
Desktop
System
10139
N/A
Vendor
:
Sun
Microsystems
,
Inc
.
10139
N/A
Summary
:
Pyrex
, a
language
for
writing
Python
extension
modules
10139
N/A
Source
:
http
://
www.cosc.canterbury.ac.nz
/~
greg
/
python
/%{
name
}/%{
name
}-%{
version
}
.tar.gz
10139
N/A
URL
:
http
://
www.cosc.canterbury.ac.nz
/~
greg
/
python
/
Pyrex
/
10139
N/A
BuildRoot
: %{
_tmppath
}/%{
name
}-%{
version
}-
build
10139
N/A
Docdir
: %{
_defaultdocdir
}/
doc
10491
N/A
Autoreqprov
:
off
10491
N/A
Prereq
: /
sbin
/
ldconfig
10491
N/A
Requires
:
python
>= %{
pythonver
}
10491
N/A
BuildRequires
:
python
>= %{
pythonver
}
12088
N/A
10139
N/A
%
description
12088
N/A
Pyrex
lets
you
write
code
that
mixes
Python
and
C
data
types
any
way
10139
N/A
you
want
,
and
compiles
it
into
a C
extension
for
Python
.
12088
N/A
12176
N/A
%
prep
12196
N/A
%
setup
-q
12306
N/A
12368
N/A
%
build
13088
N/A
13278
N/A
%
install
14363
N/A
python
setup.py
install
--
prefix
=
$RPM_BUILD_ROOT
%{
_prefix
}
14363
N/A
15959
N/A
# move to vendor-packages
15959
N/A
mv
$RPM_BUILD_ROOT
%{
_libdir
}/
python
%{
pythonver
}/
site
-
packages
\
10139
N/A
$RPM_BUILD_ROOT
%{
_libdir
}/
python
%{
pythonver
}/
vendor
-
packages
10139
N/A
10139
N/A
%
clean
10139
N/A
rm
-
rf
$RPM_BUILD_ROOT
10139
N/A
10139
N/A
%
files
10139
N/A
%
defattr
(-,
root
,
root
)
10139
N/A
%{
_bindir
}
10139
N/A
%{
_libdir
}/
python
%{
pythonver
}/
vendor
-
packages
10139
N/A
10139
N/A
%
changelog
10139
N/A
*
Sat
Jul
22
2006
-
damien.carbery
@
sun.com
10139
N/A
-
Bump
to
0.9
.
4.1
.
10139
N/A
10139
N/A
*
Thu
Oct
27
2005
-
laca
@
sun.com
10139
N/A
-
move
from
site
-
packages
to
vendor
-
packages
10139
N/A
10139
N/A
*
Mon
Oct
24
2005
-
damien.carbery
@
sun.com
10139
N/A
-
Include
.
pyc
files
. A
Google
search
indicates
that
most
people
include
them
.
10139
N/A
10139
N/A
*
Thu
Oct
20
2005
-
damien.carbery
@
sun.com
10139
N/A
-
Delete
.
pyc
files
so
they
are
not
included
in
the
package
.
10139
N/A
10139
N/A
*
Wed
Oct
19
2005
-
damien.carbery
@
sun.com
10139
N/A
-
Correct
install
location
.
10139
N/A
-
Initial
version
.
10139
N/A