]> git.pld-linux.org Git - packages/Zope-Component.git/commitdiff
- based on Zope-Testing.spec
authorwrobell <wrobell@pld-linux.org>
Mon, 10 Sep 2007 00:03:21 +0000 (00:03 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    Zope-Component.spec -> 1.1

Zope-Component.spec [new file with mode: 0644]

diff --git a/Zope-Component.spec b/Zope-Component.spec
new file mode 100644 (file)
index 0000000..2bdf298
--- /dev/null
@@ -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
This page took 0.071938 seconds and 5 git commands to generate.