]> git.pld-linux.org Git - packages/f2py.git/blame - f2py.spec
- initial pld release
[packages/f2py.git] / f2py.spec
CommitLineData
9f032e2c
AM
1%define module f2py2e
2Summary: Fortran to Python interface generator
3Summary(pl): Oprogramowanie do robienia kopii zapasowych
4Name: f2py
5Version: 2.45.241_1926
6Release: 1
7License: GPL
8Group: Networking/Utilities
9Source0: http://cens.ioc.ee/projects/f2py2e/2.x/F2PY-%{version}.tar.gz
10# Source0-md5: 8aedac9cad32afdcddcfb026b6393ece
11URL: http://cens.ioc.ee/projects/f2py2e/
12%pyrequires_eq python-modules
13BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15%description
16Fortran to Python interface generator.
17
18%prep
19%setup -q -n F2PY-%{version}
20
21%build
22python setup.py build
23
24%install
25rm -rf $RPM_BUILD_ROOT
26
27python setup.py install \
28 --root=$RPM_BUILD_ROOT \
29 --optimize=2
30
31find $RPM_BUILD_ROOT%{py_sitescriptdir} -name "*.py" | xargs rm
32
33%clean
34rm -rf $RPM_BUILD_ROOT
35
36%files
37%defattr(644,root,root,755)
38%attr(755,root,root) %{_bindir}/*
39%{py_sitescriptdir}/%{module}
This page took 0.15795 seconds and 4 git commands to generate.