SPECS: python-setuptools.spec (NEW) - new

arekm arekm at pld-linux.org
Fri Dec 9 18:34:45 CET 2005


Author: arekm                        Date: Fri Dec  9 17:34:45 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new

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

---- Diffs:

================================================================
Index: SPECS/python-setuptools.spec
diff -u /dev/null SPECS/python-setuptools.spec:1.1
--- /dev/null	Fri Dec  9 18:34:45 2005
+++ SPECS/python-setuptools.spec	Fri Dec  9 18:34:39 2005
@@ -0,0 +1,59 @@
+# $Revision$, $Date$
+
+%define	module	setuptools
+
+Summary:	A collection of enhancements to the Python distutils
+Name:		python-setuptools
+Version:	0.6a8
+Release:	1
+License:	GPL
+Group:		Development/Languages/Python
+Source0:	http://cheeseshop.python.org/packages/source/s/setuptools/setuptools-%{version}.zip
+# Source0-md5:	3eecdf66c1a2cf8a6556bc00b69d572a
+URL:		http://peak.telecommunity.com/DevCenter/setuptools
+%pyrequires_eq	python
+BuildRequires:	python-devel
+BuildRequires:	unzip
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+setuptools is a collection of enhancements to the Python distutils
+(for Python 2.3.5 and up on most platforms; 64-bit platforms require a
+minimum of Python 2.4) that allow you to more easily build and
+distribute Python packages, especially ones that have dependencies on
+other packages.
+
+%prep
+%setup  -q -n %{module}-%{version}
+
+%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 *.txt
+%attr(755,root,root) %{_bindir}/*
+%{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  2005/12/09 17:34:39  arekm
+- new
+
================================================================



More information about the pld-cvs-commit mailing list