1 |
%define oname pywebkitgtk |
2 |
# we don't want to provide private python extension libs |
3 |
%define _exclude_files_from_autoprov %{python_sitearch}/.*\\.so\\|%{python3_sitearch}/.*\\.so |
4 |
|
5 |
Summary: Python bindings for WebKitGtk |
6 |
Name: python-webkitgtk |
7 |
Version: 1.1.8 |
8 |
Release: %mkrel 7 |
9 |
Source0: http://pywebkitgtk.googlecode.com/files/%{oname}-%{version}.tar.bz2 |
10 |
License: LGPLv2+ |
11 |
Group: Development/Python |
12 |
URL: http://code.google.com/p/pywebkitgtk/ |
13 |
BuildRequires: webkitgtk-devel |
14 |
BuildRequires: pygtk2.0-devel |
15 |
BuildRequires: python |
16 |
|
17 |
Provides: %{oname} = %{version}-%{release} |
18 |
|
19 |
%description |
20 |
PyWebKitGtk provides an API for developers to program WebKit/Gtk using |
21 |
Python. |
22 |
|
23 |
%prep |
24 |
%setup -q -n %{oname}-%{version} |
25 |
|
26 |
%build |
27 |
%configure2_5x --disable-static |
28 |
%make |
29 |
|
30 |
%install |
31 |
%makeinstall_std |
32 |
|
33 |
find %{buildroot} -name '*.la' | xargs rm -f |
34 |
|
35 |
%files |
36 |
%doc AUTHORS MAINTAINERS NEWS README |
37 |
%{python_sitearch}/webkit/ |
38 |
%dir %{_datadir}/pywebkitgtk |
39 |
%{_datadir}/pywebkitgtk/defs/webkit-*.defs |
40 |
%exclude %{_libdir}/pkgconfig/pywebkitgtk-1.0.pc |