packages: python-ConcurrentLogHandler/python-ConcurrentLogHandler.spec (NEW...
cieciwa
cieciwa at pld-linux.org
Wed Jun 29 10:32:22 CEST 2011
Author: cieciwa Date: Wed Jun 29 08:32:22 2011 GMT
Module: packages Tag: HEAD
---- Log message:
- initial.
---- Files affected:
packages/python-ConcurrentLogHandler:
python-ConcurrentLogHandler.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/python-ConcurrentLogHandler/python-ConcurrentLogHandler.spec
diff -u /dev/null packages/python-ConcurrentLogHandler/python-ConcurrentLogHandler.spec:1.1
--- /dev/null Wed Jun 29 10:32:22 2011
+++ packages/python-ConcurrentLogHandler/python-ConcurrentLogHandler.spec Wed Jun 29 10:32:17 2011
@@ -0,0 +1,67 @@
+# $Revision$, $Date$
+# TODO
+# - better group
+%define module ConcurrentLogHandler
+Summary: Concurrent logging handler (drop-in replacement for RotatingFileHandler)
+Name: python-%{module}
+Version: 0.8.4
+Release: 0.1
+License: Apahe 2.0
+Group: Development/Languages/Python
+Source0: http://pypi.python.org/packages/source/C/%{module}/%{module}-%{version}.tar.gz
+# Source0-md5: 6d1665c645711380d29c06a7017eed49
+URL: http://pypi.python.org/ConcurrentLogHandler
+BuildRequires: python-distribute
+BuildRequires: rpm-pythonprov
+BuildRequires: rpmbuild(macros) >= 1.228
+Requires(post,preun): /sbin/chkconfig
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Concurrent logging handler (drop-in replacement for RotatingFileHandler)
+
+%prep
+%setup -q -n %{module}-%{version}
+
+%build
+%{__python} setup.py build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__python} setup.py install \
+ --skip-build \
+ --optimize=2 \
+ --root=$RPM_BUILD_ROOT
+
+%py_postclean
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+
+%files
+%defattr(644,root,root,755)
+%doc README PKG-INFO LICENSE
+
+%{py_sitescriptdir}/cloghandler.*
+%{py_sitescriptdir}/portalocker.*
+%if "%{py_ver}" > "2.4"
+%{py_sitescriptdir}/%{module}-*.egg-info
+%endif
+
+%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 2011/06/29 08:32:17 cieciwa
+- initial.
+
+Revision 1.2 2011/06/29 07:13:18 cieciwa
+- fixed typo.
+
+Revision 1.1 2011/06/29 07:08:23 cieciwa
+- initial.
+
================================================================
More information about the pld-cvs-commit
mailing list