]> git.pld-linux.org Git - packages/Zope-Component.git/blobdiff - Zope-Component.spec
- noarch is back
[packages/Zope-Component.git] / Zope-Component.spec
index 870e4c1067121c99ddbac83c3f8f55cf9256b903..7a730bab3f8f6380739b9cbf2da8da3cafa9ee82 100644 (file)
@@ -1,14 +1,17 @@
 %define snap r73807
 Summary:       Core of the Zope Component Architecture
+Summary(pl.UTF-8):     Rdzeń Zope Component Architecture
 Name:          Zope-Component
 Version:       3.4
-Release:       0.%{snap}.1
+Release:       0.%{snap}.2
 License:       ZPL 2.1
 Group:         Libraries/Python
 Source0:       http://download.zope.org/distribution/zope.component-%{version}dev-%{snap}.tar.gz
 # Source0-md5: d91d7c64259a1a2f8e56860a1326725e
-BuildRequires: python
-BuildRequires: python-devel
+BuildRequires: python >= 1:2.5
+BuildRequires: python-devel >= 1:2.5
+BuildRequires: rpm-pythonprov
+BuildRequires: rpmbuild(macros) >= 1.219
 %pyrequires_eq python-modules
 Requires:      Zope-DeferredImport
 Requires:      Zope-Deprecation
@@ -16,11 +19,15 @@ Requires:   Zope-Event
 Requires:      Zope-Interface
 Requires:      Zope-Proxy
 Requires:      Zope-Testing
+BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 Core of the Zope Component Architecture.
 
+%description -l pl.UTF-8
+Rdzeń architektury komponentowej Zope Component Architecture.
+
 %prep
 %setup -q -n zope.component-%{version}dev-%{snap}
 
@@ -31,16 +38,17 @@ python ./setup.py build
 rm -rf $RPM_BUILD_ROOT
 
 python ./setup.py install \
+       --install-purelib=%{py_sitedir} \
        --optimize 2 \
        --root=$RPM_BUILD_ROOT
 
-%{py_postclean}
+%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
+%{py_sitedir}/zope/component
+%{py_sitedir}/zope.component-*.egg-info
+%{py_sitedir}/zope.component-*-nspkg.pth
This page took 0.050118 seconds and 5 git commands to generate.