Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37403533
en ru br
ALT Linux repositórios
5.0: 1.1.4-alt1

Group :: Desenvolvimento/Python
RPM: python-module-pywebkitgtk

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

%define oname pywebkitgtk
%define python_gtk_dir %python_sitelibdir/gtk-2.0
%define version 1.1.4
%define release alt1
%setup_python_module pywebkitgtk

Name: %packagename
Version: %version
Release: %release
Summary: Python Bindings for WebKit-gtk
Packager: Alexey Shabalin <shaba at altlinux.ru>
Group: Development/Python
License: GPLv2+
Url: http://code.google.com/p/pywebkitgtk/
Source: http://pywebkitgtk.googlecode.com/files/%oname-%version.tar

Provides: %oname = %version-%release

# Automatically added by buildreq on Wed Oct 29 2008

BuildRequires: libwebkit-devel libxslt-devel python-module-pygtk-devel

%description
The purpose of pywebkitgtk is to bring an alternative web engine to
Python/GTK+ application developers who might need a web browser engine for
their next application or developers wishing to have a better browser engine
that they can access to using the Python programming language.

%prep
%setup -q -n %oname-%version
# Link with current python
sed -i -e 's,^\(webkit_la_LIBADD = \$(DEPS_LIBS)\),\1 -lpython%__python_version,g' Makefile.am

%build
rm -f aclocal.m4
%undefine __libtoolize
##ACLOCAL="aclocal -I ./m4" %%autoreconf
%configure --disable-static
%make

%install
%make_install DESTDIR=%buildroot install
find %buildroot -name '*.la' -exec rm {} \;

%files
%doc AUTHORS ChangeLog COPYING MAINTAINERS NEWS README demos
%_datadir/pywebkitgtk
%python_gtk_dir/*

%changelog

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009