SPECS: python-pygsl.spec (NEW) - new - works fine for now
czarny
czarny at pld-linux.org
Tue Apr 29 10:56:27 CEST 2008
Author: czarny Date: Tue Apr 29 08:56:27 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- new
- works fine for now
---- Files affected:
SPECS:
python-pygsl.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/python-pygsl.spec
diff -u /dev/null SPECS/python-pygsl.spec:1.1
--- /dev/null Tue Apr 29 10:56:27 2008
+++ SPECS/python-pygsl.spec Tue Apr 29 10:56:22 2008
@@ -0,0 +1,74 @@
+# $Revision$, $Date$
+%define module pygsl
+%define snap 20080429
+Summary: Python interface to GSL
+Summary(pl.UTF-8): Pythonowy interfejs do GSL
+Name: python-%{module}
+Version: 0.9.1
+Release: 0.%{snap}
+License: GPL v2
+Group: Development/Languages/Python
+#Source0: http://dl.sourceforge.net/pygsl/%{module}-%{version}.tar.gz
+Source0: %{module}-%{snap}.tar.bz2
+# Source0-md5: c5851a4feeb991bf2ffb58e5b5fcd0ab
+URL: http://pygsl.sourceforge.net
+Patch0: %{name}-initmodule.patch
+BuildRequires: gcc
+BuildRequires: gsl-devel >= 1.11
+BuildRequires: python-numpy-devel >= 1.0.4
+BuildRequires: python-devel >= 1:2.5
+BuildRequires: rpm-pythonprov
+%pyrequires_eq python-modules
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Python interface to GSL.
+
+%description -l pl.UTF-8
+Pythonowy interfejs do GSL.
+
+%prep
+%setup -q -n %{module}-%{snap}
+%patch0 -p1
+
+%build
+python setup.py build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+python setup.py install \
+ --optimize=2 \
+ --root=$RPM_BUILD_ROOT
+
+%py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
+%py_comp $RPM_BUILD_ROOT%{py_sitedir}
+%py_postclean
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc CREDITS ChangeLog README TODO
+%{py_sitedir}/%{module}/*.py[co]
+%attr(755,root,root) %{py_sitedir}/%{module}/*.so
+%{py_sitedir}/%{module}/gsl_dist
+%dir %{py_sitedir}/%{module}/statistics
+%{py_sitedir}/%{module}/statistics/*.py[co]
+%attr(755,root,root) %{py_sitedir}/%{module}/statistics/*.so
+%dir %{py_sitedir}/%{module}/testing
+%{py_sitedir}/%{module}/testing/*.py[co]
+%attr(755,root,root) %{py_sitedir}/%{module}/testing/*.so
+%{py_sitedir}/%{module}-*.egg-info
+%{_includedir}/python*/pygsl
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1 2008-04-29 08:56:22 czarny
+- new
+- works fine for now
+
================================================================
More information about the pld-cvs-commit
mailing list