1 | Name: pygobject3 |
---|
2 | Summary: Python bindings for GObject Introspection |
---|
3 | Summary(ja): GObject Introspection の Python バインディング |
---|
4 | Version: 3.12.1 |
---|
5 | Release: 1%{?_dist_release} |
---|
6 | |
---|
7 | Group: Development/Languages |
---|
8 | License: LGPL |
---|
9 | URL: http://www.pygtk.org/ |
---|
10 | |
---|
11 | Source: http://ftp.gnome.org/pub/GNOME/sources/pygobject/3.12/pygobject-%{version}.tar.xz |
---|
12 | |
---|
13 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
14 | BuildRequires: glib2-devel >= 2.26.0 |
---|
15 | BuildRequires: python-devel >= 2.6 |
---|
16 | BuildRequires: libffi-devel |
---|
17 | BuildRequires: libtool, automake |
---|
18 | BuildRequires: gobject-introspection-devel >= 0.9.8 |
---|
19 | BuildRequires: pycairo-devel >= 1.8.10 |
---|
20 | |
---|
21 | Obsoletes: %{name}-doc < 3.10.0 |
---|
22 | |
---|
23 | Vendor: Project Vine |
---|
24 | Distribution: Vine Linux |
---|
25 | Packager: Takemikaduchi |
---|
26 | |
---|
27 | %description |
---|
28 | pygobject provides a convenient wrapper for the GObject library |
---|
29 | for use in Python programs. |
---|
30 | |
---|
31 | %package devel |
---|
32 | Summary: Development files for building add-on libraries |
---|
33 | Group: Development/Libraries |
---|
34 | Requires: %{name} = %{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 | |
---|
44 | %prep |
---|
45 | %setup -q -n pygobject-%{version} |
---|
46 | |
---|
47 | %build |
---|
48 | # --disable-docs doesn't work; it builds the docs anyway. |
---|
49 | %configure \ |
---|
50 | --enable-silent-rules \ |
---|
51 | --disable-static \ |
---|
52 | --enable-thread |
---|
53 | export tagname=CC |
---|
54 | make LIBTOOL=/usr/bin/libtool |
---|
55 | |
---|
56 | %install |
---|
57 | rm -rf $RPM_BUILD_ROOT |
---|
58 | export tagname=CC |
---|
59 | make LIBTOOL=/usr/bin/libtool DESTDIR=$RPM_BUILD_ROOT install |
---|
60 | |
---|
61 | find $RPM_BUILD_ROOT -name '*.la' -or -name '*.a' | xargs rm -f |
---|
62 | rm -f examples/Makefile* |
---|
63 | |
---|
64 | # conflict with pygobject |
---|
65 | rm -rf $RPM_BUILD_ROOT%{python_sitearch}/gtk-2.0 |
---|
66 | rm -rf $RPM_BUILD_ROOT%{_datadir}/pygobject |
---|
67 | |
---|
68 | %clean |
---|
69 | rm -fr $RPM_BUILD_ROOT |
---|
70 | |
---|
71 | %files |
---|
72 | %defattr(644, root, root, 755) |
---|
73 | %doc AUTHORS NEWS README ChangeLog |
---|
74 | %doc examples |
---|
75 | %{_libdir}/python2.7/site-packages/pygtkcompat |
---|
76 | %{python_sitearch}/*.egg-info |
---|
77 | %{python_sitearch}/gi |
---|
78 | |
---|
79 | %files devel |
---|
80 | %defattr(644, root, root, 755) |
---|
81 | %{_includedir}/pygobject-3.0/pygobject.h |
---|
82 | %{_libdir}/pkgconfig/pygobject-3.0.pc |
---|
83 | |
---|
84 | |
---|
85 | %changelog |
---|
86 | * Sat Apr 19 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.1-1 |
---|
87 | - new upstream release |
---|
88 | |
---|
89 | * Sat Mar 29 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.0-1 |
---|
90 | - new upstream release |
---|
91 | |
---|
92 | * Sun Nov 24 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.2-1 |
---|
93 | - new upstream release |
---|
94 | |
---|
95 | * Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.1-1 |
---|
96 | - new upstream release |
---|
97 | - remove doc subpackage |
---|
98 | |
---|
99 | * Mon Jul 15 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.3-1 |
---|
100 | - new upstream release |
---|
101 | |
---|
102 | * Sat May 18 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.2-1 |
---|
103 | - new upstream release |
---|
104 | |
---|
105 | * Wed Apr 17 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.1-1 |
---|
106 | - new upstream release |
---|
107 | |
---|
108 | * Wed Apr 17 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.1-1 |
---|
109 | - new upstream release |
---|
110 | |
---|
111 | * Wed Nov 14 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.2-1 |
---|
112 | - new upstream release |
---|
113 | |
---|
114 | * Thu Oct 18 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.1.1-1 |
---|
115 | - new upstream release |
---|
116 | |
---|
117 | * Thu Sep 27 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.0-1 |
---|
118 | - new upstream release |
---|
119 | |
---|
120 | * Sun May 20 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.2-1 |
---|
121 | - new upstream release |
---|
122 | |
---|
123 | * Sat Mar 31 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.0-1 |
---|
124 | - new upstream release |
---|
125 | |
---|
126 | * Wed Feb 15 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.0.4-2 |
---|
127 | - rebuild with python-2.7.2 |
---|
128 | |
---|
129 | * Wed Feb 15 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.0.4-1 |
---|
130 | - new upstream release |
---|
131 | |
---|
132 | * Thu Nov 03 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.0.2-1 |
---|
133 | - new upstream release |
---|
134 | |
---|
135 | * Thu Oct 06 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.0.1-1 |
---|
136 | - new upstream release |
---|
137 | |
---|
138 | * Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.0.0-1 |
---|
139 | - new upstream release |
---|
140 | |
---|
141 | * Sat Sep 03 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.90.3-1 |
---|
142 | - initial build for Vine Linux |
---|
143 | |
---|