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