Sophie

Sophie

distrib > Mandriva > 2010.2 > i586 > media > contrib-release-src > by-pkgid > 4af4c146e6c520dc21b7e814029cd8de > files > 2

python-Itpl-0-8mdv2010.0.src.rpm

%define oname   Itpl
%define name    python-%oname
%define version 0
%define release %mkrel 8


Summary:       String interpolation (variable expansion) for Python
Name:          %{name}
Version:       %{version}
Release:       %{release}
Source0:       http://www.lfw.org/python/Itpl.py
License:       Public Domain
Group:         Development/Python
BuildRoot:     %{_tmppath}/%{name}-buildroot
Url:           http://www.python.org/peps/pep-0215.html
BuildRequires: python-devel
BuildArch:     noarch

%description
This is a python module for interpolating strings (that is,
for expanding variables within strings), as described in
PEP 215. This module may become part of the standard library,
or the functionality may be built into Python in the future.

%install
rm -rf $RPM_BUILD_ROOT
install -m644 -D %SOURCE0 $RPM_BUILD_ROOT/%{_libdir}/python%pyver/site-packages/%oname.py
cd $RPM_BUILD_ROOT/%{_libdir}/python%pyver/site-packages/
python -c "import Itpl"

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%py_platsitedir/Itpl.py*




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

* Fri Aug 01 2008 Thierry Vignaud <tvignaud@mandriva.com> 0-7mdv2009.0
+ Revision: 259649
- rebuild

* Fri Jul 25 2008 Thierry Vignaud <tvignaud@mandriva.com> 0-6mdv2009.0
+ Revision: 247490
- rebuild

* Fri Dec 21 2007 Olivier Blin <oblin@mandriva.com> 0-4mdv2008.1
+ Revision: 136450
- restore BuildRoot

  + Thierry Vignaud <tvignaud@mandriva.com>
    - kill re-definition of %%buildroot on Pixel's request


* Wed Jan 31 2007 Nicolas Lécureuil <neoclust@mandriva.org> 0-4mdv2007.0
+ Revision: 115770
- Rebuild against new python
- Import python-Itpl

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