SPECS: python-decorator.spec (NEW) - based on python-gaphas.spec

wrobell wrobell at pld-linux.org
Mon Sep 10 19:54:32 CEST 2007


Author: wrobell                      Date: Mon Sep 10 17:54:32 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- based on python-gaphas.spec

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

---- Diffs:

================================================================
Index: SPECS/python-decorator.spec
diff -u /dev/null SPECS/python-decorator.spec:1.1
--- /dev/null	Mon Sep 10 19:54:32 2007
+++ SPECS/python-decorator.spec	Mon Sep 10 19:54:27 2007
@@ -0,0 +1,53 @@
+# $Revision$, $Date$
+%define module decorator
+Summary:	Bunch of nice decorators for Python
+Name:		python-%{module}
+Version:	2.2.0
+Release:	1
+License:	LGPL
+Group:		Python/Libraries
+Source0:	http://www.phyast.pitt.edu/~micheles/python/%{module}-%{version}.zip
+# Source0-md5:	4732d42d7b9f1b19de960a84b57a63da
+URL:		http://www.phyast.pitt.edu/~micheles/python/documentation.html
+BuildRequires:	python-devel
+%pyrequires_eq	python-libs
+Requires:	python-pygtk-gtk >= 2.8.4
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Bunch of nice decorators for Python like memoize, tracing,
+redirecting_stdout, locked.
+
+%prep
+%setup -qc
+
+%build
+%{__python} setup.py build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__python} setup.py install \
+		--optimize=2 \
+		--root=$RPM_BUILD_ROOT
+
+%py_postclean
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc documentation.* README.txt
+%{py_sitescriptdir}/%{module}*
+
+%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/09/10 17:54:27  wrobell
+- based on python-gaphas.spec
+
================================================================


More information about the pld-cvs-commit mailing list