author | chrisk |
Mon, 31 Aug 2009 16:23:04 +0000 | |
changeset 16434 | f21f22550fe9 |
parent 16426 | 6e0af232ec80 |
child 17852 | edfc096bfd70 |
permissions | -rw-r--r-- |
9397 | 1 |
# |
2 |
# spec file for package pyspi |
|
3 |
# |
|
4 |
# includes module(s): pyspi |
|
5 |
# |
|
14644 | 6 |
# Copyright 2008 Sun Microsystems, Inc. |
9397 | 7 |
# This file and all modifications and additions to the pristine |
8 |
# package are under the same license as the package itself. |
|
9 |
# |
|
16434 | 10 |
%define owner laca |
9397 | 11 |
# |
14644 | 12 |
%{!?pythonver:%define pythonver 2.4} |
9397 | 13 |
|
16426 | 14 |
%define OSR gnome.org:0 |
15 |
||
9397 | 16 |
Name: pyspi |
17 |
License: LGPL |
|
18 |
Group: Development/Languages/Python |
|
19 |
Version: 0.6.1 |
|
20 |
Release: 2 |
|
21 |
Distribution: Java Desktop System |
|
22 |
Vendor: Sun Microsystems, Inc. |
|
23 |
Summary: Python bindings for CSPI |
|
24 |
Source: http://people.redhat.com/zcerza/dogtail/releases/%{name}-%{version}.tar.gz |
|
25 |
URL: http://gnome.org/projects/pyspi |
|
26 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
|
27 |
Docdir: %{_defaultdocdir}/doc |
|
28 |
Autoreqprov: off |
|
29 |
Prereq: /sbin/ldconfig |
|
30 |
Requires: python >= %{pythonver} |
|
31 |
Requires: at-spi |
|
32 |
Requires: Pyrex |
|
33 |
BuildRequires: python-devel >= %{pythonver} |
|
34 |
BuildRequires: at-spi-devel |
|
35 |
||
36 |
%description |
|
37 |
Python bindings for CSPI |
|
38 |
||
39 |
%prep |
|
40 |
%setup -q |
|
41 |
||
42 |
%install |
|
14644 | 43 |
python%{pythonver} setup.py install --prefix=%{_prefix} --root=$RPM_BUILD_ROOT |
15503 | 44 |
mkdir -p $RPM_BUILD_ROOT%{_libdir}/python%{pythonver}/vendor-packages |
45 |
mv $RPM_BUILD_ROOT%{_libdir}/python%{pythonver}/site-packages/* \ |
|
46 |
$RPM_BUILD_ROOT%{_libdir}/python%{pythonver}/vendor-packages/ |
|
47 |
rmdir $RPM_BUILD_ROOT%{_libdir}/python%{pythonver}/site-packages |
|
9397 | 48 |
|
49 |
%clean |
|
50 |
rm -rf $RPM_BUILD_ROOT |
|
51 |
||
52 |
%files |
|
53 |
%defattr(-, root, root) |
|
54 |
%{_libdir}/python?.?/vendor-packages |
|
55 |
||
56 |
%changelog |
|
15614 | 57 |
* Wed Apr 15 2009 - [email protected] |
58 |
- Remove %build section which would be covered in %install section. |
|
15503 | 59 |
* Wed Mar 25 2009 - [email protected] |
60 |
- Move pyspi from SUNWgnome-python-libs to SUNWgnome-a11y-libs. Move files |
|
61 |
from site-packages to vendor-packages. |
|
14644 | 62 |
* Mon Nov 24 2008 - [email protected] |
63 |
- use %{pythonver} macro to select with version of Python to build which |
|
14610 | 64 |
* Mon Nov 17 2007 - [email protected] |
65 |
- Fix installation directory bug. |
|
13189 | 66 |
* Wed Aug 20 2008 - [email protected] |
67 |
- Remove patch pyspi-01-solaris.diff since it is no longer needed now that the |
|
68 |
x11.pc file is in our builds. |
|
13099 | 69 |
* Mon Aug 11 2008 - [email protected] |
70 |
- Remove the site-packages to vendor-packages as it is done in the top level |
|
71 |
spec file now. |
|
11138 | 72 |
* Wed Nov 07 2007 - [email protected] |
73 |
- Update fix for 6615442 - vendor-packages dir already existed so the mv |
|
74 |
created a site-packages dir under vendor-packages. mv command corrected. |
|
10635 | 75 |
* Wed Oct 10 2007 - [email protected] |
10641
c9864ab4f7a9
Add bug number (6615442) to %changelog for move from site-packages to vendor-packages.
dcarbery
parents:
10635
diff
changeset
|
76 |
- Move files from site-packages to vendor-packages. Fixes 6615442. |
9397 | 77 |
* Thu Nov 09 2006 - [email protected] |
78 |
- Bump to 0.6.1. |
|
79 |
* Sat Oct 07 2006 - [email protected] |
|
80 |
- Bump to 0.6.0. Add patch to allow building on Solaris. |
|
81 |
* Fri Aug 25 2006 - [email protected] |
|
82 |
- Bump to 0.5.5. |
|
83 |
* Thu May 04 2006 - [email protected] |
|
84 |
- Bump to 0.5.4 |
|
85 |
* Tue Jan 17 2006 - [email protected] |
|
86 |
- Bump to 0.5.3. |
|
87 |
* Thu Oct 27 2005 - [email protected] |
|
88 |
- move from site-packages to vendor-packages |
|
89 |
* Mon Oct 24 2005 - [email protected] |
|
90 |
- Include .pyc files. A Google search indicates that most people include them. |
|
91 |
* Thu Oct 20 2005 - [email protected] |
|
92 |
- Remove 'make' call from %install. Already in '%build'. |
|
93 |
- Delete .pyc files so they are not included in the package. |
|
94 |
* Wed Oct 19 2005 - [email protected] |
|
95 |
- Initial version. |