base-specs/Pyrex.spec
author yippi
Thu, 31 May 2012 20:16:52 +0000
changeset 22481 1ff6784d9b6f
parent 21106 512b7ea38e70
permissions -rw-r--r--
2012-05-31 Brian Cameron <[email protected]> * base-specs/shared-mime-info.spec: Bump to 1.0. * base-specs/nautilus.spec, base-specs/pulseaudio.spec, base-specs/gnome-settings-daemon.spec, specs/SUNWdconf.spec: Add patch comments. * base-specs/gnome-panel.spec: Add --disable-telepathy-glib so it does not build with this module we do not deliver.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     1
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     2
# spec file for package Pyrex
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     3
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     4
# includes module(s): Pyrex
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     5
#
17885
89c68f7e6b08 2010-04-20 Brian Cameron <[email protected]>
yippi
parents: 17864
diff changeset
     6
# Copyright 2010 Sun Microsystems, Inc.
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     7
# This file and all modifications and additions to the pristine
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     8
# package are under the same license as the package itself.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     9
#
16434
f21f22550fe9 2009-08-31 Christian Kelly <[email protected]>
chrisk
parents: 16425
diff changeset
    10
%define owner laca
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    11
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    12
21106
512b7ea38e70 2010-12-06 Brian Cameron <[email protected]>
yippi
parents: 17885
diff changeset
    13
%{!?pythonver:%define pythonver 2.6}
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    14
16425
d6ed2a48e85f 2009-08-31 Christian Kelly <[email protected]>
chrisk
parents: 16286
diff changeset
    15
%define OSR 3963:0.9.3.1
d6ed2a48e85f 2009-08-31 Christian Kelly <[email protected]>
chrisk
parents: 16286
diff changeset
    16
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    17
Name:         Pyrex
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    18
License:      Free
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    19
Group:        Development/Languages/Python
9422
b8e2466f86aa 2007-03-03 Damien Carbery <[email protected]>
dcarbery
parents: 9417
diff changeset
    20
# Unbumped to 0.9.4.1 because 0.9.5.1a breaks at-spi part of
b8e2466f86aa 2007-03-03 Damien Carbery <[email protected]>
dcarbery
parents: 9417
diff changeset
    21
# SUNWgnome-python-libs.
17885
89c68f7e6b08 2010-04-20 Brian Cameron <[email protected]>
yippi
parents: 17864
diff changeset
    22
%define tarball_version 0.9.9
89c68f7e6b08 2010-04-20 Brian Cameron <[email protected]>
yippi
parents: 17864
diff changeset
    23
Version:      0.9.9
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    24
Release:      1
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    25
Distribution: Java Desktop System
17864
337913e88a9d 2010-04-19 Christian Kelly <[email protected]>
chrisk
parents: 17470
diff changeset
    26
Vendor:       Other
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    27
Summary:      Pyrex, a language for writing Python extension modules
17470
556885aaa953 A2010-01-28 Brian Cameron <[email protected]>
yippi
parents: 16434
diff changeset
    28
Source:       http://www.cosc.canterbury.ac.nz/greg.ewing/python/%{name}/%{name}-%{tarball_version}.tar.gz
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    29
URL:          http://www.cosc.canterbury.ac.nz/~greg/python/Pyrex/
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    30
BuildRoot:    %{_tmppath}/%{name}-%{version}-build
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    31
Docdir:       %{_defaultdocdir}/doc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    32
Autoreqprov:  off
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    33
Prereq:       /sbin/ldconfig
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    34
Requires:      python >= %{pythonver}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    35
BuildRequires: python >= %{pythonver}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    36
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    37
%description
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    38
Pyrex lets you write code that mixes Python and C data types any way
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    39
you want, and compiles it into a C extension for Python.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    40
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    41
%prep
9417
551141824039 2007-03-02 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9397
diff changeset
    42
%setup -q -n Pyrex-%{tarball_version}
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    43
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    44
%build
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    45
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    46
%install
14644
744f9f20aadd 2008-11-24 Laszlo (Laca) Peter <[email protected]>
laca
parents: 14610
diff changeset
    47
python%{pythonver} setup.py install --prefix=%{_prefix} --root=$RPM_BUILD_ROOT
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    48
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    49
# move to vendor-packages
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    50
mv $RPM_BUILD_ROOT%{_libdir}/python%{pythonver}/site-packages \
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    51
   $RPM_BUILD_ROOT%{_libdir}/python%{pythonver}/vendor-packages
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    52
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    53
%clean
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    54
rm -rf $RPM_BUILD_ROOT
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    55
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    56
%files
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    57
%defattr(-, root, root)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    58
%{_bindir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    59
%{_libdir}/python%{pythonver}/vendor-packages
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    60
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    61
%changelog
17885
89c68f7e6b08 2010-04-20 Brian Cameron <[email protected]>
yippi
parents: 17864
diff changeset
    62
* Tue Apr 20 2010 - [email protected]
89c68f7e6b08 2010-04-20 Brian Cameron <[email protected]>
yippi
parents: 17864
diff changeset
    63
- Bump to 0.9.9.
17470
556885aaa953 A2010-01-28 Brian Cameron <[email protected]>
yippi
parents: 16434
diff changeset
    64
* Thu Jan 28 2010 - [email protected]
556885aaa953 A2010-01-28 Brian Cameron <[email protected]>
yippi
parents: 16434
diff changeset
    65
- Bump to 0.9.8.5.
16286
b52621ff5263 2009-08-15 Christian Kelly <[email protected]>
chrisk
parents: 14644
diff changeset
    66
* Sat Aug 15 2009 - [email protected]
b52621ff5263 2009-08-15 Christian Kelly <[email protected]>
chrisk
parents: 14644
diff changeset
    67
- Bump to 0.9.8.2.
14644
744f9f20aadd 2008-11-24 Laszlo (Laca) Peter <[email protected]>
laca
parents: 14610
diff changeset
    68
* Mon Nov 24 2008 - [email protected]
744f9f20aadd 2008-11-24 Laszlo (Laca) Peter <[email protected]>
laca
parents: 14610
diff changeset
    69
- use %{pythonver} macro to select which version of Python to build with
14610
43bba7e5a945 2008-11-17 Wang Xin <[email protected]>
jedy
parents: 9656
diff changeset
    70
* Mon Nov 17 2007 - [email protected]
43bba7e5a945 2008-11-17 Wang Xin <[email protected]>
jedy
parents: 9656
diff changeset
    71
- Fix installation directory bug.
9417
551141824039 2007-03-02 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9397
diff changeset
    72
* Fri Mar  2 2007 - [email protected]
551141824039 2007-03-02 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9397
diff changeset
    73
- bump to 0.9.5.1a
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    74
* Sat Jul 22 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    75
- Bump to 0.9.4.1.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    76
* Thu Oct 27 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    77
- move from site-packages to vendor-packages
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    78
* Mon Oct 24 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    79
- Include .pyc files. A Google search indicates that most people include them.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    80
* Thu Oct 20 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    81
- Delete .pyc files so they are not included in the package.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    82
* Wed Oct 19 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    83
- Correct install location.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    84
- Initial version.