]> git.pld-linux.org Git - packages/Zope-Deprecation.git/blob - Zope-Deprecation.spec
6167789776da013e828b5473644a60d00e6b8bfa
[packages/Zope-Deprecation.git] / Zope-Deprecation.spec
1 Summary:        Deprecation library for Python code
2 Name:           Zope-Deprecation
3 Version:        3.4.0
4 Release:        1
5 License:        ZPL 2.1
6 Group:          Libraries/Python
7 Source0:        http://download.zope.org/distribution/zope.deprecation-%{version}.tar.gz
8 # Source0-md5:  cc5814063505f217c6df3fc93ec8b2df
9 URL:            http://www.zope.org/
10 BuildRequires:  python
11 BuildRequires:  python-devel
12 %pyrequires_eq  python-modules
13 Requires:       Zope-Testing
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %description
17 Deprecation library for Python code.
18
19 %prep
20 %setup -q -n zope.deprecation-%{version}
21
22 %build
23 python ./setup.py build
24
25 %install
26 rm -rf $RPM_BUILD_ROOT
27
28 python ./setup.py install \
29         --optimize 2 \
30         --root=$RPM_BUILD_ROOT
31
32 %{py_postclean}
33
34 %clean
35 rm -rf $RPM_BUILD_ROOT
36
37 %files
38 %defattr(644,root,root,755)
39 %{py_sitescriptdir}/zope/deprecation
40 %{py_sitescriptdir}/zope*egg*
41 %{py_sitescriptdir}/zope*pth
This page took 0.031676 seconds and 3 git commands to generate.