9397
|
1 |
#
|
|
2 |
# spec file for package pygtk2
|
|
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: pygtk2
|
|
11 |
License: LGPL
|
|
12 |
Group: System/Library
|
10524
|
13 |
Version: 2.12.0
|
9397
|
14 |
Release: 2
|
|
15 |
Distribution: Java Desktop System
|
|
16 |
Vendor: Sun Microsystems, Inc.
|
|
17 |
Summary: Python bindings for GTK+
|
10524
|
18 |
Source: http://ftp.gnome.org/pub/GNOME/sources/pygtk/2.12/pygtk-%{version}.tar.bz2
|
9397
|
19 |
# date:2005-10-27 owner:dcarbery type:feature bugzilla:385131
|
|
20 |
Patch1: pygtk2-01-uninstalled.pc.diff
|
|
21 |
URL: http://www.gnome.org
|
|
22 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
23 |
Docdir: %{_defaultdocdir}/doc
|
|
24 |
Autoreqprov: on
|
|
25 |
|
|
26 |
%define libglade_version 2.4.0
|
|
27 |
%define glib2_version 2.6.0
|
|
28 |
%define gtk2_version 2.6.0
|
|
29 |
%define atk_version 1.8.0
|
|
30 |
%define pango_version 1.8.0
|
|
31 |
%define python_version 2.4
|
|
32 |
|
|
33 |
Requires: libglade >= %{libglade_version}
|
|
34 |
Requires: gtk2 >= %{gtk2_version}
|
|
35 |
Requires: glib2 >= %{glib2_version}
|
|
36 |
Requires: atk >= %{atk_version}
|
|
37 |
Requires: pango >= %{pango_version}
|
|
38 |
Requires: python >= %{python_version}
|
|
39 |
BuildRequires: gtk2-devel >= %{gtk2_version}
|
|
40 |
BuildRequires: libglade-devel >= %{libglade_version}
|
|
41 |
BuildRequires: glib2-devel >= %{glib2_version}
|
|
42 |
BuildRequires: atk-devel >= %{atk_version}
|
|
43 |
BuildRequires: pango-devel >= %{pango_version}
|
|
44 |
|
|
45 |
%description
|
|
46 |
PyGTK is an extension module for python that gives you access to the GTK+
|
|
47 |
widget set. Just about anything you can write in C with GTK+ you can write
|
|
48 |
in python with PyGTK (within reason), but with all the benefits of python.
|
|
49 |
|
|
50 |
%package devel
|
|
51 |
Summary: files needed to build wrappers for GTK+ addon libraries
|
|
52 |
Group: Development/Languages
|
|
53 |
Requires: %{name} = %{version}
|
|
54 |
|
|
55 |
%description devel
|
|
56 |
This package contains files required to build wrappers for GTK+ addon
|
|
57 |
libraries so that they interoperate with pygtk.
|
|
58 |
|
|
59 |
%prep
|
|
60 |
%setup -q -n pygtk-%{version}
|
|
61 |
%patch1 -p1
|
|
62 |
|
|
63 |
%build
|
|
64 |
autoconf
|
|
65 |
./configure --prefix=%{_prefix} \
|
|
66 |
--sysconfdir=%{_sysconfdir}
|
|
67 |
make
|
|
68 |
|
|
69 |
%install
|
|
70 |
make install DESTDIR=$RPM_BUILD_ROOT \
|
|
71 |
pyexecdir=%{_libdir}/python%{python_version}/vendor-packages \
|
|
72 |
pythondir=%{_libdir}/python%{python_version}/vendor-packages
|
|
73 |
find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
|
|
74 |
find $RPM_BUILD_ROOT -type f -name "*.pyo" -exec rm -f {} ';'
|
|
75 |
|
|
76 |
%clean
|
|
77 |
rm -rf $RPM_BUILD_ROOT
|
|
78 |
|
|
79 |
%post
|
|
80 |
|
|
81 |
%postun
|
|
82 |
|
|
83 |
%files
|
|
84 |
%defattr(-, root, root)
|
|
85 |
%{_libdir}/python?.?/vendor-packages/*
|
|
86 |
|
|
87 |
%files devel
|
|
88 |
%defattr(-, root, root)
|
|
89 |
%doc examples
|
|
90 |
%doc AUTHORS NEWS README MAPPING ChangeLog
|
|
91 |
%{_bindir}/*
|
|
92 |
%{_includedir}/*
|
|
93 |
%{_libdir}/pkgconfig/*
|
|
94 |
%{_libdir}/pygtk/*
|
|
95 |
%{_datadir}/pygtk/*
|
|
96 |
|
|
97 |
%changelog -n pygtk2
|
10524
|
98 |
* Wed Sep 19 2007 - [email protected]
|
|
99 |
- Bump to 2.12.0.
|
10379
|
100 |
* Mon Aug 27 2007 - [email protected]
|
|
101 |
- Bump to 2.11.0.
|
10178
|
102 |
* Wed Jul 11 2007 - [email protected]
|
|
103 |
- Bump to 2.10.5. Remove obsolete patch, 02-gtk-tooltips.
|
10109
|
104 |
* Fri Jun 22 2007 - [email protected]
|
10111
|
105 |
- Add patch 02-gtk-tooltips to fix bugzilla 449318 (pygtk not in sync with gtk+)
|
9397
|
106 |
* Tue Feb 6 2007 - [email protected]
|
|
107 |
- Bump to 2.10.4.
|
|
108 |
* Thu Dec 14 2006 - [email protected]
|
|
109 |
- Remove patch 02-pygobject-xsl-dir as nothing is built in the docs dir.
|
|
110 |
* Wed Oct 04 2006 - [email protected]
|
|
111 |
- Bump to 2.10.3.
|
|
112 |
* Tue Oct 03 2006 - [email protected]
|
|
113 |
- Bump to 2.10.2.
|
|
114 |
* Sat Sep 9 2006 - [email protected]
|
|
115 |
- re-enable optimisation as the compiler bug that prevented it has been fixed
|
|
116 |
* Tue Sep 05 2006 - [email protected]
|
|
117 |
- Bump to 2.10.1.
|
|
118 |
* Mon Aug 28 2006 - [email protected]
|
|
119 |
- Bump to 2.9.6 really
|
|
120 |
* Tue Aug 08 2006 - [email protected]
|
|
121 |
- Bump to 2.9.6.
|
|
122 |
* Tue Aug 08 2006 - [email protected]
|
|
123 |
- Bump to 2.9.5.
|
|
124 |
* Mon Aug 07 2006 - [email protected]
|
|
125 |
- Bump to 2.9.4.
|
|
126 |
* Fri Jul 21 2006 - [email protected]
|
|
127 |
- Bump to 2.9.3.
|
|
128 |
* Tue Apr 4 2006 - [email protected]
|
|
129 |
- Bump to 2.9.0.
|
|
130 |
* Fri Mar 31 2006 - [email protected]
|
|
131 |
- Bump to 2.8.5.
|
|
132 |
* Wed Feb 15 2006 - [email protected]
|
|
133 |
- Disable optimizations on x86 to workaround compiler bug 6382078.
|
|
134 |
* Sun Jan 15 2006 - [email protected]
|
|
135 |
- Bump to 2.8.4
|
|
136 |
* Tue Dec 20 2005 - [email protected]
|
|
137 |
- Bump to 2.8.2
|
|
138 |
* Thu Oct 27 2005 - [email protected]
|
|
139 |
- add patch uninstalled.pc.diff so the pygtk can be included in the same
|
|
140 |
Solaris pkg as gnome-python
|
|
141 |
- move from site-packages to vendor-packages
|
|
142 |
* Tue Sep 27 2005 - [email protected]
|
|
143 |
- Bump to 2.7.4.
|
|
144 |
* Thu Aug 25 2005 [email protected]
|
|
145 |
- Adjusted the defattr lines to have three parameters, not four.
|
|
146 |
* Tue Aug 16 2005 - [email protected]
|
|
147 |
- Bump to 2.7.3.
|
|
148 |
* Mon Aug 04 2003 - [email protected]
|
|
149 |
- Initial Sun release
|