]> git.pld-linux.org Git - packages/f2py.git/blob - f2py.spec
215164857510cad733e11407eb015ad1505f85f3
[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 BuildRequires:  python-modules
14 BuildRequires:  rpm-pythonprov
15 BuildArch:      noarch
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 Fortran to Python interface generator.
20
21 %description -l pl.UTF-8
22 Generator interfejsów z Fortranu do Pythona.
23
24 %prep
25 %setup -q -n F2PY-%{version}
26
27 %build
28 python setup.py build
29
30 %install
31 rm -rf $RPM_BUILD_ROOT
32
33 python setup.py install \
34         --root=$RPM_BUILD_ROOT \
35         --optimize=2
36
37 find $RPM_BUILD_ROOT%{py_sitescriptdir} -name "*.py" | xargs rm
38
39 %clean
40 rm -rf $RPM_BUILD_ROOT
41
42 %files
43 %defattr(644,root,root,755)
44 %attr(755,root,root) %{_bindir}/*
45 %{py_sitescriptdir}/%{module}
This page took 0.103649 seconds and 2 git commands to generate.