pycairo-vl.spec 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  1. %{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
  2. Name: pycairo
  3. Summary: Python bindings for the cairo library
  4. Summary(ja): cairo ライブラリの Python バインディング
  5. Version: 1.8.10
  6. Release: 3%{?_dist_release}
  7. Group: Development/Languages
  8. License: LGPLv2
  9. URL: http://cairographics.org/pycairo
  10. Source: http://cairographics.org/releases/py2cairo-%{version}.tar.gz
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  12. BuildRequires: cairo-devel >= 1.8.10
  13. BuildRequires: python-devel >= 2.6
  14. BuildRequires: pkgconfig
  15. Requires: cairo >= 1.8.10
  16. %description
  17. Python bindings for the cairo library.
  18. %package devel
  19. Summary: Libraries and headers for pycairo
  20. Group: Development/Libraries
  21. Requires: %{name} = %{version}-%{release}
  22. Requires: cairo-devel
  23. Requires: python-devel
  24. %description devel
  25. This package contains files required to build wrappers for cairo add-on
  26. libraries so that they interoperate with pycairo.
  27. %prep
  28. %setup -q
  29. %build
  30. %configure --disable-static
  31. %__make %{?_smp_mflags}
  32. %install
  33. rm -rf $RPM_BUILD_ROOT
  34. %__make DESTDIR=$RPM_BUILD_ROOT install
  35. find $RPM_BUILD_ROOT -name '*.la' | xargs rm -f
  36. %clean
  37. rm -rf $RPM_BUILD_ROOT
  38. %files
  39. %defattr(-,root,root,-)
  40. %doc AUTHORS COPYING* INSTALL NEWS README
  41. %{python_sitearch}/cairo/
  42. %files devel
  43. %defattr(-,root,root,-)
  44. %{_includedir}/pycairo/
  45. %{_libdir}/pkgconfig/pycairo.pc
  46. %changelog
  47. * Sun Jan 12 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.10-3
  48. - rebuild with VineSeed environment
  49. * Wed Feb 15 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.10-2
  50. - rebuild with python-2.7.2
  51. * Thu Sep 23 2010 Ryoichi INAGAKI <ryo1@bg.wakwak.com> 1.8.10-1
  52. - new upstream release
  53. - built wirh rpm-4.8.1
  54. * Fri Feb 12 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.8.6-2
  55. - rebuilt with gcc-4.4.3-3 on ppc
  56. * Tue Feb 02 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 1.8.6-1
  57. - build for python-2.6
  58. * Sat Jan 17 2009 Ryoichi INAGAKI <ryo1@bg.wakwak.com> 1.8.2-1vl5
  59. - new upstream release
  60. * Sun Jul 20 2008 Shu KONNO <owa@bg.wakwak.com> 1.4.12-1vl5
  61. - rebuilt with python-2.5.2
  62. - applied new versioning policy and spec in utf-8
  63. * Sun Feb 24 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4.12-0vl1
  64. - new upstream release
  65. * Thu Apr 26 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 1.4.0-0vl1
  66. - initial build for Vine Linux
  67. * Thu Mar 15 2007 Matthew Barnes <mbarnes@redhat.com> - 1.4.0-1.fc7
  68. - Update to 1.4.0
  69. * Mon Feb 05 2007 Matthew Barnes <mbarnes@redhat.com> - 1.2.6-3.fc7
  70. - Incorporate suggestions from package review (RH bug #226329).
  71. * Thu Dec 7 2006 Jeremy Katz <katzj@redhat.com> - 1.2.6-2
  72. - rebuild against python 2.5
  73. * Tue Nov 28 2006 Matthew Barnes <mbarnes@redhat.com> - 1.2.6-1.fc7
  74. - Update to 1.2.6
  75. - Clean up the spec file.
  76. * Sun Oct 15 2006 Matthew Barnes <mbarnes@redhat.com> - 1.2.2-1
  77. - Update to 1.2.2
  78. * Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1.2.0-1.1
  79. - rebuild
  80. * Wed Jul 05 2006 John (J5) Palmieri <johnp@redhat.com> - 1.2.0-1
  81. - Update to upstream 1.2.0
  82. * Mon Jul 3 2006 Jeremy Katz <katzj@redhat.com> - 1.0.2-3
  83. - require new enough cairo (#197457)
  84. * Mon Jun 05 2006 John (J5) Palmieri <johnp@redhat.com> - 1.0.2-2
  85. - add pkgconfig BR
  86. * Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.0.2-1.2.1
  87. - bump again for double-long bug on ppc(64)
  88. * Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.0.2-1.2
  89. - rebuilt for new gcc4.1 snapshot and glibc changes
  90. * Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
  91. - rebuilt
  92. * Wed Oct 26 2005 John (J5) Palmieri <johnp@redhat.com> - 1.0.2-1
  93. - Updated to latest and push into rawhide
  94. * Fri Dec 10 2004 Kristian H淡gsberg <krh@redhat.com> - 0.1.3-1
  95. - Add python-devel build requires.
  96. * Wed Nov 24 2004 <jrb@redhat.com> -
  97. - Initial build.