pywebkitgtk-vl.spec 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. %{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
  2. Name: pywebkitgtk
  3. Version: 1.1.8
  4. Release: 6%{?_dist_release}
  5. Summary: Python Bindings for WebKit-gtk
  6. Summary(ja): WebKit-gtk の Python バインディング
  7. Group: Development/Languages
  8. License: GPLv2+
  9. URL: http://code.google.com/p/pywebkitgtk/
  10. Source0: http://pywebkitgtk.googlecode.com/files/%{name}-%{version}.tar.bz2
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  12. #BuildArch:
  13. BuildRequires: libxslt-devel
  14. BuildRequires: libtool
  15. BuildRequires: pygtk2-devel
  16. BuildRequires: python-devel
  17. BuildRequires: WebKit-gtk-devel >= 1.1.10
  18. Requires: pygtk2
  19. %description
  20. The purpose of pywebkitgtk is to bring an alternative web engine to
  21. Python/GTK+ application developers who might need a web browser engine for
  22. their next application or developers wishing to have a better browser engine
  23. that they can access to using the Python programming language.
  24. %prep
  25. %setup -q
  26. chmod -x demos/*
  27. %build
  28. %configure
  29. make %{?_smp_mflags} PYGTK_CODEGEN=pygobject-codegen-2.0
  30. %install
  31. rm -rf $RPM_BUILD_ROOT
  32. make install DESTDIR=$RPM_BUILD_ROOT
  33. find $RPM_BUILD_ROOT \( -name \*.la -o -name \*.a \) -exec rm {} \;
  34. #cat > $RPM_BUILD_ROOT%{python_sitearch}/webkit-1.0.pth << EOF
  35. #webkit-1.0
  36. #EOF
  37. %clean
  38. rm -rf $RPM_BUILD_ROOT
  39. %files
  40. %defattr(-,root,root,-)
  41. %doc AUTHORS ChangeLog COPYING MAINTAINERS NEWS README demos
  42. %{_datadir}/pywebkitgtk/defs/webkit-*.defs
  43. %exclude %{_libdir}/pkgconfig/*
  44. %{python_sitearch}/
  45. %changelog
  46. * Wed May 01 2013 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.1.8-6
  47. - excluded %%{_libdir}/pkgconfig/pywebkitgtk-1.0.pc <BTS:0002564>
  48. * Sun Feb 19 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.8-5
  49. - rebuild with python-2.7.2
  50. * Sat Oct 08 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.8-4
  51. - rebuild with WebKit-1.6
  52. * Thu Sep 22 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.1.8-3
  53. - rebuilt with current environment
  54. * Mon Sep 27 2010 Shu KONNO <owa@bg.wakwak.com> 1.1.8-2
  55. - rebuilt with rpm-4.8.1 for pkg-config
  56. * Sun Aug 22 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.1.8-1
  57. - new upstream release
  58. * Wed May 5 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.1.7-1
  59. - initial build for VineSeed
  60. * Fri Aug 28 2009 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> 1.1.6-2
  61. - Added .pth for webkit-1.0
  62. * Wed Aug 26 2009 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> 1.1.6-1
  63. - Updated to 1.1.6
  64. * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1-7
  65. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  66. * Sun Mar 08 2009 Steven M. Parrish <tuxbrewr@fedoraproject.org>
  67. - Rebuilt for soname bump for webkitgtk+
  68. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1-5
  69. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  70. * Fri Dec 5 2008 Jeremy Katz <katzj@redhat.com> - 1.0.1-4
  71. - Fix build for python 2.6. Patch matches what went upstream to
  72. fix the same problem
  73. * Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 1.0.1-3
  74. - Rebuild for Python 2.6
  75. * Thu Aug 28 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> 1.0.1-2
  76. - Switch to pygobject code generator
  77. * Wed Aug 27 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> 1.0.1-1
  78. - Upstream update
  79. * Fri May 30 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> 0.3-0.2.git9824a495
  80. - Fixed release scheme
  81. - Fixed license tag
  82. - Fixed ownership
  83. - Removed .la files
  84. * Wed Apr 23 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> 0.3-0.1.git9824a495
  85. - Initial RPM release