SPECS: Zope-Component.spec (NEW) - based on Zope-Testing.spec
wrobell
wrobell at pld-linux.org
Mon Sep 10 02:03:27 CEST 2007
Author: wrobell Date: Mon Sep 10 00:03:27 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- based on Zope-Testing.spec
---- Files affected:
SPECS:
Zope-Component.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/Zope-Component.spec
diff -u /dev/null SPECS/Zope-Component.spec:1.1
--- /dev/null Mon Sep 10 02:03:27 2007
+++ SPECS/Zope-Component.spec Mon Sep 10 02:03:21 2007
@@ -0,0 +1,51 @@
+# $Revision$, $Date$
+%define snap r73807
+Summary: zope.component package used in Zope 3
+Name: Zope-Component
+Version: 3.4
+Release: 0.%{snap}.1
+License: ZPL 2.0
+Group: Development/Tools
+Source0: http://download.zope.org/distribution/zope.component-%{version}dev-%{snap}.tar.gz
+# Source0-md5: d91d7c64259a1a2f8e56860a1326725e
+BuildRequires: python
+BuildRequires: python-devel
+%pyrequires_eq python-modules
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+zope.component package used in Zope 3.
+
+%prep
+%setup -q -n zope.component-%{version}dev-%{snap}
+
+%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)
+%{py_sitescriptdir}/zope/component
+%{py_sitescriptdir}/zope*egg*
+%{py_sitescriptdir}/zope*pth
+
+%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 00:03:21 wrobell
+- based on Zope-Testing.spec
+
================================================================
More information about the pld-cvs-commit
mailing list