SPECS: python-configobj.spec (NEW) - initial PLD release

patrys patrys at pld-linux.org
Wed Dec 26 20:08:53 CET 2007


Author: patrys                       Date: Wed Dec 26 19:08:53 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- initial PLD release

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

---- Diffs:

================================================================
Index: SPECS/python-configobj.spec
diff -u /dev/null SPECS/python-configobj.spec:1.1
--- /dev/null	Wed Dec 26 20:08:53 2007
+++ SPECS/python-configobj.spec	Wed Dec 26 20:08:48 2007
@@ -0,0 +1,52 @@
+# $Revision$, $Date$
+Summary:	Reading and writing config files
+Name:		python-configobj
+Version:	4.4.0
+Release:	1
+License:	MIT
+Group:		Libraries/Python
+Source0:	http://downloads.sourceforge.net/configobj/configobj-%{version}.zip
+# Source0-md5:	9d222d8d583b9bdc5b5ecbae1be5177a
+URL:		http://www.voidspace.org.uk/python/configobj.html
+BuildRequires:	python-devel >= 1:2.3.0
+%pyrequires_eq	python-modules
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Reading and writing config files.
+
+%prep
+%setup -q -n configobj-%{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}
+
+find $RPM_BUILD_ROOT%{py_sitescriptdir} -name "*.py" | xargs rm
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%{py_sitescriptdir}/*
+
+%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  2007-12-26 19:08:48  patrys
+- initial PLD release
+
================================================================


More information about the pld-cvs-commit mailing list