[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 |
---|
[2566] | 5 | Version: 0.10.1 |
---|
[2041] | 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 |
---|
[2041] | 12 | Source0: ftp://ftp.gnome.org/pub/gnome/sources/%{name}/0.9/%{name}-%{version}.tar.bz2 |
---|
[521] | 13 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
| 14 | |
---|
[2041] | 15 | Obsoletes: gir-repository < 0.6.6 |
---|
| 16 | |
---|
[521] | 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 |
---|
[2041] | 26 | BuildRequires: cairo-devel >= 1.10.0 |
---|
[521] | 27 | BuildRequires: libxml2-devel |
---|
| 28 | BuildRequires: libXfixes-devel |
---|
| 29 | BuildRequires: libX11-devel |
---|
| 30 | BuildRequires: fontconfig-devel |
---|
| 31 | BuildRequires: libXft-devel |
---|
| 32 | BuildRequires: freetype2-devel |
---|
[2041] | 33 | BuildRequires: gnome-common |
---|
[521] | 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 |
---|
[805] | 47 | Requires: libffi-devel |
---|
[521] | 48 | Requires: pkgconfig |
---|
[2041] | 49 | Obsoletes: gir-repository-devel < 0.6.6 |
---|
[521] | 50 | |
---|
| 51 | %description devel |
---|
| 52 | Libraries and headers for gobject-introspection |
---|
| 53 | |
---|
| 54 | %prep |
---|
| 55 | %setup -q |
---|
| 56 | |
---|
| 57 | %build |
---|
[2041] | 58 | (if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; CONFIGFLAGS=--enable-gtk-doc; fi; |
---|
| 59 | %configure $CONFIGFLAGS) |
---|
| 60 | make V=1 %{?_smp_mflags} |
---|
[521] | 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 |
---|
[2041] | 88 | %dir %{_libdir}/gobject-introspection |
---|
| 89 | %{_libdir}/gobject-introspection/* |
---|
[521] | 90 | %{_libdir}/pkgconfig/* |
---|
| 91 | %{_includedir}/* |
---|
| 92 | %{_bindir}/g-ir-* |
---|
| 93 | %{_datadir}/gir-1.0 |
---|
| 94 | %{_datadir}/aclocal/introspection.m4 |
---|
[926] | 95 | %{_datadir}/gobject-introspection-1.0/Makefile.introspection |
---|
[2041] | 96 | %{_datadir}/gobject-introspection-1.0/tests |
---|
[2219] | 97 | %{_datadir}/gobject-introspection-1.0/gdump.c |
---|
| 98 | %{_datadir}/gtk-doc/html/gi/* |
---|
[521] | 99 | %{_mandir}/man1/*.gz |
---|
| 100 | |
---|
| 101 | %changelog |
---|
[2566] | 102 | * Sun Jan 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.10.1-1 |
---|
| 103 | - new upstream release |
---|
| 104 | |
---|
[2219] | 105 | * Sat Nov 20 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.12-1 |
---|
| 106 | - new upstream release |
---|
| 107 | |
---|
[2041] | 108 | * Sat Oct 02 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.8-1 |
---|
| 109 | - new upstream release |
---|
| 110 | - add Obsoletes: gir-repository < 0.6.6 |
---|
| 111 | - fix %files |
---|
| 112 | |
---|
[1897] | 113 | * Sat Sep 25 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.6.14-3 |
---|
| 114 | - delete Patch0 |
---|
| 115 | |
---|
[1856] | 116 | * Tue Sep 21 2010 IWAI, Masaharu <iwai@alib.jp> 0.6.14-2 |
---|
| 117 | - build with rpm-4.8.1-1 for pkg-config file |
---|
| 118 | |
---|
[1443] | 119 | * Sun Jul 25 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.6.14-1 |
---|
| 120 | - new upstream release |
---|
| 121 | |
---|
[926] | 122 | * Thu Apr 29 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.6.10-1 |
---|
| 123 | - new upstream release |
---|
| 124 | |
---|
[805] | 125 | * Wed Mar 31 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.6.9-1 |
---|
| 126 | - new upstream release |
---|
| 127 | - add Requires: libffi-devel (devel package) |
---|
| 128 | |
---|
[623] | 129 | * Sun Mar 14 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.6.8-1 |
---|
[521] | 130 | - new upstream release |
---|
[623] | 131 | |
---|
| 132 | * Sun Feb 28 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.6.7-1 |
---|
| 133 | - new upstream release |
---|
[521] | 134 | - add Patch0 for ppc |
---|
| 135 | |
---|
| 136 | * Wed Feb 03 2010 Shu KONNO <owa@bg.wakwak.com> 0.6.5-2 |
---|
| 137 | - rebuilt with python-2.6.4 |
---|
| 138 | |
---|
| 139 | * Sat Sep 26 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.6.5-1 |
---|
| 140 | - initial build for Vine Linux |
---|
| 141 | |
---|
| 142 | * Fri Sep 11 2009 Colin Walters <walters@verbum.org> - 0.6.5-1 |
---|
| 143 | - New upstream |
---|
| 144 | - Drop libtool dep |
---|
| 145 | |
---|
| 146 | * Fri Aug 28 2009 Colin Walters <walters@verbum.org> - 0.6.4-2 |
---|
| 147 | - Add dep on libtool temporarily |
---|
| 148 | |
---|
| 149 | * Mon Aug 26 2009 Colin Walters <walters@verbum.org> - 0.6.4-1 |
---|
| 150 | - New upstream 0.6.4 |
---|
| 151 | - Drop upstreamed build fix patch |
---|
| 152 | |
---|
| 153 | * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.3-5 |
---|
| 154 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
| 155 | |
---|
| 156 | * Mon Jul 6 2009 Peter Robinson <pbrobinson@gmail.com> - 0.6.3-4 |
---|
| 157 | - Add upstream patch to fix a build crash |
---|
| 158 | |
---|
| 159 | * Thu Jul 2 2009 Peter Robinson <pbrobinson@gmail.com> - 0.6.3-3 |
---|
| 160 | - Add -ggdb temporarily so it compiles on ppc64 |
---|
| 161 | |
---|
| 162 | * Thu Jul 2 2009 Peter Robinson <pbrobinson@gmail.com> - 0.6.3-2 |
---|
| 163 | - Add the new source file |
---|
| 164 | |
---|
| 165 | * Thu Jul 2 2009 Peter Robinson <pbrobinson@gmail.com> - 0.6.3-1 |
---|
| 166 | - Update to 0.6.3 |
---|
| 167 | |
---|
| 168 | * Mon Jun 1 2009 Dan Williams <dcbw@redhat.com> - 0.6.2-1 |
---|
| 169 | - Update to 0.6.2 |
---|
| 170 | |
---|
| 171 | * Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.1-2 |
---|
| 172 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
| 173 | |
---|
| 174 | * Thu Dec 11 2008 Colin Walters <walters@verbum.org> - 0.6.1-1 |
---|
| 175 | - Update to 0.6.1 |
---|
| 176 | |
---|
| 177 | * Fri Oct 31 2008 Colin Walters <walters@verbum.org> - 0.6.0-1 |
---|
| 178 | - Create spec goo |
---|