File pyrex.spec of Package pyrex

#
# spec file for package pyrex (Version 0.9.5.1a)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild

Name:           pyrex
BuildRequires:  pkgconfig python-devel
URL:            http://nz.cosc.canterbury.ac.nz/~greg/python/Pyrex/
License:        Other uncritical OpenSource License
Group:          Development/Languages/Python
Version:        0.9.5.1a
Release:        1
Autoreqprov:    on
Summary:        Pyrex lets you write code that mixes Python and C data types any way you want, and compiles it into a C extension for Python.
Source0:        Pyrex-%{version}.tar.gz
Patch0:         pyrex-initialize-lineno-thoenig-01.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
%{py_requires}

%description
Pyrex is a language specially designed for writing Python extension
modules. It's designed to bridge the gap between the nice, high-level,
easy-to-use world of Python and the messy, low-level world of C.

http://www.cosc.canterbury.ac.nz/~greg/python/Pyrex/



Authors:
--------
    Greg Ewing (greg@cosc.canterbury.ac.nz )

%prep
%setup -n Pyrex-%{version} -q
%patch0 -p0

%build
export CFLAGS="$RPM_OPT_FLAGS" 
python setup.py build

%install
python setup.py install --prefix=%{_prefix} --root=$RPM_BUILD_ROOT --record-rpm=INSTALLED_FILES

%files -f INSTALLED_FILES
%defattr(-, root, root)
%doc *.txt Doc/*
%doc Demos 

%changelog
* Thu Mar 01 2007 - thoenig@suse.de
- new upstream version 0.9.5.1a
- drop patch pyrex-python-2.5.patch
* Wed Nov 15 2006 - thoenig@suse.de
- add patch pyrex-python-2.5.patch: make Pyrex run properly on
  Python 2.5 (patch by Stefan Behnel)
- fixes b.n.c #221342
* Tue Aug 01 2006 - thoenig@suse.de
- add patch pyrex-initialize-lineno-thoenig-01.patch to avoid
  creation of C code which uses uninitialized variables
* Thu Jul 27 2006 - thoenig@suse.de
- new version: new upstream version 0.9.4.1
- drop pyrex-try_finally-thoenig-01.patch
- closes b.n.c #194372
* Tue Feb 28 2006 - jmatejek@suse.cz
- updated to reflect python changes due to #149809
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Sat Dec 17 2005 - thoenig@suse.de
- new version: new upstream version 0.9.3.1
- added patch:
  * pyrex-try_finally-thoenig-01.patch: fix Pyrex compiler to
  initialize local variables for try, finally structures
- removed patch:
  * pyrex-0.9.2.1-gcc4.patch
* Fri Jul 01 2005 - kay.sievers@suse.de
- gcc4 patch from RH
* Wed Nov 24 2004 - mcihar@suse.cz
- use just distutils and no other magic
* Wed Nov 24 2004 - dkukawka@suse.de
- changed '%%define python_site' due to new python-version
* Thu Nov 04 2004 - thoenig@suse.de
- initial rpm for suse
openSUSE Build Service is sponsored by