1 | %{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} |
---|
2 | %{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} |
---|
3 | |
---|
4 | Name: gobject-introspection |
---|
5 | Version: 0.10.3 |
---|
6 | Release: 1%{?_dist_release} |
---|
7 | Summary: Introspection system for GObject-based libraries |
---|
8 | |
---|
9 | Group: Development/Libraries |
---|
10 | License: GPLv2+, LGPLv2+, MIT |
---|
11 | URL: http://live.gnome.org/GObjectIntrospection |
---|
12 | Source0: ftp://ftp.gnome.org/pub/gnome/sources/%{name}/0.9/%{name}-%{version}.tar.bz2 |
---|
13 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
14 | |
---|
15 | Obsoletes: gir-repository < 0.6.6 |
---|
16 | |
---|
17 | BuildRequires: glib2-devel |
---|
18 | BuildRequires: python-devel >= 2.5 |
---|
19 | BuildRequires: gettext |
---|
20 | BuildRequires: intltool |
---|
21 | BuildRequires: gtk-doc |
---|
22 | BuildRequires: flex |
---|
23 | BuildRequires: bison |
---|
24 | BuildRequires: libffi-devel |
---|
25 | BuildRequires: mesa-libGL-devel |
---|
26 | BuildRequires: cairo-devel >= 1.10.0 |
---|
27 | BuildRequires: libxml2-devel |
---|
28 | BuildRequires: libXfixes-devel |
---|
29 | BuildRequires: libX11-devel |
---|
30 | BuildRequires: fontconfig-devel |
---|
31 | BuildRequires: libXft-devel |
---|
32 | BuildRequires: freetype2-devel |
---|
33 | BuildRequires: gnome-common |
---|
34 | |
---|
35 | %description |
---|
36 | GObject Introspection can scan C header and source files in order to |
---|
37 | generate introspection "typelib" files. It also provides an API to examine |
---|
38 | typelib files, useful for creating language bindings among other |
---|
39 | things. |
---|
40 | |
---|
41 | %package devel |
---|
42 | Summary: Libraries and headers for gobject-introspection |
---|
43 | Summary(ja): %{name} の開発用ファイル |
---|
44 | Group: Development/Libraries |
---|
45 | Requires: %name = %{version}-%{release} |
---|
46 | Requires: glib2-devel |
---|
47 | Requires: libffi-devel |
---|
48 | Requires: pkgconfig |
---|
49 | Obsoletes: gir-repository-devel < 0.6.6 |
---|
50 | |
---|
51 | %description devel |
---|
52 | Libraries and headers for gobject-introspection |
---|
53 | |
---|
54 | %prep |
---|
55 | %setup -q |
---|
56 | |
---|
57 | %build |
---|
58 | (if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; CONFIGFLAGS=--enable-gtk-doc; fi; |
---|
59 | %configure $CONFIGFLAGS) |
---|
60 | make V=1 %{?_smp_mflags} |
---|
61 | |
---|
62 | %install |
---|
63 | rm -rf $RPM_BUILD_ROOT |
---|
64 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
65 | |
---|
66 | # Die libtool, die. |
---|
67 | find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';' |
---|
68 | find $RPM_BUILD_ROOT -type f -name "*.a" -exec rm -f {} ';' |
---|
69 | |
---|
70 | %clean |
---|
71 | rm -rf $RPM_BUILD_ROOT |
---|
72 | |
---|
73 | %post -p /sbin/ldconfig |
---|
74 | |
---|
75 | %postun -p /sbin/ldconfig |
---|
76 | |
---|
77 | %files |
---|
78 | %defattr(-,root,root,-) |
---|
79 | %doc COPYING |
---|
80 | |
---|
81 | %{_libdir}/lib*.so.* |
---|
82 | %dir %{_libdir}/girepository-1.0 |
---|
83 | %{_libdir}/girepository-1.0/*.typelib |
---|
84 | |
---|
85 | %files devel |
---|
86 | %defattr(-,root,root) |
---|
87 | %{_libdir}/lib*.so |
---|
88 | %dir %{_libdir}/gobject-introspection |
---|
89 | %{_libdir}/gobject-introspection/* |
---|
90 | %{_libdir}/pkgconfig/* |
---|
91 | %{_includedir}/* |
---|
92 | %{_bindir}/g-ir-* |
---|
93 | %{_datadir}/gir-1.0 |
---|
94 | %{_datadir}/aclocal/introspection.m4 |
---|
95 | %{_datadir}/gobject-introspection-1.0/Makefile.introspection |
---|
96 | %{_datadir}/gobject-introspection-1.0/tests |
---|
97 | %{_datadir}/gobject-introspection-1.0/gdump.c |
---|
98 | %{_datadir}/gtk-doc/html/gi/* |
---|
99 | %{_mandir}/man1/*.gz |
---|
100 | |
---|
101 | %changelog |
---|
102 | * Thu Feb 24 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.10.3-1 |
---|
103 | - new upstream release |
---|
104 | |
---|
105 | * Wed Feb 09 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.10.2-1 |
---|
106 | - new upstream release |
---|
107 | |
---|
108 | * Sun Jan 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.10.1-1 |
---|
109 | - new upstream release |
---|
110 | |
---|
111 | * Sat Nov 20 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.12-1 |
---|
112 | - new upstream release |
---|
113 | |
---|
114 | * Sat Oct 02 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.8-1 |
---|
115 | - new upstream release |
---|
116 | - add Obsoletes: gir-repository < 0.6.6 |
---|
117 | - fix %files |
---|
118 | |
---|
119 | * Sat Sep 25 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.6.14-3 |
---|
120 | - delete Patch0 |
---|
121 | |
---|
122 | * Tue Sep 21 2010 IWAI, Masaharu <iwai@alib.jp> 0.6.14-2 |
---|
123 | - build with rpm-4.8.1-1 for pkg-config file |
---|
124 | |
---|
125 | * Sun Jul 25 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.6.14-1 |
---|
126 | - new upstream release |
---|
127 | |
---|
128 | * Thu Apr 29 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.6.10-1 |
---|
129 | - new upstream release |
---|
130 | |
---|
131 | * Wed Mar 31 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.6.9-1 |
---|
132 | - new upstream release |
---|
133 | - add Requires: libffi-devel (devel package) |
---|
134 | |
---|
135 | * Sun Mar 14 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.6.8-1 |
---|
136 | - new upstream release |
---|
137 | |
---|
138 | * Sun Feb 28 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.6.7-1 |
---|
139 | - new upstream release |
---|
140 | - add Patch0 for ppc |
---|
141 | |
---|
142 | * Wed Feb 03 2010 Shu KONNO <owa@bg.wakwak.com> 0.6.5-2 |
---|
143 | - rebuilt with python-2.6.4 |
---|
144 | |
---|
145 | * Sat Sep 26 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.6.5-1 |
---|
146 | - initial build for Vine Linux |
---|
147 | |
---|
148 | * Fri Sep 11 2009 Colin Walters <walters@verbum.org> - 0.6.5-1 |
---|
149 | - New upstream |
---|
150 | - Drop libtool dep |
---|
151 | |
---|
152 | * Fri Aug 28 2009 Colin Walters <walters@verbum.org> - 0.6.4-2 |
---|
153 | - Add dep on libtool temporarily |
---|
154 | |
---|
155 | * Mon Aug 26 2009 Colin Walters <walters@verbum.org> - 0.6.4-1 |
---|
156 | - New upstream 0.6.4 |
---|
157 | - Drop upstreamed build fix patch |
---|
158 | |
---|
159 | * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.3-5 |
---|
160 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
161 | |
---|
162 | * Mon Jul 6 2009 Peter Robinson <pbrobinson@gmail.com> - 0.6.3-4 |
---|
163 | - Add upstream patch to fix a build crash |
---|
164 | |
---|
165 | * Thu Jul 2 2009 Peter Robinson <pbrobinson@gmail.com> - 0.6.3-3 |
---|
166 | - Add -ggdb temporarily so it compiles on ppc64 |
---|
167 | |
---|
168 | * Thu Jul 2 2009 Peter Robinson <pbrobinson@gmail.com> - 0.6.3-2 |
---|
169 | - Add the new source file |
---|
170 | |
---|
171 | * Thu Jul 2 2009 Peter Robinson <pbrobinson@gmail.com> - 0.6.3-1 |
---|
172 | - Update to 0.6.3 |
---|
173 | |
---|
174 | * Mon Jun 1 2009 Dan Williams <dcbw@redhat.com> - 0.6.2-1 |
---|
175 | - Update to 0.6.2 |
---|
176 | |
---|
177 | * Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.1-2 |
---|
178 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
179 | |
---|
180 | * Thu Dec 11 2008 Colin Walters <walters@verbum.org> - 0.6.1-1 |
---|
181 | - Update to 0.6.1 |
---|
182 | |
---|
183 | * Fri Oct 31 2008 Colin Walters <walters@verbum.org> - 0.6.0-1 |
---|
184 | - Create spec goo |
---|