SPECS: python-cfgparse.spec (NEW) - added, STBR

twittner twittner at pld-linux.org
Sun Mar 12 08:22:14 CET 2006


Author: twittner                     Date: Sun Mar 12 07:22:14 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added, STBR

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

---- Diffs:

================================================================
Index: SPECS/python-cfgparse.spec
diff -u /dev/null SPECS/python-cfgparse.spec:1.1
--- /dev/null	Sun Mar 12 08:22:14 2006
+++ SPECS/python-cfgparse.spec	Sun Mar 12 08:22:08 2006
@@ -0,0 +1,59 @@
+# $Revision$, $Date$
+#
+%define		module	cfgparse
+%define		_ver	v01_02
+%define		ver	%(echo %{_ver} | sed -e 's@^v0@@' -e 's at _@. at g')
+#
+Summary:	Python configuration file parser module
+Summary(pl):	Moduł Pythona do parsowania plików konfiguracyjnych
+Name:		python-cfgparse
+Version:	%{ver}
+Release:	1
+License:	distrubutable	
+Group:		Libraries/Python
+Source0:	http://dl.sourceforge.net/sourceforge/cfgparse/%{module}-%{_ver}.tar.gz
+# Source0-md5:	9add1b0bbf828f7c7383407cdeefea94
+URL:		http://cfgparse.sourceforge.net/
+BuildRequires:	python >= 2.3
+BuildRequires:	rpmbuild(macros) >= 1.231
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Python configuration file parser module.
+
+%description -l pl
+Moduł Pythona do parsowania plików konfiguracyjnych.
+
+%prep
+%setup -q -n %{module}-%{_ver}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+python ./setup.py install \
+	--root=$RPM_BUILD_ROOT
+
+# make python *.pyo files
+%{py_ocomp} $RPM_BUILD_ROOT%{py_sitescriptdir}
+
+# remove .py files, leave just compiled ones.
+%{py_postclean}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README.txt docs/cfgparse.pdf docs/cfgparse/* 
+%{py_sitescriptdir}/*.py[co]
+
+%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  2006/03/12 07:22:08  twittner
+- added, STBR
+
================================================================


More information about the pld-cvs-commit mailing list