1 |
%define oname pywebkitgtk |
%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 |
Summary: Python bindings for WebKitGtk |
6 |
Name: python-webkitgtk |
Name: python-webkitgtk |
7 |
Version: 1.1.8 |
Version: 1.1.8 |
8 |
Release: %mkrel 3 |
Release: %mkrel 4 |
9 |
Source0: http://pywebkitgtk.googlecode.com/files/%{oname}-%{version}.tar.bz2 |
Source0: http://pywebkitgtk.googlecode.com/files/%{oname}-%{version}.tar.bz2 |
10 |
License: LGPLv2+ |
License: LGPLv2+ |
11 |
Group: Development/Python |
Group: Development/Python |
28 |
%make |
%make |
29 |
|
|
30 |
%install |
%install |
|
rm -rf %{buildroot} |
|
31 |
%makeinstall_std |
%makeinstall_std |
32 |
|
|
33 |
find %{buildroot} -name '*.la' | xargs rm -f |
find %{buildroot} -name '*.la' | xargs rm -f |
34 |
|
|
35 |
%files |
%files |
36 |
%doc AUTHORS MAINTAINERS NEWS README |
%doc AUTHORS MAINTAINERS NEWS README |
37 |
%dir %{python_sitearch}/webkit |
%{python_sitearch}/webkit/ |
|
%{python_sitearch}/webkit/*.py |
|
|
%{python_sitearch}/webkit/webkit.* |
|
38 |
%dir %{_datadir}/pywebkitgtk |
%dir %{_datadir}/pywebkitgtk |
39 |
%{_datadir}/pywebkitgtk/defs/webkit-*.defs |
%{_datadir}/pywebkitgtk/defs/webkit-*.defs |
40 |
%exclude %{_libdir}/pkgconfig/pywebkitgtk-1.0.pc |
%exclude %{_libdir}/pkgconfig/pywebkitgtk-1.0.pc |