]> git.pld-linux.org Git - packages/Zope-Component.git/blame - Zope-Component.spec
- noarch is back
[packages/Zope-Component.git] / Zope-Component.spec
CommitLineData
5d8b1fee 1%define snap r73807
468e201a 2Summary: Core of the Zope Component Architecture
7df4ba0e 3Summary(pl.UTF-8): Rdzeń Zope Component Architecture
5d8b1fee 4Name: Zope-Component
5Version: 3.4
b053b81e 6Release: 0.%{snap}.2
468e201a 7License: ZPL 2.1
8Group: Libraries/Python
5d8b1fee 9Source0: http://download.zope.org/distribution/zope.component-%{version}dev-%{snap}.tar.gz
10# Source0-md5: d91d7c64259a1a2f8e56860a1326725e
acbb4a33
JB
11BuildRequires: python >= 1:2.5
12BuildRequires: python-devel >= 1:2.5
e1aeb040
JB
13BuildRequires: rpm-pythonprov
14BuildRequires: rpmbuild(macros) >= 1.219
5d8b1fee 15%pyrequires_eq python-modules
468e201a 16Requires: Zope-DeferredImport
17Requires: Zope-Deprecation
18Requires: Zope-Event
19Requires: Zope-Interface
20Requires: Zope-Proxy
21Requires: Zope-Testing
b4299e76 22BuildArch: noarch
5d8b1fee 23BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25%description
468e201a 26Core of the Zope Component Architecture.
5d8b1fee 27
7df4ba0e
JB
28%description -l pl.UTF-8
29Rdzeń architektury komponentowej Zope Component Architecture.
30
5d8b1fee 31%prep
32%setup -q -n zope.component-%{version}dev-%{snap}
33
34%build
35python ./setup.py build
36
37%install
38rm -rf $RPM_BUILD_ROOT
39
40python ./setup.py install \
b053b81e 41 --install-purelib=%{py_sitedir} \
5d8b1fee 42 --optimize 2 \
43 --root=$RPM_BUILD_ROOT
44
e1aeb040 45%py_postclean
5d8b1fee 46
47%clean
48rm -rf $RPM_BUILD_ROOT
49
50%files
51%defattr(644,root,root,755)
b053b81e 52%{py_sitedir}/zope/component
53%{py_sitedir}/zope.component-*.egg-info
54%{py_sitedir}/zope.component-*-nspkg.pth
This page took 0.104132 seconds and 5 git commands to generate.