From 5d8b1feec1a1ecbf08daa2ca04480edf534d47cc Mon Sep 17 00:00:00 2001 From: wrobell Date: Mon, 10 Sep 2007 00:03:21 +0000 Subject: [PATCH] - based on Zope-Testing.spec Changed files: Zope-Component.spec -> 1.1 --- Zope-Component.spec | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 Zope-Component.spec diff --git a/Zope-Component.spec b/Zope-Component.spec new file mode 100644 index 0000000..2bdf298 --- /dev/null +++ b/Zope-Component.spec @@ -0,0 +1,40 @@ +%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 -- 2.43.0