9397
|
1 |
#
|
|
2 |
# spec file for package gnome-python
|
|
3 |
#
|
|
4 |
# Copyright (c) 2005 Sun Microsystems, Inc.
|
|
5 |
# This file and all modifications and additions to the pristine
|
|
6 |
# package are under the same license as the package itself.
|
|
7 |
#
|
|
8 |
# Owner: laca
|
|
9 |
#
|
|
10 |
Name: gnome-python
|
|
11 |
License: LGPL
|
|
12 |
Group: System/Library
|
9732
|
13 |
Version: 2.18.2
|
9397
|
14 |
Release: 1
|
|
15 |
Distribution: Java Desktop System
|
|
16 |
Vendor: Sun Microsystems, Inc.
|
|
17 |
Summary: Python bindings for various GNOME libraries
|
9527
|
18 |
Source: http://ftp.gnome.org/pub/GNOME/sources/gnome-python/2.18/gnome-python-%{version}.tar.bz2
|
9397
|
19 |
URL: http://www.gnome.org
|
|
20 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
21 |
Docdir: %{_defaultdocdir}/doc
|
|
22 |
Autoreqprov: off
|
|
23 |
|
|
24 |
%define libglade_version 2.4.0
|
|
25 |
%define python_version 2.4
|
|
26 |
%define pygtk2_version 2.4.0
|
|
27 |
%define pyorbit_version 2.0.1
|
|
28 |
%define libgnomeui_version 2.0.0
|
|
29 |
%define gconf_version 1.2.0
|
|
30 |
%define nautilus_version 2.0.0
|
|
31 |
%define gnome_panel_version 2.0.0
|
|
32 |
%define gtkhtml_version 2.3.1
|
|
33 |
%define libgnomeprintui_version 2.2.0
|
|
34 |
|
|
35 |
Requires: python >= %{python_version}
|
|
36 |
Requires: pygtk2 >= %{pygtk2_version}
|
|
37 |
Requires: pyorbit >= %{pyorbit_version}
|
|
38 |
Requires: libgnomeui >= %{libgnomeui_version}
|
|
39 |
Requires: libglade >= %{libglade_version}
|
|
40 |
Requires: GConf >= %{gconf_version}
|
|
41 |
Requires: nautilus >= %{nautilus_version}
|
|
42 |
Requires: gnome-panel >= %{gnome_panel_version}
|
|
43 |
Requires: gtkhtml >= %{gtkhtml_version}
|
|
44 |
Requires: libgnomeprintui >= %{libgnomeprintui_version}
|
|
45 |
|
|
46 |
BuildRequires: python >= %{python_version}
|
|
47 |
BuildRequires: pygtk2-devel >= %{pygtk2_version}
|
|
48 |
BuildRequires: pyorbit-devel >= %{pyorbit_version}
|
|
49 |
BuildRequires: libgnomeui-devel >= %{libgnomeui_version}
|
|
50 |
BuildRequires: GConf-devel >= %{gconf_version}
|
|
51 |
BuildRequires: nautilus-devel >= %{nautilus_version}
|
|
52 |
BuildRequires: gnome-panel-devel >= %{gnome_panel_version}
|
|
53 |
BuildRequires: gtkhtml-devel >= %{gtkhtml_version}
|
|
54 |
BuildRequires: libgnomeprintui-devel >= %{libgnomeprintui_version}
|
|
55 |
|
|
56 |
%description
|
|
57 |
GNOME-Python provides the Python language bindings for the GNOME libraries.
|
|
58 |
|
|
59 |
%package devel
|
|
60 |
Summary: Files needed to build applications using the Python bindings for GNOME libraries
|
|
61 |
Group: Development/Languages
|
|
62 |
Requires: %{name} = %{version}
|
|
63 |
|
|
64 |
%description devel
|
|
65 |
This package contains files required to build Python applications that need
|
|
66 |
to interope rate with the various GNOME libraries
|
|
67 |
|
|
68 |
%prep
|
|
69 |
%setup -q -n gnome-python-%{version}
|
|
70 |
|
|
71 |
%build
|
|
72 |
CFLAGS="$RPM_OPT_FLAGS" \
|
|
73 |
./configure --prefix=%{_prefix} \
|
|
74 |
--sysconfdir=%{_sysconfdir}
|
|
75 |
make \
|
|
76 |
pyexecdir=%{_libdir}/python%{python_version}/vendor-packages \
|
|
77 |
pythondir=%{_libdir}/python%{python_version}/vendor-packages
|
|
78 |
|
|
79 |
%install
|
|
80 |
make install DESTDIR=$RPM_BUILD_ROOT \
|
|
81 |
pyexecdir=%{_libdir}/python%{python_version}/vendor-packages \
|
|
82 |
pythondir=%{_libdir}/python%{python_version}/vendor-packages
|
|
83 |
find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
|
|
84 |
find $RPM_BUILD_ROOT -type f -name "*.pyo" -exec rm -f {} ';'
|
|
85 |
|
|
86 |
%clean
|
|
87 |
rm -rf $RPM_BUILD_ROOT
|
|
88 |
|
|
89 |
%post
|
|
90 |
|
|
91 |
%postun
|
|
92 |
|
|
93 |
%files
|
|
94 |
%defattr(-, root, root)
|
|
95 |
%{_libdir}/python?.?/vendor-packages/gtk-2.0
|
|
96 |
%{_libdir}/gnome-vfs-*/modules/lib*.so
|
|
97 |
|
|
98 |
%doc AUTHORS NEWS README ChangeLog
|
|
99 |
%doc examples
|
|
100 |
|
|
101 |
%files devel
|
|
102 |
%defattr(644, root, root)
|
|
103 |
%{_libdir}/pkgconfig/*
|
|
104 |
%{_datadir}/pygtk
|
|
105 |
%{_includedir}/*
|
|
106 |
|
|
107 |
%changelog -n gnome-python
|
9732
|
108 |
* Thu Apr 12 2007 - [email protected]
|
|
109 |
- Bump to 2.18.2.
|
|
110 |
|
|
111 |
* Thu Apr 12 2007 - [email protected]
|
|
112 |
- Bump to 2.18.1.
|
|
113 |
|
9527
|
114 |
* Mon Mar 12 2007 - [email protected]
|
|
115 |
- Bump to 2.18.0.
|
|
116 |
|
9439
|
117 |
* Mon Mar 05 2007 - [email protected]
|
|
118 |
- Bump to 2.17.92.
|
|
119 |
|
9397
|
120 |
* Wed Jan 10 2007 - [email protected]
|
|
121 |
- Bump back to 2.17.2. Laca fixed an issue in pycc in SUNWPython.
|
|
122 |
|
|
123 |
* Tue Jan 09 2007 - [email protected]
|
|
124 |
- Unbump back to 2.16.2 as 2.17.[12] kill the build machine during configure.
|
|
125 |
|
|
126 |
* Mon Jan 08 2007 - [email protected]
|
|
127 |
- Bump to 2.17.2.
|
|
128 |
|
|
129 |
* Mon Nov 06 2006 - [email protected]
|
|
130 |
- Bump to 2.16.2.
|
|
131 |
|
|
132 |
* Mon Nov 06 2006 - [email protected]
|
|
133 |
- Bump to 2.16.1.
|
|
134 |
|
|
135 |
* Tue Sep 05 2006 - [email protected]
|
|
136 |
- Bump to 2.16.0.
|
|
137 |
|
|
138 |
* Tue Aug 22 2006 - [email protected]
|
|
139 |
- Bump to 2.15.91.
|
|
140 |
|
|
141 |
* Wed Jul 26 2006 - [email protected]
|
|
142 |
- Bump to 2.15.90.
|
|
143 |
|
|
144 |
* Fri Jul 21 2006 - [email protected]
|
|
145 |
- Bump to 2.15.4.
|
|
146 |
|
|
147 |
* Mon Mar 13 2006 - [email protected]
|
|
148 |
- Bump to 2.12.4.
|
|
149 |
|
|
150 |
* Tue Jan 03 2006 - [email protected]
|
|
151 |
- Bump to 2.12.3.
|
|
152 |
|
|
153 |
* Tue Dec 20 2005 - [email protected]
|
|
154 |
- Bump to 2.12.2
|
|
155 |
|
|
156 |
* Thu Oct 27 2005 - [email protected]
|
|
157 |
- move from site-packages to vendor-packages
|
|
158 |
- include the .pyc files
|
|
159 |
|
|
160 |
* Fri Aug 26 2005 - [email protected]
|
|
161 |
- fix dependencies, fix %files
|
|
162 |
|
|
163 |
* Fri Aug 12 2005 - [email protected]
|
|
164 |
- Initial Sun release
|