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