pygobject3-vl.spec 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  1. Name: pygobject3
  2. Summary: Python bindings for GObject Introspection
  3. Summary(ja): GObject Introspection の Python バインディング
  4. Version: 3.8.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.8/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. Vendor: Project Vine
  18. Distribution: Vine Linux
  19. Packager: Takemikaduchi
  20. %description
  21. pygobject provides a convenient wrapper for the GObject library
  22. for use in Python programs.
  23. %package devel
  24. Summary: Development files for building add-on libraries
  25. Group: Development/Libraries
  26. Requires: %{name} = %{version}-%{release}
  27. #Requires: pygobject-doc = %{version}-%{release}
  28. Requires: glib2-devel
  29. Requires: libffi-devel
  30. Requires: pkgconfig
  31. %description devel
  32. This package contains files required to build wrappers for
  33. pygobject-based libraries such as pygtk2.
  34. %package doc
  35. Summary: Documentation files for pygobject
  36. Group: Documentation
  37. BuildArch: noarch
  38. %description doc
  39. This package contains documentation files for pygobject.
  40. %prep
  41. %setup -q -n pygobject-%{version}
  42. %build
  43. # --disable-docs doesn't work; it builds the docs anyway.
  44. %configure \
  45. --enable-silent-rules \
  46. --disable-static \
  47. --enable-thread
  48. export tagname=CC
  49. make LIBTOOL=/usr/bin/libtool
  50. %install
  51. rm -rf $RPM_BUILD_ROOT
  52. export tagname=CC
  53. make LIBTOOL=/usr/bin/libtool DESTDIR=$RPM_BUILD_ROOT install
  54. find $RPM_BUILD_ROOT -name '*.la' -or -name '*.a' | xargs rm -f
  55. rm -f examples/Makefile*
  56. # conflict with pygobject
  57. rm -rf $RPM_BUILD_ROOT%{python_sitearch}/gtk-2.0
  58. rm -rf $RPM_BUILD_ROOT%{_datadir}/pygobject
  59. %clean
  60. rm -fr $RPM_BUILD_ROOT
  61. %files
  62. %defattr(644, root, root, 755)
  63. %doc AUTHORS NEWS README ChangeLog
  64. %doc examples
  65. %{_libdir}/libpyglib-gi-2.0-python2.so.*
  66. %{_libdir}/python2.7/site-packages/pygtkcompat
  67. %{python_sitearch}/*.egg-info
  68. %{python_sitearch}/gi
  69. %files devel
  70. %defattr(644, root, root, 755)
  71. %{_includedir}/pygobject-3.0/pygobject.h
  72. %{_libdir}/libpyglib-gi-2.0-python2.so
  73. %{_libdir}/pkgconfig/pygobject-3.0.pc
  74. %files doc
  75. %defattr(644, root, root, 755)
  76. %changelog
  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