rpms/python-iniparse/F-7 python-iniparse.spec, NONE, 1.1 sources, 1.1, 1.2
Tim Lauridsen (timlau)
fedora-extras-commits at redhat.com
Wed Aug 1 08:05:02 UTC 2007
Author: timlau
Update of /cvs/pkgs/rpms/python-iniparse/F-7
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv5622
Modified Files:
sources
Added Files:
python-iniparse.spec
Log Message:
Release 0.2-4
--- NEW FILE python-iniparse.spec ---
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
Name: python-iniparse
Version: 0.2
Release: 4%{?dist}
Summary: Python Module for Accessing and Modifying Configuration Data in INI files
Group: Development/Libraries
License: MIT
URL: http://code.google.com/p/iniparse/
Source0: http://iniparse.googlecode.com/files/iniparse-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: python-setuptools
BuildArch: noarch
%description
iniparse is an INI parser for Python which is API compatible
with the standard library's ConfigParser, preserves structure of INI
files (order of sections & options, indentation, comments, and blank
lines are preserved when data is updated), and is more convenient to
use.
%prep
%setup -q -n iniparse-%{version}
%build
%{__python} setup.py build
%install
rm -rf $RPM_BUILD_ROOT
%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
# fixes
chmod 644 $RPM_BUILD_ROOT//usr/share/doc/iniparse-%{version}/index.html
mv $RPM_BUILD_ROOT/usr/share/doc/iniparse-%{version} $RPM_BUILD_ROOT/usr/share/doc/python-iniparse-%{version}
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc %{_docdir}/python-iniparse-%{version}/*
%{python_sitelib}/iniparse
%changelog
* Wed Aug 1 2007 Tim Lauridsen <timlau at fedoraproject.org> - 0.2-4
- bumped release for rebuild
* Fri Jul 27 2007 Tim Lauridsen <timlau at fedoraproject.org> - 0.2-3
- relocated doc to %{_docdir}/python-iniparse-%{version}
* Thu Jul 26 2007 Tim Lauridsen <timlau at fedoraproject.org> - 0.2-2
- changed name from iniparse to python-iniparse
* Tue Jul 17 2007 Tim Lauridsen <timlau at fedoraproject.org> - 0.2-1
- Release 0.2
- Added html/* to %%doc
* Fri Jul 13 2007 Tim Lauridsen <timlau at fedoraproject.org> - 0.1-1
- Initial build.
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/python-iniparse/F-7/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 31 Jul 2007 18:21:04 -0000 1.1
+++ sources 1 Aug 2007 08:04:30 -0000 1.2
@@ -0,0 +1 @@
+df8e04738d540800529cf285dbc25b8f iniparse-0.2.tar.gz
More information about the fedora-extras-commits
mailing list