|
|
ae75c1b |
%define pyver %(python -c 'import sys ; print sys.version[:3]')
|
|
|
ae75c1b |
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_pytho\n_lib()")}
|
|
|
ae75c1b |
|
|
|
ae75c1b |
Summary: Python bindings for gobjects
|
|
|
ae75c1b |
Name: pygobject2
|
|
|
b09c624 |
Version: 2.12.1
|
|
|
0023fa6 |
Release: 1%{?dist}
|
|
|
ae75c1b |
License: LGPL
|
|
|
ae75c1b |
Group: Development/Languages
|
|
|
ae75c1b |
URL: ftp://ftp.gnome.org/pub/GNOME/sources/pygobject/2.10/
|
|
|
ae75c1b |
Source: pygobject-%{version}.tar.bz2
|
|
|
3add2bc |
Patch0: pygobject-2.11.4-docs.patch
|
|
|
ae75c1b |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
ae75c1b |
Requires: glib2 >= 2.8
|
|
|
ae75c1b |
Requires: python2 >= 2.3.5
|
|
|
ae75c1b |
Buildrequires: python2-devel >= 2.3.5
|
|
|
ae75c1b |
Buildrequires: glib2-devel >= 2.8
|
|
|
ae75c1b |
# needed for automake/autoconf to work right with multilib python
|
|
|
ae75c1b |
Buildrequires: automake >= 1.6.3-5
|
|
|
3cf7bd8 |
Buildrequires: libtool
|
|
|
ae75c1b |
|
|
|
ae75c1b |
%description
|
|
|
ae75c1b |
Pygobjects is an extension module for python that gives you access to GLib's
|
|
|
ae75c1b |
GObjects
|
|
|
ae75c1b |
|
|
|
ae75c1b |
%package devel
|
|
|
ae75c1b |
Summary: files needed to build addon gobject libraries such as pygtk
|
|
|
ae75c1b |
Group: Development/Languages
|
|
|
ae75c1b |
Requires: pygobject2 = %{version}
|
|
|
b09c624 |
Requires: pkgconfig
|
|
|
ae75c1b |
|
|
|
ae75c1b |
%description devel
|
|
|
ae75c1b |
This package contains files required to build wrappers for gobject addon
|
|
|
ae75c1b |
libraries such as pygtk
|
|
|
ae75c1b |
|
|
|
ae75c1b |
%prep
|
|
|
ae75c1b |
%setup -q -n pygobject-%{version}
|
|
|
3add2bc |
%patch0 -p1 -b .docs
|
|
|
ae75c1b |
|
|
|
ae75c1b |
%build
|
|
|
3add2bc |
%configure --enable-thread --disable-docs
|
|
|
ae75c1b |
export tagname=CC
|
|
|
ae75c1b |
make LIBTOOL=/usr/bin/libtool
|
|
|
ae75c1b |
|
|
|
ae75c1b |
%install
|
|
|
ae75c1b |
rm -rf $RPM_BUILD_ROOT
|
|
|
ae75c1b |
export tagname=CC
|
|
|
ae75c1b |
make LIBTOOL=/usr/bin/libtool DESTDIR=$RPM_BUILD_ROOT install
|
|
|
ae75c1b |
find $RPM_BUILD_ROOT -name '*.la' -or -name '*.a' | xargs rm -f
|
|
|
ae75c1b |
|
|
|
ae75c1b |
rm examples/Makefile*
|
|
|
ae75c1b |
|
|
|
ae75c1b |
%clean
|
|
|
ae75c1b |
rm -fr $RPM_BUILD_ROOT
|
|
|
ae75c1b |
|
|
|
ae75c1b |
%files
|
|
|
ae75c1b |
%defattr(644, root, root, 755)
|
|
|
ae75c1b |
%doc AUTHORS NEWS README ChangeLog
|
|
|
ae75c1b |
%doc examples
|
|
|
ae75c1b |
|
|
|
ae75c1b |
%dir %{_libdir}/python%{pyver}/site-packages/gtk-2.0
|
|
|
ae75c1b |
%{_libdir}/python%{pyver}/site-packages/gtk-2.0/dsextras.py*
|
|
|
ae75c1b |
%{_libdir}/python%{pyver}/site-packages/pygtk*
|
|
|
ae75c1b |
|
|
|
ae75c1b |
%defattr(755, root, root, 755)
|
|
|
197dc54 |
%{_libdir}/python?.?/site-packages/gtk-2.0/gobject
|
|
|
ae75c1b |
|
|
|
ae75c1b |
%files devel
|
|
|
ae75c1b |
%defattr(644, root, root, 755)
|
|
|
ae75c1b |
%dir %{_prefix}/include/pygtk-2.0
|
|
|
ae75c1b |
%{_prefix}/include/pygtk-2.0/*.h
|
|
|
ae75c1b |
%{_libdir}/pkgconfig/pygobject-2.0.pc
|
|
|
2717324 |
%{_datadir}/gtk-doc/html/pygobject
|
|
|
2717324 |
%{_datadir}/pygobject
|
|
|
ae75c1b |
|
|
|
ae75c1b |
%changelog
|
|
|
b09c624 |
* Tue Sep 5 2006 Matthias Clasen <mclasen@redhat.com> - 2.12.1-1.fc6
|
|
|
b09c624 |
- Update to 2.12.1
|
|
|
b09c624 |
- Require pkgconfig for the -devel package
|
|
|
b09c624 |
|
|
|
3add2bc |
* Sun Aug 27 2006 Matthias Clasen <mclasen@redhat.com> - 2.11.4-1.fc6
|
|
|
3add2bc |
- Update to 2.11.4
|
|
|
3add2bc |
- Use pre-built docs
|
|
|
3add2bc |
|
|
|
0023fa6 |
* Mon Aug 21 2006 Matthias Clasen <mclasen@redhat.com> - 2.11.3-1.fc6
|
|
|
0023fa6 |
- Update to 2.11.3
|
|
|
0023fa6 |
|
|
|
7d2a5cb |
* Sun Aug 13 2006 Matthias Clasen <mclasen@redhat.com> - 2.11.2-2.fc6
|
|
|
7d2a5cb |
- BR libxslt
|
|
|
7d2a5cb |
|
|
|
cf18980 |
* Sun Aug 13 2006 Matthias Clasen <mclasen@redhat.com> - 2.11.2-1.fc6
|
|
|
cf18980 |
- Update to 2.11.2
|
|
|
cf18980 |
|
|
|
196744d |
* Wed Jul 19 2006 Jesse Keating <jkeating@redhat.com> - 2.11.0-2
|
|
|
196744d |
- rebuild
|
|
|
196744d |
|
|
|
6fab6b9 |
* Wed Jul 12 2006 Matthias Clasen <mclasen@redhat.com> - 2.11.0-1
|
|
|
6fab6b9 |
- Update to 2.11.0
|
|
|
6fab6b9 |
|
|
|
3cf7bd8 |
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 2.10.1-3
|
|
|
8173475 |
- rebuild
|
|
|
3cf7bd8 |
- Add missing br libtool
|
|
|
8173475 |
|
|
|
ae75c1b |
* Fri May 19 2006 John (J5) Palmieri <johnp@redhat.com> - 2.10.1-2
|
|
|
ae75c1b |
- Cleanup
|
|
|
3cf7bd8 |
|
|
|
ae75c1b |
* Fri May 12 2006 John (J5) Palmieri <johnp@redhat.com> - 2.10.1-1
|
|
|
ae75c1b |
- Initial package
|