1 | %{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} |
---|
2 | |
---|
3 | Name: pygobject |
---|
4 | Summary: Python bindings for GObject |
---|
5 | Summary(ja): GObject の Python バインディング |
---|
6 | Version: 2.28.6 |
---|
7 | Release: 2%{?_dist_release} |
---|
8 | |
---|
9 | Group: Development/Languages |
---|
10 | License: LGPL |
---|
11 | URL: http://www.pygtk.org/ |
---|
12 | |
---|
13 | Source: http://ftp.gnome.org/pub/GNOME/sources/pygobject/2.28/pygobject-%{version}.tar.xz |
---|
14 | |
---|
15 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
16 | BuildRequires: glib2-devel >= 2.26.0 |
---|
17 | BuildRequires: python-devel >= 2.6 |
---|
18 | BuildRequires: libffi-devel |
---|
19 | BuildRequires: libtool, automake |
---|
20 | BuildRequires: pycairo-devel >= 1.8.10 |
---|
21 | |
---|
22 | Vendor: Project Vine |
---|
23 | Distribution: Vine Linux |
---|
24 | Packager: daisuke |
---|
25 | |
---|
26 | %description |
---|
27 | pygobject provides a convenient wrapper for the GObject library |
---|
28 | for use in Python programs. |
---|
29 | |
---|
30 | %package devel |
---|
31 | Summary: Development files for building add-on libraries |
---|
32 | Group: Development/Libraries |
---|
33 | Requires: pygobject = %{version}-%{release} |
---|
34 | #Requires: pygobject-doc = %{version}-%{release} |
---|
35 | Requires: glib2-devel |
---|
36 | Requires: libffi-devel |
---|
37 | Requires: pkgconfig |
---|
38 | |
---|
39 | %description devel |
---|
40 | This package contains files required to build wrappers for |
---|
41 | pygobject-based libraries such as pygtk2. |
---|
42 | |
---|
43 | %package doc |
---|
44 | Summary: Documentation files for pygobject |
---|
45 | Group: Documentation |
---|
46 | |
---|
47 | %description doc |
---|
48 | This package contains documentation files for pygobject. |
---|
49 | |
---|
50 | %prep |
---|
51 | %setup -q |
---|
52 | |
---|
53 | %build |
---|
54 | # --disable-docs doesn't work; it builds the docs anyway. |
---|
55 | %configure \ |
---|
56 | --enable-silent-rules \ |
---|
57 | --disable-static \ |
---|
58 | --enable-thread \ |
---|
59 | --disable-introspection \ |
---|
60 | --disable-docs |
---|
61 | export tagname=CC |
---|
62 | make LIBTOOL=/usr/bin/libtool |
---|
63 | |
---|
64 | %install |
---|
65 | rm -rf $RPM_BUILD_ROOT |
---|
66 | export tagname=CC |
---|
67 | make LIBTOOL=/usr/bin/libtool DESTDIR=$RPM_BUILD_ROOT install |
---|
68 | find $RPM_BUILD_ROOT -name '*.la' -or -name '*.a' | xargs rm -f |
---|
69 | |
---|
70 | rm -f examples/Makefile* |
---|
71 | |
---|
72 | %clean |
---|
73 | rm -fr $RPM_BUILD_ROOT |
---|
74 | |
---|
75 | %files |
---|
76 | %defattr(644, root, root, 755) |
---|
77 | %doc AUTHORS NEWS README ChangeLog |
---|
78 | %doc examples |
---|
79 | |
---|
80 | %{_libdir}/libpyglib-2.0-python.so.* |
---|
81 | %dir %{python_sitearch}/gtk-2.0 |
---|
82 | %{python_sitearch}/gtk-2.0/dsextras.* |
---|
83 | %{python_sitearch}/pygtk.* |
---|
84 | |
---|
85 | %defattr(755, root, root, 755) |
---|
86 | %{python_sitearch}/gtk-2.0/gio |
---|
87 | %{python_sitearch}/glib |
---|
88 | %{python_sitearch}/gobject |
---|
89 | |
---|
90 | %files devel |
---|
91 | %defattr(755, root, root, 755) |
---|
92 | %{_bindir}/pygobject-codegen-2.0 |
---|
93 | %defattr(644, root, root, 755) |
---|
94 | %dir %{_datadir}/pygobject |
---|
95 | %dir %{_datadir}/pygobject/2.0 |
---|
96 | %dir %{_includedir}/pygtk-2.0 |
---|
97 | %{_datadir}/pygobject/2.0/codegen |
---|
98 | %{_datadir}/pygobject/2.0/defs |
---|
99 | %{_datadir}/pygobject/xsl |
---|
100 | %{_includedir}/pygtk-2.0/pyglib.h |
---|
101 | %{_includedir}/pygtk-2.0/pygobject.h |
---|
102 | %{_libdir}/libpyglib-2.0-python.so |
---|
103 | %{_libdir}/pkgconfig/pygobject-2.0.pc |
---|
104 | |
---|
105 | %files doc |
---|
106 | %defattr(644, root, root, 755) |
---|
107 | %{_datadir}/gtk-doc/html/pygobject |
---|
108 | |
---|
109 | %changelog |
---|
110 | * Sat Sep 03 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.28.6-2 |
---|
111 | - remove BuildRequires: gobject-introspection-devel |
---|
112 | - change configure option --disable-introspection instead of --enable-introspection=yes |
---|
113 | |
---|
114 | * Sun Aug 14 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.28.6-1 |
---|
115 | - new upstream release |
---|
116 | |
---|
117 | * Tue Jun 07 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 2.28.4-1 |
---|
118 | - update to 2.28.4 |
---|
119 | |
---|
120 | * Sat Oct 02 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.26.0-1 |
---|
121 | - new upstream release |
---|
122 | - add BuildRequires: gobject-introspection-devel, pycairo-devel |
---|
123 | - change configure option --enable-introspection=yes instead of --disable-introspection |
---|
124 | |
---|
125 | * Thu Sep 23 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.21.5-1 |
---|
126 | - new upstream release |
---|
127 | - added --disable-intropection option (it needs gobject-introspection >= 0.9) |
---|
128 | - moved xsl files to devel package |
---|
129 | - built with rpm-4.8.1 |
---|
130 | |
---|
131 | * Sat Apr 17 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 2.21.1-1 |
---|
132 | - new upstream release |
---|
133 | |
---|
134 | * Tue Feb 02 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 2.20.0-3 |
---|
135 | - build for python-2.6 |
---|
136 | |
---|
137 | * Wed Dec 2 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.20.0-2 |
---|
138 | - added Requires: libffi-devel to devel package <BTS:830> |
---|
139 | |
---|
140 | * Sun Nov 1 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.20.0-1 |
---|
141 | - new upstream release |
---|
142 | |
---|
143 | * Sun Mar 22 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.16.1-1 |
---|
144 | - new upstream release |
---|
145 | |
---|
146 | * Sat Jan 17 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.16.0-1 |
---|
147 | - new upstream release |
---|
148 | |
---|
149 | * Sat Oct 04 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.15.4-1 |
---|
150 | - new upstream release |
---|
151 | |
---|
152 | * Sun Jul 20 2008 Shu KONNO <owa@bg.wakwak.com> 2.14.2-2 |
---|
153 | - rebuilt with python-2.5.2 |
---|
154 | |
---|
155 | * Tue May 27 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.14.2-1 |
---|
156 | - new upstream release |
---|
157 | - spec in UTF-8 |
---|
158 | |
---|
159 | * Sat Mar 22 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.14.1-1vl5 |
---|
160 | - rebuilt with python-2.4.5 and glib2-2.16.1 |
---|
161 | - used %%{?_dist_release} macro |
---|
162 | |
---|
163 | * Sun Feb 24 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.14.1-0vl1 |
---|
164 | - new upstream release |
---|
165 | |
---|
166 | * Sat Nov 17 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.14.0-0vl1 |
---|
167 | - new upstream release |
---|
168 | - dropped Patch1 (merged into upstream) |
---|
169 | |
---|
170 | * Thu Apr 26 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 2.12.3-0vl1 |
---|
171 | - initial build for Vine Linux |
---|
172 | |
---|
173 | * Thu Apr 19 2007 Matthew Barnes <mbarnes@redhat.com> - 2.12.3-3.fc7 |
---|
174 | - Add patch for RH bug #237179 (memory leak). |
---|
175 | |
---|
176 | * Thu Dec 7 2006 Jeremy Katz <katzj@redhat.com> - 2.12.3-2 |
---|
177 | - rebuild against python 2.5 |
---|
178 | |
---|
179 | * Sat Nov 18 2006 Matthew Barnes <mbarnes@redhat.com> - 2.12.3-1.fc7 |
---|
180 | - Update to 2.12.3 |
---|
181 | |
---|
182 | * Thu Oct 26 2006 Matthew Barnes <mbarnes@redhat.com> - 2.12.2-3.fc7 |
---|
183 | - Add subpackage pygobject2-doc (bug #205231). |
---|
184 | |
---|
185 | * Tue Oct 24 2006 Matthew Barnes <mbarnes@redhat.com> - 2.12.2-2.fc7 |
---|
186 | - Use python_sitearch instead of python_sitelib. |
---|
187 | |
---|
188 | * Sun Oct 15 2006 Matthew Barnes <mbarnes@redhat.com> - 2.12.2-1.fc7 |
---|
189 | - Update to 2.12.2 |
---|
190 | |
---|
191 | * Sun Sep 24 2006 Matthew Barnes <mbarnes@redhat.com> - 2.12.1-3.fc6 |
---|
192 | - Require glib2-devel for the -devel package. |
---|
193 | |
---|
194 | * Fri Sep 22 2006 Matthew Barnes <mbarnes@redhat.com> - 2.12.1-2.fc6 |
---|
195 | - Define a python_sitelib macro for files under site_packages. |
---|
196 | - Spec file cleanups. |
---|
197 | |
---|
198 | * Tue Sep 5 2006 Matthias Clasen <mclasen@redhat.com> - 2.12.1-1.fc6 |
---|
199 | - Update to 2.12.1 |
---|
200 | - Require pkgconfig for the -devel package |
---|
201 | |
---|
202 | * Sun Aug 27 2006 Matthias Clasen <mclasen@redhat.com> - 2.11.4-1.fc6 |
---|
203 | - Update to 2.11.4 |
---|
204 | - Use pre-built docs |
---|
205 | |
---|
206 | * Mon Aug 21 2006 Matthias Clasen <mclasen@redhat.com> - 2.11.3-1.fc6 |
---|
207 | - Update to 2.11.3 |
---|
208 | |
---|
209 | * Sun Aug 13 2006 Matthias Clasen <mclasen@redhat.com> - 2.11.2-2.fc6 |
---|
210 | - BR libxslt |
---|
211 | |
---|
212 | * Sun Aug 13 2006 Matthias Clasen <mclasen@redhat.com> - 2.11.2-1.fc6 |
---|
213 | - Update to 2.11.2 |
---|
214 | |
---|
215 | * Wed Jul 19 2006 Jesse Keating <jkeating@redhat.com> - 2.11.0-2 |
---|
216 | - rebuild |
---|
217 | |
---|
218 | * Wed Jul 12 2006 Matthias Clasen <mclasen@redhat.com> - 2.11.0-1 |
---|
219 | - Update to 2.11.0 |
---|
220 | |
---|
221 | * Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 2.10.1-3 |
---|
222 | - rebuild |
---|
223 | - Add missing br libtool |
---|
224 | |
---|
225 | * Fri May 19 2006 John (J5) Palmieri <johnp@redhat.com> - 2.10.1-2 |
---|
226 | - Cleanup |
---|
227 | |
---|
228 | * Fri May 12 2006 John (J5) Palmieri <johnp@redhat.com> - 2.10.1-1 |
---|
229 | - Initial package |
---|