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