]> git.pld-linux.org Git - packages/python-zope.interface.git/blob - Zope-Interface.spec
- renamed spec (old: Zope-ZopeInterface)
[packages/python-zope.interface.git] / Zope-Interface.spec
1 Summary:        zope.interface package used in Zope 3
2 Summary(pl):    Modu³ interface u¿ywany w Zope 3
3 Name:           ZopeInterface
4 Version:        3.0.1
5 Release:        1
6 License:        ZPL 2.0
7 Group:          Development/Tools
8 Source0:        http://www.zope.org/Products/ZopeInterface/%{version}final/%{name}-%{version}.tgz
9 # Source0-md5:  114f302c2b132d43ad4e01d108b4d192
10 URL:            http://www.zope.org/Products/ZopeInterface/
11 BuildRequires:  python
12 BuildRequires:  python-devel
13 %pyrequires_eq  python-modules
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %description
17 zope.interface package used in Zope 3.
18
19 %description -l pl
20 Modu³ interface u¿ywany w Zope 3.
21
22 %prep
23 %setup -q -n %{name}-%{version}
24
25 %build
26 python ./setup.py build
27
28 %install
29 rm -rf $RPM_BUILD_ROOT
30
31 python ./setup.py install \
32         --optimize 2 \
33         --root=$RPM_BUILD_ROOT
34
35 %py_comp $RPM_BUILD_ROOT%{py_sitedir}/zope
36 %py_ocomp $RPM_BUILD_ROOT%{py_sitedir}/zope
37
38 find $RPM_BUILD_ROOT -type f -name "*.py" -exec rm -rf {} \;;
39
40 %clean
41 rm -rf $RPM_BUILD_ROOT
42
43 %files
44 %defattr(644,root,root,755)
45 %doc %{py_sitedir}/zope/README.txt
46 %{py_sitedir}/zope/*.cfg
47 %dir %{py_sitedir}/zope
48 %{py_sitedir}/zope/*.py[co]
49 %dir %{py_sitedir}/zope/interface
50 %{py_sitedir}/zope/interface/*.py[co]
51 %{py_sitedir}/zope/interface/*.cfg
52 %{py_sitedir}/zope/interface/*.so
53 %{py_sitedir}/zope/interface/*.txt
54 %dir %{py_sitedir}/zope/interface/common
55 %{py_sitedir}/zope/interface/common/*.py[co]
56 %dir %{py_sitedir}/zope/interface/common/tests
57 %{py_sitedir}/zope/interface/common/tests/*.py[co] 
58 %dir %{py_sitedir}/zope/interface/tests
59 %{py_sitedir}/zope/interface/tests/*.py[co] 
60 %{py_sitedir}/zope/interface/tests/*.txt
61 %dir %{py_sitedir}/zope/testing
62 %{py_sitedir}/zope/testing/*.py[co]
This page took 0.081521 seconds and 4 git commands to generate.