Sophie

Sophie

distrib > Mandriva > current > i586 > media > contrib-release-src > by-pkgid > 043581e9d88da2c70d3a2921568eac39 > files > 1

python-xoltar-0.20010601-7mdv2010.0.src.rpm

%define oname    xoltar
%define name     python-%{oname}
%define version 0.20010601
%define oversion 01jun01
%define release %mkrel 7
%define dname    %{oname}-toolkit-%{oversion}
%define modules  functional lazy threadpool

Summary:       A collection of utilities for threading and FP in python
Name:          %{name}
Version:       %{version}
Release:       %{release}
Source0:       %dname.tar.bz2
License:       LGPL
Group:         Development/Python
BuildRoot:     %{_tmppath}/%{name}-buildroot
Url:           http://www.xoltar.org/languages/python.html
BuildRequires: python
BuildArch:     noarch

%description
The Xoltar Toolkit is a collection of useful utilities for programming
in Python. Aside from the threadpool module, the toolkit is mostly
concerned with enabling a functional programming style in Python.

%prep
%setup -c %dname
sed -i -e"s/__version__ ==/__version__ =/" threadpool.py

%build

%install
rm -rf $RPM_BUILD_ROOT
install -m755 -d $RPM_BUILD_ROOT/%{_libdir}/python%{pyver}/site-packages/
for module in %{modules}; do
  python -c "import $module"
  install -m644 $module.py* $RPM_BUILD_ROOT/%{_libdir}/python%{pyver}/site-packages/
done

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%doc *_changes.txt
%{_libdir}/python*/site-packages/*.py*



%changelog
* Fri Sep 04 2009 Thierry Vignaud <tvignaud@mandriva.com> 0.20010601-7mdv2010.0
+ Revision: 431355
- rebuild

* Wed Jul 23 2008 Thierry Vignaud <tvignaud@mandriva.com> 0.20010601-6mdv2009.0
+ Revision: 242466
- rebuild
- kill re-definition of %%buildroot on Pixel's request

  + Olivier Blin <oblin@mandriva.com>
    - restore BuildRoot

* Thu Aug 23 2007 Thierry Vignaud <tvignaud@mandriva.com> 0.20010601-4mdv2008.0
+ Revision: 69370
- use %%mkrel


* Sun Dec 05 2004 Michael Scherer <misc@mandrake.org> 0.20010601-3mdk
- Rebuild for new python

* Sat Aug 09 2003 Austin Acton <aacton@yorku.ca> 0.20010601-2mdk
- python 2.3

* Wed Jul 09 2003 Austin Acton <aacton@yorku.ca> 0.20010601-1mdk
- from andi payn <payn@myrealbox.com> :
  - initial specfile