rpms/pypar/EL-5 pypar.spec,NONE,1.1 sources,1.1,1.2
Jussi Lehtola
jussilehtola at fedoraproject.org
Thu Jun 4 17:21:50 UTC 2009
- Previous message (by thread): rpms/pypar/devel import.log, NONE, 1.1 pypar.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message (by thread): rpms/pypar/F-11 pypar.spec,NONE,1.1 sources,1.1,1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: jussilehtola
Update of /cvs/pkgs/rpms/pypar/EL-5
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv20890/EL-5
Modified Files:
sources
Added Files:
pypar.spec
Log Message:
Imported in Fedora.
--- NEW FILE pypar.spec ---
%{!?python_sitearch: %global python_sitearch %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
Name: pypar
Version: 2.1.0_66
Release: 3%{?dist}
Summary: Parallel programming with Python
Group: Development/Libraries
License: GPLv2+
URL: http://sourceforge.net/projects/pypar
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tgz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: numpy
BuildRequires: python-setuptools-devel
%if 0%{?fedora} > 11
BuildRequires: openmpi
%else
BuildRequires: openmpi-devel
%endif
Requires: numpy
# Check for mpi-selector or environment-modules
%global selector 0
%global modules 0
%if 0%{?fedora} > 9
%global modules 1
%endif
%if 0%{?rhel} == 4
%global selector 1
%endif
%if 0%{?rhel} == 5
%global selector 1
%endif
%if %modules == 1
BuildRequires: environment-modules
%endif
%if %selector == 1
BuildRequires: mpi-selector
%endif
%description
Pypar is an efficient but easy-to-use module that allows programs written in
Python to run in parallel on multiple processors and communicate using message
passing. Pypar provides bindings to a subset of the message passing interface
standard MPI.
%prep
%setup -q -n %{name}_%{version}
%build
# Load MPI enviroment
%if %modules == 1
. /etc/profile.d/modules.sh
module load %{_libdir}/openmpi/*/openmpi.module
export CFLAGS="%{optflags}"
%endif
%if %selector == 1
mpi-selector --set `mpi-selector --list | grep openmpi`
source /etc/profile.d/mpi-selector.sh
%endif
cd source
CFLAGS="%{optflags}" python -c 'import setuptools; execfile("setup.py")' build
%install
rm -rf %{buildroot}
cd source
python -c 'import setuptools; execfile("setup.py")' install -O1 --skip-build --root %{buildroot}
cd ..
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%doc documentation/* LICENSE demos/
%{python_sitearch}/pypar/
%{python_sitearch}/Pypar*.egg-info
%changelog
* Thu Jun 04 2009 Jussi Lehtola <jussi.lehtola at iki.fi> - 2.1.0_66-3
- Fix build in rawhide.
* Fri May 15 2009 Jussi Lehtola <jussi.lehtola at iki.fi> - 2.1.0_66-2
- Merge examples into main package and %doc.
- Spec file cleanups.
* Mon Mar 02 2009 Jussi Lehtola <jussi.lehtola at iki.fi> - 2.1.0_66-1
- Update to 2.1.0_66.
- Branch examples into subpackage.
* Sun Feb 29 2009 Jussi Lehtola <jussi.lehtola at iki.fi> - 2.1.0_64-1
- Update to 2.1.0_64.
* Sat Feb 28 2009 Jussi Lehtola <jussi.lehtola at iki.fi> - 2.1.0_63-1
- Update to 2.1.0_63 that should fix rpmlint errors.
* Thu Feb 26 2009 Jussi Lehtola <jussi.lehtola at iki.fi> - 2.1.0_53-1
- First release.
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/pypar/EL-5/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources 4 Jun 2009 15:41:10 -0000 1.1
+++ sources 4 Jun 2009 17:21:19 -0000 1.2
@@ -0,0 +1 @@
+d7cbd967f078b751fd4d2aa7755dd34a pypar-2.1.0_66.tgz
- Previous message (by thread): rpms/pypar/devel import.log, NONE, 1.1 pypar.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message (by thread): rpms/pypar/F-11 pypar.spec,NONE,1.1 sources,1.1,1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list