1 | Name: pygobject3 |
---|
2 | Summary: Python bindings for GObject Introspection |
---|
3 | Summary(ja): GObject Introspection の Python バインディング |
---|
4 | Version: 3.4.2 |
---|
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.4/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 | Vendor: Project Vine |
---|
22 | Distribution: Vine Linux |
---|
23 | Packager: Takemikaduchi |
---|
24 | |
---|
25 | %description |
---|
26 | pygobject provides a convenient wrapper for the GObject library |
---|
27 | for use in Python programs. |
---|
28 | |
---|
29 | %package devel |
---|
30 | Summary: Development files for building add-on libraries |
---|
31 | Group: Development/Libraries |
---|
32 | Requires: %{name} = %{version}-%{release} |
---|
33 | #Requires: pygobject-doc = %{version}-%{release} |
---|
34 | Requires: glib2-devel |
---|
35 | Requires: libffi-devel |
---|
36 | Requires: pkgconfig |
---|
37 | |
---|
38 | %description devel |
---|
39 | This package contains files required to build wrappers for |
---|
40 | pygobject-based libraries such as pygtk2. |
---|
41 | |
---|
42 | %package doc |
---|
43 | Summary: Documentation files for pygobject |
---|
44 | Group: Documentation |
---|
45 | BuildArch: noarch |
---|
46 | |
---|
47 | %description doc |
---|
48 | This package contains documentation files for pygobject. |
---|
49 | |
---|
50 | %prep |
---|
51 | %setup -q -n pygobject-%{version} |
---|
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 | export tagname=CC |
---|
60 | make LIBTOOL=/usr/bin/libtool |
---|
61 | |
---|
62 | %install |
---|
63 | rm -rf $RPM_BUILD_ROOT |
---|
64 | export tagname=CC |
---|
65 | make LIBTOOL=/usr/bin/libtool DESTDIR=$RPM_BUILD_ROOT install |
---|
66 | |
---|
67 | find $RPM_BUILD_ROOT -name '*.la' -or -name '*.a' | xargs rm -f |
---|
68 | rm -f examples/Makefile* |
---|
69 | |
---|
70 | # conflict with pygobject |
---|
71 | rm -rf $RPM_BUILD_ROOT%{python_sitearch}/gtk-2.0 |
---|
72 | rm -rf $RPM_BUILD_ROOT%{_datadir}/pygobject |
---|
73 | |
---|
74 | %clean |
---|
75 | rm -fr $RPM_BUILD_ROOT |
---|
76 | |
---|
77 | %files |
---|
78 | %defattr(644, root, root, 755) |
---|
79 | %doc AUTHORS NEWS README ChangeLog |
---|
80 | %doc examples |
---|
81 | %{_libdir}/libpyglib-gi-2.0-python.so.* |
---|
82 | %{python_sitearch}/*.egg-info |
---|
83 | %{python_sitearch}/gi |
---|
84 | |
---|
85 | %files devel |
---|
86 | %defattr(644, root, root, 755) |
---|
87 | %{_includedir}/pygobject-3.0/pygobject.h |
---|
88 | %{_libdir}/libpyglib-gi-2.0-python.so |
---|
89 | %{_libdir}/pkgconfig/pygobject-3.0.pc |
---|
90 | |
---|
91 | %files doc |
---|
92 | %defattr(644, root, root, 755) |
---|
93 | |
---|
94 | %changelog |
---|
95 | * Wed Nov 14 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.2-1 |
---|
96 | - new upstream release |
---|
97 | |
---|
98 | * Thu Oct 18 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.1.1-1 |
---|
99 | - new upstream release |
---|
100 | |
---|
101 | * Thu Sep 27 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.0-1 |
---|
102 | - new upstream release |
---|
103 | |
---|
104 | * Sun May 20 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.2-1 |
---|
105 | - new upstream release |
---|
106 | |
---|
107 | * Sat Mar 31 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.0-1 |
---|
108 | - new upstream release |
---|
109 | |
---|
110 | * Wed Feb 15 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.0.4-2 |
---|
111 | - rebuild with python-2.7.2 |
---|
112 | |
---|
113 | * Wed Feb 15 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.0.4-1 |
---|
114 | - new upstream release |
---|
115 | |
---|
116 | * Thu Nov 03 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.0.2-1 |
---|
117 | - new upstream release |
---|
118 | |
---|
119 | * Thu Oct 06 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.0.1-1 |
---|
120 | - new upstream release |
---|
121 | |
---|
122 | * Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.0.0-1 |
---|
123 | - new upstream release |
---|
124 | |
---|
125 | * Sat Sep 03 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.90.3-1 |
---|
126 | - initial build for Vine Linux |
---|
127 | |
---|