]> git.pld-linux.org Git - packages/Zope-Deprecation.git/blob - Zope-Deprecation.spec
4c9427334a1138f46cc7026649cf479ae1bab731
[packages/Zope-Deprecation.git] / Zope-Deprecation.spec
1 Summary:        Deprecation library for Python code
2 Summary(pl.UTF-8):      Biblioteka odradzajÄ…ca dla kodu w Pythonie
3 Name:           Zope-Deprecation
4 Version:        3.4.0
5 Release:        4
6 License:        ZPL 2.1
7 Group:          Libraries/Python
8 Source0:        http://pypi.python.org/packages/source/z/zope.deprecation/zope.deprecation-%{version}.tar.gz
9 # Source0-md5:  cc5814063505f217c6df3fc93ec8b2df
10 URL:            http://www.zope.org/
11 BuildRequires:  python >= 1:2.5
12 BuildRequires:  python-devel >= 1:2.5
13 BuildRequires:  python-setuptools
14 BuildRequires:  rpm-pythonprov
15 BuildRequires:  rpmbuild(macros) >= 1.219
16 %pyrequires_eq  python-modules
17 Requires:       Zope-Testing
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
21 Deprecation library for Python code.
22
23 %description -l pl.UTF-8
24 Biblioteka odradzajÄ…ca dla kodu w Pythonie.
25
26 %prep
27 %setup -q -n zope.deprecation-%{version}
28
29 %build
30 python ./setup.py build
31
32 %install
33 rm -rf $RPM_BUILD_ROOT
34
35 python ./setup.py install \
36         --install-purelib=%{py_sitedir} \
37         --optimize 2 \
38         --root=$RPM_BUILD_ROOT
39
40 %py_postclean
41
42 %clean
43 rm -rf $RPM_BUILD_ROOT
44
45 %files
46 %defattr(644,root,root,755)
47 %{py_sitedir}/zope/deprecation
48 %{py_sitedir}/zope.deprecation-*.egg-info
49 %{py_sitedir}/zope.deprecation-*-nspkg.pth
This page took 0.068017 seconds and 3 git commands to generate.