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