]> git.pld-linux.org Git - packages/Zope-Deprecation.git/blame - Zope-Deprecation.spec
rebuild for python eggs; verbose files
[packages/Zope-Deprecation.git] / Zope-Deprecation.spec
CommitLineData
c37bfcd6
ER
1# TODO
2# - why it was needed to move code to py_sitedir in 99929afd5fede7d191f944c30d2cfa692454ba84 ?
69d8a7de 3Summary: Deprecation library for Python code
853d4e59 4Summary(pl.UTF-8): Biblioteka odradzająca dla kodu w Pythonie
25e68304 5Name: Zope-Deprecation
6Version: 3.4.0
c37bfcd6 7Release: 5
69d8a7de 8License: ZPL 2.1
9Group: Libraries/Python
4024cce2 10Source0: http://pypi.python.org/packages/source/z/zope.deprecation/zope.deprecation-%{version}.tar.gz
25e68304 11# Source0-md5: cc5814063505f217c6df3fc93ec8b2df
69d8a7de 12URL: http://www.zope.org/
853d4e59
JB
13BuildRequires: python >= 1:2.5
14BuildRequires: python-devel >= 1:2.5
449afe77 15BuildRequires: python-setuptools
853d4e59
JB
16BuildRequires: rpm-pythonprov
17BuildRequires: rpmbuild(macros) >= 1.219
727fd8f2 18Requires: Zope-Testing
c37bfcd6
ER
19Requires: python-modules
20# not noarch because of py_sitedir in 99929afd5fede7d191f944c30d2cfa692454ba84
21#BuildArch: noarch
25e68304 22BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24%description
69d8a7de 25Deprecation library for Python code.
25e68304 26
853d4e59
JB
27%description -l pl.UTF-8
28Biblioteka odradzająca dla kodu w Pythonie.
29
25e68304 30%prep
31%setup -q -n zope.deprecation-%{version}
32
33%build
c37bfcd6
ER
34%{__python} setup.py build
35
36%{?with_tests:%{__python} setup.py test}
25e68304 37
38%install
39rm -rf $RPM_BUILD_ROOT
c37bfcd6 40%{__python} setup.py install \
99929afd 41 --install-purelib=%{py_sitedir} \
c37bfcd6 42 --skip-build \
25e68304 43 --optimize 2 \
44 --root=$RPM_BUILD_ROOT
45
c37bfcd6
ER
46%{__rm} $RPM_BUILD_ROOT%{py_sitedir}/zope/deprecation/tests.py[co]
47
853d4e59 48%py_postclean
25e68304 49
50%clean
51rm -rf $RPM_BUILD_ROOT
52
53%files
54%defattr(644,root,root,755)
c37bfcd6
ER
55%dir %{py_sitedir}/zope/deprecation
56%{py_sitedir}/zope/deprecation/*.py[co]
57%{py_sitedir}/zope/deprecation/DEPENDENCIES.cfg
58# mv to %doc ?
59%{py_sitedir}/zope/deprecation/README.txt
99929afd 60%{py_sitedir}/zope.deprecation-*.egg-info
61%{py_sitedir}/zope.deprecation-*-nspkg.pth
This page took 0.081309 seconds and 5 git commands to generate.