SPECS: python-iniparse.spec (NEW) - initial PLD release - spec taken from F...

patrys patrys at pld-linux.org
Wed Aug 27 22:16:04 CEST 2008


Author: patrys                       Date: Wed Aug 27 20:16:04 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- initial PLD release
- spec taken from Fedora

---- Files affected:
SPECS:
   python-iniparse.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/python-iniparse.spec
diff -u /dev/null SPECS/python-iniparse.spec:1.1
--- /dev/null	Wed Aug 27 22:16:04 2008
+++ SPECS/python-iniparse.spec	Wed Aug 27 22:15:59 2008
@@ -0,0 +1,54 @@
+# $Revision$, $Date$
+Summary:	Python Module for Accessing and Modifying Configuration Data in INI files
+Name:		python-iniparse
+Version:	0.2.3
+Release:	1
+Group:		Development/Libraries
+Source0:	http://iniparse.googlecode.com/files/iniparse-%{version}.tar.gz
+# Source0-md5:	194a04cc93fe123f244ca33e7724bdf6
+License:	MIT
+URL:		http://code.google.com/p/iniparse/
+BuildRequires:	python-setuptools
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%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 \
+	--optimize=2 \
+	--root=$RPM_BUILD_ROOT
+
+%py_ocomp $RPM_BUILD_ROOT%{py_sitescriptdir}
+%py_comp $RPM_BUILD_ROOT%{py_sitescriptdir}
+%py_postclean
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%{py_sitescriptdir}/iniparse-%{version}-py*.egg-info
+%{py_sitescriptdir}/iniparse
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2008/08/27 20:15:59  patrys
+- initial PLD release
+- spec taken from Fedora
+
================================================================


More information about the pld-cvs-commit mailing list