pywebkitgtk-vl.spec 3.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  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: 1%{?_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. %{_libdir}/pkgconfig/*
  44. %{python_sitearch}/
  45. %changelog
  46. * Sun Aug 22 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.1.8-1
  47. - new upstream release
  48. * Wed May 5 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.1.7-1
  49. - initial build for VineSeed
  50. * Fri Aug 28 2009 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> 1.1.6-2
  51. - Added .pth for webkit-1.0
  52. * Wed Aug 26 2009 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> 1.1.6-1
  53. - Updated to 1.1.6
  54. * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1-7
  55. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  56. * Sun Mar 08 2009 Steven M. Parrish <tuxbrewr@fedoraproject.org>
  57. - Rebuilt for soname bump for webkitgtk+
  58. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1-5
  59. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  60. * Fri Dec 5 2008 Jeremy Katz <katzj@redhat.com> - 1.0.1-4
  61. - Fix build for python 2.6. Patch matches what went upstream to
  62. fix the same problem
  63. * Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 1.0.1-3
  64. - Rebuild for Python 2.6
  65. * Thu Aug 28 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> 1.0.1-2
  66. - Switch to pygobject code generator
  67. * Wed Aug 27 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> 1.0.1-1
  68. - Upstream update
  69. * Fri May 30 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> 0.3-0.2.git9824a495
  70. - Fixed release scheme
  71. - Fixed license tag
  72. - Fixed ownership
  73. - Removed .la files
  74. * Wed Apr 23 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> 0.3-0.1.git9824a495
  75. - Initial RPM release