gobject-introspection-vl.spec 6.1 KB

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