source: projects/specs/trunk/p/python-zope-interface/python-zope-interface-vl.spec @ 5701

Revision 5701, 1.9 KB checked in by Takemikaduchi, 12 years ago (diff)

python-2.7.2

Line 
1#%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
2#%define pyver %(python -c 'import sys;print(sys.version[0:3])')
3
4Summary:        Zope 3 Interface Infrastructure
5Summary(ja):    Zope 3 インターフェース・インフラストラクチャ
6Name:           python-zope-interface
7Version:        3.8.0
8Release:        1%{?_dist_release}
9Source0:        http://pypi.python.org/packages/source/z/zope.interface/zope.interface-%{version}.tar.gz
10License:        ZPL (Zope Public License 2.1)
11Group:          Development/Languages
12URL:            http://pypi.python.org/pypi/zope.interface
13
14Requires:       python
15BuildRequires:  python-devel
16BuildRoot:      %{_tmppath}/%{name}-%{version}-root
17
18BuildArch:      noarch
19
20
21%description
22This is a separate distribution of the zope.interface package
23used in Zope 3.
24
25%description -l ja
26python-zope-interface は Zope 3 で利用されている zope.interface
27を、単体で分離して配布しているパッケージです。
28
29%prep
30%setup -q -n zope.interface-%{version}
31
32
33%build
34CFLAGS="%{optflags}" %{__python} setup.py build
35
36%install
37%{__rm} -rf ${RPM_BUILD_ROOT}
38%{__python} setup.py install -O1 --skip-build --root ${RPM_BUILD_ROOT}
39
40# Will put docs in %%{_docdir} instead
41%{__rm} -f %{buildroot}%{python_sitearch}/zope/interface/{,tests/}*.txt
42
43
44%clean
45%{__rm} -rf ${RPM_BUILD_ROOT}
46
47
48%files
49%defattr(-,root,root)
50%doc COPYRIGHT.txt CHANGES.txt LICENSE.txt README.txt
51%{python_sitelib}/zope
52%{python_sitelib}/zope.interface-%{version}-py%{pyver}.egg-info
53
54%changelog
55* Sat Feb 18 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.0-1
56- update to 3.8.0
57
58* Wed Dec 01 2010 Shu KONNO <owa@bg.wakwak.com> 3.6.1-1
59- updated zope.interface to 3.6.1
60
61* Tue Feb 02 2010 Shu KONNO <owa@bg.wakwak.com> 3.5.0-2
62- rebuild with python-2.6
63- fixed path
64
65* Tue Dec 23 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 3.5.0-1
66- initial build for Vine Linux
Note: See TracBrowser for help on using the repository browser.