SPECS: python-py.spec (NEW) - new, nfy

undefine undefine at pld-linux.org
Sun Sep 23 15:04:53 CEST 2007


Author: undefine                     Date: Sun Sep 23 13:04:53 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new, nfy

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

---- Diffs:

================================================================
Index: SPECS/python-py.spec
diff -u /dev/null SPECS/python-py.spec:1.1
--- /dev/null	Sun Sep 23 15:04:53 2007
+++ SPECS/python-py.spec	Sun Sep 23 15:04:48 2007
@@ -0,0 +1,58 @@
+# $Revision$, $Date$
+#
+# TODO:
+# - cleanup ;)
+# - some arch-depended libraries in sitescript_dir
+# - documentation and examples in sitescript_dir
+%define		module	py
+#
+Summary:	agile development and test support library
+Summary(pl.UTF-8):	zwinna biblioteka obsługująca rozwój i testowanie
+Name:		python-%{module}
+Version:	0.9.0
+Release:	0.1
+License:	MIT license
+Group:		Development/Languages/Python
+Source0:	http://codespeak.net/download/%{module}/%{module}-%{version}.tar.gz
+# Source0-md5:	adecd7befdfa431341c8e09e0bc94ca3
+URL:		http://codespeak.net/py/
+BuildRequires:	python-devel
+BuildRequires:	rpmbuild(macros) >= 1.219
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+the py lib is a development support library featuring py.test, ad-hoc
+distributed execution, micro-threads and svn abstractions.
+
+%prep
+%setup -q -n %{module}-%{version}
+
+%build
+python setup.py build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+python setup.py install \
+	--root=$RPM_BUILD_ROOT \
+	--optimize=2
+
+%py_postclean
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/*
+%{py_sitescriptdir}/py
+
+%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/23 13:04:48  undefine
+- new, nfy
+
================================================================


More information about the pld-cvs-commit mailing list