Author: baggins                      Date: Thu May  4 13:55:48 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- initial revision

---- Files affected:
SPECS:
   python-pypar.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/python-pypar.spec
diff -u /dev/null SPECS/python-pypar.spec:1.1
--- /dev/null   Thu May  4 15:55:48 2006
+++ SPECS/python-pypar.spec     Thu May  4 15:55:42 2006
@@ -0,0 +1,80 @@
+# $Revision$, $Date$
+
+%define        module  pypar
+
+Summary:       pypar - Parallel Programming in the spirit of Python!
+Name:          python-%{module}
+Version:       1.9.2
+%define                _vername %(echo %{version}|tr . _)
+Release:       0.1
+License:       BSD-like
+Group:         Libraries/Python
+Source0:       
http://datamining.anu.edu.au/~ole/pypar/%{module}_%{_vername}.tgz
+# Source0-md5: a21bf293f64ae4531ebcdb7be74b5415
+URL:           http://datamining.anu.edu.au/~ole/pypar/
+BuildRequires: python-devel >= 1:2.3
+BuildRequires: python-numarray-devel
+BuildRequires: python-numpy
+BuildRequires: mpich-devel
+%pyrequires_eq python-libs
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Pypar is an efficient but easy-to-use module that allows programs/scripts
+written in the Python programming language to run in parallel on multiple
+processors and communicate using message passing. Pypar provides bindings to an
+important subset of the message passing interface standard MPI.
+
+%package examples
+Summary:       Example programs for Python pypar module
+Summary(pl):   Programy przykładowe do modułu Pythona pypar
+Group:         Development/Languages/Python
+Requires:      %{name} = %{version}-%{release}
+
+%description examples
+This package contains example programs for Python pypar module.
+
+%description examples -l pl
+Pakiet zawierający programy przykładowe dla modułu Pythona pypar.
+
+%prep
+%setup -q -n %{module}_%{_vername}
+
+%build
+python setup.py build_ext
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d 
$RPM_BUILD_ROOT{%{py_sitescriptdir},%{_examplesdir}/%{name}-%{version}}
+
+python setup.py install \
+       --root=$RPM_BUILD_ROOT \
+       --install-lib=%{py_sitescriptdir} \
+       --optimize=2
+
+find $RPM_BUILD_ROOT%{py_sitescriptdir} -name \*.py -exec rm {} \;
+
+cp -ar example/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README.txt
+%{py_sitescriptdir}/pypar
+
+%files examples
+%defattr(644,root,root,755)
+%{_examplesdir}/%{name}-%{version}
+
+%define date   %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <[EMAIL PROTECTED]>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2006/05/04 13:55:42  baggins
+- initial revision
+
================================================================
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to