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.8 |
---|
5 | Release: 6%{?_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 | %exclude %{_libdir}/pkgconfig/* |
---|
54 | %{python_sitearch}/ |
---|
55 | |
---|
56 | %changelog |
---|
57 | * Wed May 01 2013 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.1.8-6 |
---|
58 | - excluded %%{_libdir}/pkgconfig/pywebkitgtk-1.0.pc <BTS:0002564> |
---|
59 | |
---|
60 | * Sun Feb 19 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.8-5 |
---|
61 | - rebuild with python-2.7.2 |
---|
62 | |
---|
63 | * Sat Oct 08 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.8-4 |
---|
64 | - rebuild with WebKit-1.6 |
---|
65 | |
---|
66 | * Thu Sep 22 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.1.8-3 |
---|
67 | - rebuilt with current environment |
---|
68 | |
---|
69 | * Mon Sep 27 2010 Shu KONNO <owa@bg.wakwak.com> 1.1.8-2 |
---|
70 | - rebuilt with rpm-4.8.1 for pkg-config |
---|
71 | |
---|
72 | * Sun Aug 22 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.1.8-1 |
---|
73 | - new upstream release |
---|
74 | |
---|
75 | * Wed May 5 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.1.7-1 |
---|
76 | - initial build for VineSeed |
---|
77 | |
---|
78 | * Fri Aug 28 2009 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> 1.1.6-2 |
---|
79 | - Added .pth for webkit-1.0 |
---|
80 | |
---|
81 | * Wed Aug 26 2009 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> 1.1.6-1 |
---|
82 | - Updated to 1.1.6 |
---|
83 | |
---|
84 | * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1-7 |
---|
85 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
86 | |
---|
87 | * Sun Mar 08 2009 Steven M. Parrish <tuxbrewr@fedoraproject.org> |
---|
88 | - Rebuilt for soname bump for webkitgtk+ |
---|
89 | |
---|
90 | * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1-5 |
---|
91 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
92 | |
---|
93 | * Fri Dec 5 2008 Jeremy Katz <katzj@redhat.com> - 1.0.1-4 |
---|
94 | - Fix build for python 2.6. Patch matches what went upstream to |
---|
95 | fix the same problem |
---|
96 | |
---|
97 | * Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 1.0.1-3 |
---|
98 | - Rebuild for Python 2.6 |
---|
99 | |
---|
100 | * Thu Aug 28 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> 1.0.1-2 |
---|
101 | - Switch to pygobject code generator |
---|
102 | |
---|
103 | * Wed Aug 27 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> 1.0.1-1 |
---|
104 | - Upstream update |
---|
105 | |
---|
106 | * Fri May 30 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> 0.3-0.2.git9824a495 |
---|
107 | - Fixed release scheme |
---|
108 | - Fixed license tag |
---|
109 | - Fixed ownership |
---|
110 | - Removed .la files |
---|
111 | |
---|
112 | * Wed Apr 23 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> 0.3-0.1.git9824a495 |
---|
113 | - Initial RPM release |
---|