blob: 176339af7105b0ad18df68f98a90c23d84dd9c40 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
|
# NOTE: Do not edit, file was generated by jhconvert
Name: python-hulahop
Version: 0.4.9
Release: 2
Summary: A pygtk widget for embedding mozilla
License: LGPL
Group: Development/Python
Url: http://sugarlabs.org/
Source: http://download.sugarlabs.org/sources/sucrose/glucose/hulahop/hulahop-0.4.9.tar.bz2
Patch: python-hulahop-0.4.9-sugar-hulahop-configure.patch
Patch1: python-hulahop-0.4.9-sugar-hulahop-libs.patch
Requires: python-gobject2
Requires: python-gtk
Requires: python
Requires: python-xpcom
BuildRequires: gtk2-devel
BuildRequires: python-gobject2-devel
BuildRequires: python-gtk-devel
BuildRequires: python-devel
BuildRequires: python-xpcom
BuildRequires: mozilla-xulrunner190-devel >= 1.9
BuildRequires: fdupes
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
%description
The hulalop library contains a widget for embedding mozilla.
It's based on pyxpcom and give access to the whole mozilla
xpcom API through python.
%prep
%setup -q -n hulahop-0.4.9
%patch -p1
%patch1 -p1
%build
libtoolize -fc
autoreconf -vf
%configure \
--disable-static
make
%install
rm -rf %{buildroot}
make \
install \
DESTDIR=%{buildroot}
%fdupes -s %{buildroot}
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%{_datadir}/*
%{_libdir}/hulahop
%(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")/*
%doc COPYING NEWS
%changelog
|