]> git.pld-linux.org Git - packages/f2py.git/commitdiff
- initial pld release
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Wed, 29 Jun 2005 13:38:09 +0000 (13:38 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    f2py.spec -> 1.1

f2py.spec [new file with mode: 0644]

diff --git a/f2py.spec b/f2py.spec
new file mode 100644 (file)
index 0000000..669dd80
--- /dev/null
+++ b/f2py.spec
@@ -0,0 +1,39 @@
+%define        module  f2py2e
+Summary:       Fortran to Python interface generator
+Summary(pl):   Oprogramowanie do robienia kopii zapasowych
+Name:          f2py
+Version:       2.45.241_1926
+Release:       1
+License:       GPL
+Group:         Networking/Utilities
+Source0:       http://cens.ioc.ee/projects/f2py2e/2.x/F2PY-%{version}.tar.gz
+# Source0-md5: 8aedac9cad32afdcddcfb026b6393ece
+URL:           http://cens.ioc.ee/projects/f2py2e/
+%pyrequires_eq  python-modules
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Fortran to Python interface generator.
+
+%prep
+%setup -q -n F2PY-%{version}
+
+%build
+python setup.py build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+python setup.py install \
+       --root=$RPM_BUILD_ROOT \
+       --optimize=2
+
+find $RPM_BUILD_ROOT%{py_sitescriptdir} -name "*.py" | xargs rm
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/*
+%{py_sitescriptdir}/%{module}
This page took 0.05916 seconds and 4 git commands to generate.