Sophie

Sophie

distrib > Mandriva > 2006.0 > x86_64 > by-pkgid > 03374053c9522ca5219a00b417a20602 > files > 2

f2py-2.45.241_1926-4mdk.src.rpm

%define name f2py
%define version 2.45.241_1926
%define release 4

Summary:	Fortran to Python Interface Generaton
Name:		%{name}
Version:	%{version}
Release:	%mkrel %{release}
Source0:	http://cens.ioc.ee/projects/f2py2e/2.x/F2PY-%{version}.tar.bz2
License:	LGPL
Group:		Development/Python
BuildRoot:	%{_tmppath}/%{name}-buildroot
BuildArch:	noarch
Url:		http://cens.ioc.ee/projects/f2py2e/
Requires:	python-numeric gcc-gfortran
#Requires:	python-SciPy
BuildRequires:	python

%description
The Fortran to Python Interface Generator, or F2PY for short, is a
command line tool (f2py) for generating Python C/API modules for
wrapping Fortran 77/90/95 subroutines, accessing common blocks from
Python, and calling Python functions from Fortran (call-backs).
Interfacing subroutines/data from Fortran 90/95 modules is supported.

%prep
%setup -n F2PY-%version

%build
python setup.py build

%install
rm -rf $RPM_BUILD_ROOT

python setup.py install --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES

%clean
rm -rf $RPM_BUILD_ROOT

%files -f INSTALLED_FILES
%defattr(-,root,root)
%doc docs/ tests/ README.txt

%changelog
* Fri Jul  8 2005 Gaetan Lehmann <gaetan.lehmann@jouy.inra.fr> 2.45.241_1926-4mdk
- requires gfortran instead of g77

* Mon May 23 2005 Gaetan Lehmann <gaetan.lehmann@jouy.inra.fr> 2.45.241_1926-3mdk
- remove requires python-SciPy to build SciPy on x86_64

* Wed Mar 30 2005 Gaetan Lehmann <glehmann@n4.mandrakesoft.com> 2.45.241_1926-2mdk
- add Requires: python-SciPy (now in contrib)
- add BuildRequires: python

* Wed Mar 30 2005 Gaetan Lehmann <glehmann@n4.mandrakesoft.com> 2.45.241_1926-1mdk
- initial contrib