| 1 |
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
| 2 |
|
| 3 |
Name: python-pp
|
| 4 |
Version: 1.5.7
|
| 5 |
Release: 4%{?dist}
|
| 6 |
Summary: Parallel execution of python on smp
|
| 7 |
|
| 8 |
Group: Development/Libraries
|
| 9 |
License: BSD
|
| 10 |
URL: http://www.parallelpython.com/
|
| 11 |
Source0: http://www.parallelpython.com/downloads/pp/pp-%{version}.tar.bz2
|
| 12 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
| 13 |
|
| 14 |
BuildArch: noarch
|
| 15 |
Requires: python >= 2.3, python-configobj
|
| 16 |
BuildRequires: python-devel, python-setuptools
|
| 17 |
|
| 18 |
|
| 19 |
%description
|
| 20 |
pp is a python module which provides mechanism for parallel execution of
|
| 21 |
python code on SMP (systems with multiple processors or cores) and clusters
|
| 22 |
(computers connected via network).
|
| 23 |
|
| 24 |
|
| 25 |
%prep
|
| 26 |
%setup -q -n pp-%{version}
|
| 27 |
|
| 28 |
|
| 29 |
%build
|
| 30 |
%{__python} setup.py build
|
| 31 |
|
| 32 |
|
| 33 |
%install
|
| 34 |
rm -rf $RPM_BUILD_ROOT
|
| 35 |
mkdir -p $RPM_BUILD_ROOT/%{_bindir}
|
| 36 |
%{__python} setup.py install --skip-build --root $RPM_BUILD_ROOT
|
| 37 |
mv $RPM_BUILD_ROOT/%{_bindir}/ppserver.py $RPM_BUILD_ROOT/%{_bindir}/ppserver
|
| 38 |
|
| 39 |
|
| 40 |
%clean
|
| 41 |
rm -rf $RPM_BUILD_ROOT
|
| 42 |
|
| 43 |
|
| 44 |
%files
|
| 45 |
%defattr(-,root,root,-)
|
| 46 |
%doc PKG-INFO README doc/example.config doc/ppdoc.html
|
| 47 |
# For noarch packages: sitelib
|
| 48 |
%{python_sitelib}/*
|
| 49 |
%attr (0755,root,root) %{_bindir}/ppserver
|
| 50 |
|
| 51 |
|
| 52 |
%changelog
|
| 53 |
* Tue Aug 11 2009 Ville Skyttä <ville.skytta@iki.fi> - 1.5.7-4
|
| 54 |
- Use bzipped upstream tarball.
|
| 55 |
|
| 56 |
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.7-3
|
| 57 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
| 58 |
|
| 59 |
* Thu Apr 30 2009 Steve 'Ashcrow' Milner <me@stevemilner.org> - 1.5.7-2
|
| 60 |
- Including new dependency and docs
|
| 61 |
|
| 62 |
* Thu Apr 30 2009 Steve 'Ashcrow' Milner <me@stevemilner.org> - 1.5.7-1
|
| 63 |
- Updated to upstream latest stable.
|
| 64 |
|
| 65 |
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.6-3
|
| 66 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
| 67 |
|
| 68 |
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 1.5.6-2
|
| 69 |
- Rebuild for Python 2.6
|
| 70 |
|
| 71 |
* Sun Sep 14 2008 Steve 'Ashcrow' Milner <me@stevemilner.org> - 1.5.6-1
|
| 72 |
- Updated to upstream latest stable.
|
| 73 |
|
| 74 |
* Fri Aug 12 2008 Steve 'Ashcrow' Milner <me@stevemilner.org> - 1.5.5-1
|
| 75 |
- Updated to upstream latest stable.
|
| 76 |
|
| 77 |
* Mon Jul 21 2008 Steve 'Ashcrow' Milner <me@stevemilner.org> - 1.5.4-2
|
| 78 |
- Updated due to a bad cvs tag.
|
| 79 |
|
| 80 |
* Fri Jun 13 2008 Steve 'Ashcrow' Milner <me@stevemilner.org> - 1.5.4-1
|
| 81 |
- Updated to upstream latest stable.
|
| 82 |
|
| 83 |
* Thu Mar 20 2008 Steve 'Ashcrow' Milner <me@stevemilner.org> - 1.5.3-1
|
| 84 |
- Updated to upstream latest stable.
|
| 85 |
|
| 86 |
* Sun Jan 27 2008 Steve 'Ashcrow' Milner <me@stevemilner.org> - 1.5.2-1
|
| 87 |
- Updated to upstream latest stable.
|
| 88 |
|
| 89 |
* Sun Dec 16 2007 Steve 'Ashcrow' Milner <me@stevemilner.org> - 1.5-1
|
| 90 |
- Updated to upstream latest stable.
|
| 91 |
|
| 92 |
* Fri Nov 16 2007 Steve 'Ashcrow' Milner <me@stevemilner.org> - 1.4.5-3
|
| 93 |
- Removed -O1 flag.
|
| 94 |
|
| 95 |
* Sat Oct 14 2007 Steve 'Ashcrow' Milner <me@stevemilner.org> - 1.4.5-2
|
| 96 |
- Moving ppserver.py to ppserver.
|
| 97 |
- Removed if/then block.
|
| 98 |
|
| 99 |
* Sat Oct 13 2007 Steve 'Ashcrow' Milner <me@stevemilner.org> - 1.4.5-1
|
| 100 |
- Initial packaging for Fedora.
|