pywebkitgtk-vl.spec 3.2 KB

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