gobject-introspection-vl.spec 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175
  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: 0.9.12
  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}/0.9/%{name}-%{version}.tar.bz2
  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. %description
  31. GObject Introspection can scan C header and source files in order to
  32. generate introspection "typelib" files. It also provides an API to examine
  33. typelib files, useful for creating language bindings among other
  34. things.
  35. %package devel
  36. Summary: Libraries and headers for gobject-introspection
  37. Summary(ja): %{name} の開発用ファイル
  38. Group: Development/Libraries
  39. Requires: %name = %{version}-%{release}
  40. Requires: glib2-devel
  41. Requires: libffi-devel
  42. Requires: pkgconfig
  43. Obsoletes: gir-repository-devel < 0.6.6
  44. %description devel
  45. Libraries and headers for gobject-introspection
  46. %prep
  47. %setup -q
  48. %build
  49. (if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; CONFIGFLAGS=--enable-gtk-doc; fi;
  50. %configure $CONFIGFLAGS)
  51. make V=1 %{?_smp_mflags}
  52. %install
  53. rm -rf $RPM_BUILD_ROOT
  54. make install DESTDIR=$RPM_BUILD_ROOT
  55. # Die libtool, die.
  56. find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
  57. find $RPM_BUILD_ROOT -type f -name "*.a" -exec rm -f {} ';'
  58. %clean
  59. rm -rf $RPM_BUILD_ROOT
  60. %post -p /sbin/ldconfig
  61. %postun -p /sbin/ldconfig
  62. %files
  63. %defattr(-,root,root,-)
  64. %doc COPYING
  65. %{_libdir}/lib*.so.*
  66. %dir %{_libdir}/girepository-1.0
  67. %{_libdir}/girepository-1.0/*.typelib
  68. %files devel
  69. %defattr(-,root,root)
  70. %{_libdir}/lib*.so
  71. %dir %{_libdir}/gobject-introspection
  72. %{_libdir}/gobject-introspection/*
  73. %{_libdir}/pkgconfig/*
  74. %{_includedir}/*
  75. %{_bindir}/g-ir-*
  76. %{_datadir}/gir-1.0
  77. %{_datadir}/aclocal/introspection.m4
  78. %{_datadir}/gobject-introspection-1.0/Makefile.introspection
  79. %{_datadir}/gobject-introspection-1.0/tests
  80. %{_datadir}/gobject-introspection-1.0/gdump.c
  81. %{_datadir}/gtk-doc/html/gi/*
  82. %{_mandir}/man1/*.gz
  83. %changelog
  84. * Sat Nov 20 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.12-1
  85. - new upstream release
  86. * Sat Oct 02 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.8-1
  87. - new upstream release
  88. - add Obsoletes: gir-repository < 0.6.6
  89. - fix %files
  90. * Sat Sep 25 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.6.14-3
  91. - delete Patch0
  92. * Tue Sep 21 2010 IWAI, Masaharu <iwai@alib.jp> 0.6.14-2
  93. - build with rpm-4.8.1-1 for pkg-config file
  94. * Sun Jul 25 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.6.14-1
  95. - new upstream release
  96. * Thu Apr 29 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.6.10-1
  97. - new upstream release
  98. * Wed Mar 31 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.6.9-1
  99. - new upstream release
  100. - add Requires: libffi-devel (devel package)
  101. * Sun Mar 14 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.6.8-1
  102. - new upstream release
  103. * Sun Feb 28 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.6.7-1
  104. - new upstream release
  105. - add Patch0 for ppc
  106. * Wed Feb 03 2010 Shu KONNO <owa@bg.wakwak.com> 0.6.5-2
  107. - rebuilt with python-2.6.4
  108. * Sat Sep 26 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.6.5-1
  109. - initial build for Vine Linux
  110. * Fri Sep 11 2009 Colin Walters <walters@verbum.org> - 0.6.5-1
  111. - New upstream
  112. - Drop libtool dep
  113. * Fri Aug 28 2009 Colin Walters <walters@verbum.org> - 0.6.4-2
  114. - Add dep on libtool temporarily
  115. * Mon Aug 26 2009 Colin Walters <walters@verbum.org> - 0.6.4-1
  116. - New upstream 0.6.4
  117. - Drop upstreamed build fix patch
  118. * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.3-5
  119. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  120. * Mon Jul 6 2009 Peter Robinson <pbrobinson@gmail.com> - 0.6.3-4
  121. - Add upstream patch to fix a build crash
  122. * Thu Jul 2 2009 Peter Robinson <pbrobinson@gmail.com> - 0.6.3-3
  123. - Add -ggdb temporarily so it compiles on ppc64
  124. * Thu Jul 2 2009 Peter Robinson <pbrobinson@gmail.com> - 0.6.3-2
  125. - Add the new source file
  126. * Thu Jul 2 2009 Peter Robinson <pbrobinson@gmail.com> - 0.6.3-1
  127. - Update to 0.6.3
  128. * Mon Jun 1 2009 Dan Williams <dcbw@redhat.com> - 0.6.2-1
  129. - Update to 0.6.2
  130. * Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.1-2
  131. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  132. * Thu Dec 11 2008 Colin Walters <walters@verbum.org> - 0.6.1-1
  133. - Update to 0.6.1
  134. * Fri Oct 31 2008 Colin Walters <walters@verbum.org> - 0.6.0-1
  135. - Create spec goo