source: projects/specs/trunk/p/pywebkitgtk/pywebkitgtk-vl.spec @ 4799

Revision 4799, 3.3 KB checked in by kudoh, 13 years ago (diff)

%{!?python_sitearch: %define python_sitearch %(%{python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}

Name: pywebkitgtk
Version: 1.1.8
Release: 3%{?_dist_release}
Summary: Python Bindings for WebKit?-gtk
Summary(ja): WebKit?-gtk の Python バインディング

Group: Development/Languages?
License: GPLv2+
URL:  http://code.google.com/p/pywebkitgtk/
Source0:  http://pywebkitgtk.googlecode.com/files/%{name}-%{version}.tar.bz2
BuildRoot?: %{_tmppath}/%{name}-%{version}-root

#BuildArch?:
BuildRequires?: libxslt-devel
BuildRequires?: libtool
BuildRequires?: pygtk2-devel
BuildRequires?: python-devel
BuildRequires?: WebKit?-gtk-devel >= 1.1.10

Requires: pygtk2

%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
chmod -x demos/*

%build
%configure
make %{?_smp_mflags} PYGTK_CODEGEN=pygobject-codegen-2.0

%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT \( -name \*.la -o -name \*.a \) -exec rm {} \;
cat > $RPM_BUILD_ROOT%{python_sitearch}/webkit-1.0.pth << EOF
webkit-1.0
EOF

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog? COPYING MAINTAINERS NEWS README demos
%{_datadir}/pywebkitgtk/defs/webkit-*.defs
%{_libdir}/pkgconfig/*
%{python_sitearch}/

%changelog

  • Thu Sep 22 2011 Toshiharu Kudoh <toshi.kd2@…> 1.1.8-3
  • rebuilt with current environment
  • Mon Sep 27 2010 Shu KONNO <owa@…> 1.1.8-2
  • rebuilt with rpm-4.8.1 for pkg-config
  • Sun Aug 22 2010 Toshiharu Kudoh <toshi.kd2@…> 1.1.8-1
  • new upstream release
  • Wed May 5 2010 Toshiharu Kudoh <toshi.kd2@…> 1.1.7-1
  • initial build for VineSeed
  • Fri Aug 28 2009 Ignacio Vazquez-Abrams <ivazqueznet+rpm@…> 1.1.6-2
  • Added .pth for webkit-1.0
  • Wed Aug 26 2009 Ignacio Vazquez-Abrams <ivazqueznet+rpm@…> 1.1.6-1
  • Updated to 1.1.6
  • Sun Mar 08 2009 Steven M. Parrish <tuxbrewr@…>
  • Rebuilt for soname bump for webkitgtk+
  • Fri Dec 5 2008 Jeremy Katz <katzj@…> - 1.0.1-4
  • Fix build for python 2.6. Patch matches what went upstream to fix the same problem
  • Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@…> - 1.0.1-3
  • Rebuild for Python 2.6
  • Thu Aug 28 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@…> 1.0.1-2
  • Switch to pygobject code generator
  • Wed Aug 27 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@…> 1.0.1-1
  • Upstream update
  • Fri May 30 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@…> 0.3-0.2.git9824a495
  • Fixed release scheme
  • Fixed license tag
  • Fixed ownership
  • Removed .la files
  • Wed Apr 23 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@…> 0.3-0.1.git9824a495
  • Initial RPM release
Line 
1%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
2
3Name:           pywebkitgtk
4Version:        1.1.8
5Release:        3%{?_dist_release}
6Summary:        Python Bindings for WebKit-gtk
7Summary(ja):    WebKit-gtk の Python バインディング
8
9Group:          Development/Languages
10License:        GPLv2+
11URL:            http://code.google.com/p/pywebkitgtk/
12Source0:        http://pywebkitgtk.googlecode.com/files/%{name}-%{version}.tar.bz2
13BuildRoot:      %{_tmppath}/%{name}-%{version}-root
14
15#BuildArch:
16BuildRequires:  libxslt-devel
17BuildRequires:  libtool
18BuildRequires:  pygtk2-devel
19BuildRequires:  python-devel
20BuildRequires:  WebKit-gtk-devel >= 1.1.10
21
22Requires:       pygtk2
23
24%description
25The purpose of pywebkitgtk is to bring an alternative web engine to
26Python/GTK+ application developers who might need a web browser engine for
27their next application or developers wishing to have a better browser engine
28that they can access to using the Python programming language.
29
30%prep
31%setup -q
32chmod -x demos/*
33
34%build
35%configure
36make %{?_smp_mflags} PYGTK_CODEGEN=pygobject-codegen-2.0
37
38%install
39rm -rf $RPM_BUILD_ROOT
40make install DESTDIR=$RPM_BUILD_ROOT
41find $RPM_BUILD_ROOT \( -name \*.la -o -name \*.a \) -exec rm {} \;
42cat > $RPM_BUILD_ROOT%{python_sitearch}/webkit-1.0.pth << EOF
43webkit-1.0
44EOF
45
46%clean
47rm -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%{_libdir}/pkgconfig/*
54%{python_sitearch}/
55
56%changelog
57* Thu Sep 22 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.1.8-3
58- rebuilt with current environment
59
60* Mon Sep 27 2010 Shu KONNO <owa@bg.wakwak.com> 1.1.8-2
61- rebuilt with rpm-4.8.1 for pkg-config
62
63* Sun Aug 22 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.1.8-1
64- new upstream release
65
66* Wed May 5 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.1.7-1
67- initial build for VineSeed
68
69* Fri Aug 28 2009 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> 1.1.6-2
70- Added .pth for webkit-1.0
71
72* Wed Aug 26 2009 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> 1.1.6-1
73- Updated to 1.1.6
74
75* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1-7
76- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
77
78* Sun Mar 08 2009 Steven M. Parrish <tuxbrewr@fedoraproject.org>
79- Rebuilt for soname bump for webkitgtk+
80
81* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1-5
82- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
83
84* Fri Dec  5 2008 Jeremy Katz <katzj@redhat.com> - 1.0.1-4
85- Fix build for python 2.6.  Patch matches what went upstream to
86  fix the same problem
87
88* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 1.0.1-3
89- Rebuild for Python 2.6
90
91* Thu Aug 28 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> 1.0.1-2
92- Switch to pygobject code generator
93
94* Wed Aug 27 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> 1.0.1-1
95- Upstream update
96
97* Fri May 30 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> 0.3-0.2.git9824a495
98- Fixed release scheme
99- Fixed license tag
100- Fixed ownership
101- Removed .la files
102
103* Wed Apr 23 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> 0.3-0.1.git9824a495
104- Initial RPM release
Note: See TracBrowser for help on using the repository browser.