pygobject3-vl.spec 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140
  1. Name: pygobject3
  2. Summary: Python bindings for GObject Introspection
  3. Summary(ja): GObject Introspection の Python バインディング
  4. Version: 3.10.2
  5. Release: 1%{?_dist_release}
  6. Group: Development/Languages
  7. License: LGPL
  8. URL: http://www.pygtk.org/
  9. Source: http://ftp.gnome.org/pub/GNOME/sources/pygobject/3.10/pygobject-%{version}.tar.xz
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildRequires: glib2-devel >= 2.26.0
  12. BuildRequires: python-devel >= 2.6
  13. BuildRequires: libffi-devel
  14. BuildRequires: libtool, automake
  15. BuildRequires: gobject-introspection-devel >= 0.9.8
  16. BuildRequires: pycairo-devel >= 1.8.10
  17. Obsoletes: %{name}-doc < 3.10.0
  18. Vendor: Project Vine
  19. Distribution: Vine Linux
  20. Packager: Takemikaduchi
  21. %description
  22. pygobject provides a convenient wrapper for the GObject library
  23. for use in Python programs.
  24. %package devel
  25. Summary: Development files for building add-on libraries
  26. Group: Development/Libraries
  27. Requires: %{name} = %{version}-%{release}
  28. #Requires: pygobject-doc = %{version}-%{release}
  29. Requires: glib2-devel
  30. Requires: libffi-devel
  31. Requires: pkgconfig
  32. %description devel
  33. This package contains files required to build wrappers for
  34. pygobject-based libraries such as pygtk2.
  35. %prep
  36. %setup -q -n pygobject-%{version}
  37. %build
  38. # --disable-docs doesn't work; it builds the docs anyway.
  39. %configure \
  40. --enable-silent-rules \
  41. --disable-static \
  42. --enable-thread
  43. export tagname=CC
  44. make LIBTOOL=/usr/bin/libtool
  45. %install
  46. rm -rf $RPM_BUILD_ROOT
  47. export tagname=CC
  48. make LIBTOOL=/usr/bin/libtool DESTDIR=$RPM_BUILD_ROOT install
  49. find $RPM_BUILD_ROOT -name '*.la' -or -name '*.a' | xargs rm -f
  50. rm -f examples/Makefile*
  51. # conflict with pygobject
  52. rm -rf $RPM_BUILD_ROOT%{python_sitearch}/gtk-2.0
  53. rm -rf $RPM_BUILD_ROOT%{_datadir}/pygobject
  54. %clean
  55. rm -fr $RPM_BUILD_ROOT
  56. %files
  57. %defattr(644, root, root, 755)
  58. %doc AUTHORS NEWS README ChangeLog
  59. %doc examples
  60. %{_libdir}/libpyglib-gi-2.0-python2.so.*
  61. %{_libdir}/python2.7/site-packages/pygtkcompat
  62. %{python_sitearch}/*.egg-info
  63. %{python_sitearch}/gi
  64. %files devel
  65. %defattr(644, root, root, 755)
  66. %{_includedir}/pygobject-3.0/pygobject.h
  67. %{_libdir}/libpyglib-gi-2.0-python2.so
  68. %{_libdir}/pkgconfig/pygobject-3.0.pc
  69. %changelog
  70. * Sun Nov 24 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.2-1
  71. - new upstream release
  72. * Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.1-1
  73. - new upstream release
  74. - remove doc subpackage
  75. * Mon Jul 15 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.3-1
  76. - new upstream release
  77. * Sat May 18 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.2-1
  78. - new upstream release
  79. * Wed Apr 17 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.1-1
  80. - new upstream release
  81. * Wed Apr 17 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.1-1
  82. - new upstream release
  83. * Wed Nov 14 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.2-1
  84. - new upstream release
  85. * Thu Oct 18 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.1.1-1
  86. - new upstream release
  87. * Thu Sep 27 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.0-1
  88. - new upstream release
  89. * Sun May 20 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.2-1
  90. - new upstream release
  91. * Sat Mar 31 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.0-1
  92. - new upstream release
  93. * Wed Feb 15 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.0.4-2
  94. - rebuild with python-2.7.2
  95. * Wed Feb 15 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.0.4-1
  96. - new upstream release
  97. * Thu Nov 03 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.0.2-1
  98. - new upstream release
  99. * Thu Oct 06 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.0.1-1
  100. - new upstream release
  101. * Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.0.0-1
  102. - new upstream release
  103. * Sat Sep 03 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.90.3-1
  104. - initial build for Vine Linux