18110
|
1 |
#
|
|
2 |
# base spec file for package python-zope-interface
|
|
3 |
#
|
|
4 |
%define owner jouby
|
|
5 |
#
|
|
6 |
|
|
7 |
%define OSR 8094:3.3.0
|
|
8 |
|
|
9 |
Name: python-zope-interface
|
|
10 |
Summary: A separate distribution of the zope.interface package used in Zope 3
|
|
11 |
Vendor: zope.org
|
|
12 |
License: ZPL
|
|
13 |
URL: http://zope.org/Wikis/Interfaces/FrontPage
|
|
14 |
Version: 3.3.0
|
|
15 |
Source: http://www.zope.org/Products/ZopeInterface/%{version}/zope.interface-%{version}.tar.gz
|
|
16 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
17 |
%include default-depend.inc
|
|
18 |
Requires: Python
|
|
19 |
|
|
20 |
%{?!pythonver:%define pythonver 2.4}
|
|
21 |
|
|
22 |
%prep
|
|
23 |
%setup -q -n zope.interface-%version
|
|
24 |
|
|
25 |
%build
|
|
26 |
python%{pythonver} ./setup.py build
|
|
27 |
|
|
28 |
%install
|
|
29 |
rm -rf $RPM_BUILD_ROOT
|
|
30 |
python%{pythonver} ./setup.py install --root=$RPM_BUILD_ROOT --prefix=%{_prefix} --no-compile
|
|
31 |
|
|
32 |
# move to vendor-packages
|
|
33 |
mkdir -p $RPM_BUILD_ROOT%{_libdir}/python%{pythonver}/vendor-packages
|
|
34 |
mv $RPM_BUILD_ROOT%{_libdir}/python%{pythonver}/site-packages/* \
|
|
35 |
$RPM_BUILD_ROOT%{_libdir}/python%{pythonver}/vendor-packages/
|
|
36 |
rmdir $RPM_BUILD_ROOT%{_libdir}/python%{pythonver}/site-packages
|
|
37 |
|
|
38 |
%clean
|
|
39 |
rm -rf $RPM_BUILD_ROOT
|
|
40 |
|
|
41 |
%changelog
|
|
42 |
* Thu Oct 27 2009 - [email protected]
|
|
43 |
- Change the owner to jouby
|
|
44 |
* Thu Nov 27 2008 - [email protected]
|
|
45 |
- Split from SUNWpython-zope-interface.spec
|
|
46 |
* Tue Sep 16 2008 - [email protected]
|
|
47 |
- Update copyright
|
|
48 |
* Mon May 26 2008 - [email protected]
|
|
49 |
- Add Build/Requires SUNWPython/-devel.
|
|
50 |
* Wed Feb 19 2008 - [email protected]
|
|
51 |
- Revert to 3.3.0 since 3.4.x series seems to be too unstable (and version
|
|
52 |
number keeps changing). Wait until 3.4.x stabilises before returning to it.
|
|
53 |
* Tue Feb 19 2008 - [email protected]
|
|
54 |
- Updated version to 3.4.1
|
|
55 |
* Tue Feb 12 2008 - [email protected]
|
|
56 |
- Initial version
|