|
|
2866798 |
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
|
|
2badc30 |
|
|
|
2badc30 |
Summary: Python bindings for gtkextra
|
|
|
2badc30 |
Name: python-gtkextra
|
|
|
2badc30 |
Version: 1.1.0
|
|
|
8833880 |
Release: 26%{?dist}
|
|
|
2badc30 |
# FIXME: the license is not quite clear, using the most restrictive license
|
|
|
2badc30 |
# for this field. See
|
|
|
2badc30 |
# http://sourceforge.net/tracker/index.php?func=detail&aid=1941652&group_id=35371&atid=414148
|
|
|
2badc30 |
License: GPLv2
|
|
|
2badc30 |
URL: http://python-gtkextra.sourceforge.net
|
|
|
2badc30 |
Group: Development/Libraries
|
|
|
2badc30 |
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
|
|
|
2badc30 |
Patch0: python-gtkextra-1.1.0-update.patch
|
|
|
c5cd148 |
Patch1: python-gtkextra-1.1.0-codegenmoved.patch
|
|
|
32ee08f |
# https://sourceforge.net/tracker/?func=detail&aid=2805069&group_id=35371&atid=414148
|
|
|
32ee08f |
Patch2: python-gtkextra-1.1.0-Makefile.patch
|
|
|
4ccd28a |
# https://sourceforge.net/tracker/?func=detail&aid=3172768&group_id=35371&atid=414148
|
|
|
4ccd28a |
Patch3: python-gtkextra-1.1.0-PyCObject.patch
|
|
|
29ef89b |
# https://sourceforge.net/tracker/?func=detail&aid=3368113&group_id=35371&atid=414148
|
|
|
29ef89b |
Patch4: python-gtkextra-1.1.0-G_TYPE_ITEM_ENTRY.patch
|
|
|
9cc566e |
BuildRequires: gtk+extra-devel, pygtk2-devel, python2-devel
|
|
|
35b794a |
# For autoreconf
|
|
|
35b794a |
BuildRequires: autoconf, automake, libtool
|
|
|
03bcfe5 |
Requires: pygtk2%{?_isa}
|
|
|
9cc566e |
|
|
|
9cc566e |
%filter_provides_in %{python_sitearch}/gtk-2.0/gtkextra/_gtkextramodule.so
|
|
|
9cc566e |
%filter_setup
|
|
|
2badc30 |
|
|
|
2badc30 |
%description
|
|
|
2badc30 |
This package provides a Python interface to the GtkExtra2 widget set for GTK2.
|
|
|
2badc30 |
|
|
|
2badc30 |
%prep
|
|
|
2badc30 |
%setup -q
|
|
|
2badc30 |
%patch0 -p1 -b .update
|
|
|
c5cd148 |
%patch1 -p1 -b .codegenmoved
|
|
|
32ee08f |
%patch2 -p1 -b .Makefile
|
|
|
4ccd28a |
%patch3 -p1 -b .PyCObject
|
|
|
29ef89b |
%patch4 -p1 -b .G_TYPE_ITEM_ENTRY
|
|
|
35b794a |
autoreconf -fi
|
|
|
2badc30 |
|
|
|
2badc30 |
%build
|
|
|
2badc30 |
|
|
|
2badc30 |
%configure --disable-numpy
|
|
|
2badc30 |
make %{?_smp_mflags}
|
|
|
2badc30 |
|
|
|
2badc30 |
%install
|
|
|
2badc30 |
# Install __init__.py and _config.py to %{python_sitearch}
|
|
|
2badc30 |
make install DESTDIR=$RPM_BUILD_ROOT \
|
|
|
2badc30 |
pygtkextradir='$(pyexecdir)/gtk-2.0/gtkextra'
|
|
|
2badc30 |
|
|
|
2badc30 |
%clean
|
|
|
2badc30 |
rm -rf $RPM_BUILD_ROOT
|
|
|
2badc30 |
|
|
|
2badc30 |
%files
|
|
|
2badc30 |
%defattr(-,root,root,-)
|
|
|
2badc30 |
%doc AUTHORS ChangeLog COPYING README
|
|
|
2badc30 |
%{python_sitearch}/gtk-2.0/gtkextra
|
|
|
2badc30 |
%exclude %{python_sitearch}/gtk-2.0/gtkextra/_gtkextramodule.la
|
|
|
2badc30 |
%{_libdir}/pkgconfig/python-gtkextra.pc
|
|
|
2badc30 |
%{_datadir}/pygtk/2.0/defs/gtkextra*.defs
|
|
|
2badc30 |
|
|
|
2badc30 |
%changelog
|
|
|
8833880 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-26
|
|
|
8833880 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
8833880 |
|
|
|
b1d0ec0 |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0-25
|
|
|
b1d0ec0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
b1d0ec0 |
|
|
|
15eade7 |
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0-24
|
|
|
15eade7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
15eade7 |
|
|
|
5342ab5 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0-23
|
|
|
5342ab5 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
5342ab5 |
|
|
|
20283bd |
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0-22
|
|
|
20283bd |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
20283bd |
|
|
|
7a21fd7 |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0-21
|
|
|
7a21fd7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
7a21fd7 |
|
|
|
1c8e557 |
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0-20
|
|
|
1c8e557 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
1c8e557 |
|
|
|
5bf84fe |
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0-19
|
|
|
5bf84fe |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
5bf84fe |
|
|
|
dffe1f6 |
* Mon Nov 7 2011 Miloslav Trmač <mitr@redhat.com> - 1.1.0-18
|
|
|
dffe1f6 |
- Rebuild to drop dependency on libpng12
|
|
|
dffe1f6 |
|
|
|
29ef89b |
* Fri Jul 15 2011 Miloslav Trmač <mitr@redhat.com> - 1.1.0-17
|
|
|
29ef89b |
- Fix build with recent gtk+extra packages
|
|
|
29ef89b |
Resolves: #715864
|
|
|
29ef89b |
|
|
|
0a5133f |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0-16
|
|
|
0a5133f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
0a5133f |
|
|
|
03bcfe5 |
* Fri Feb 4 2011 Miloslav Trmač <mitr@redhat.com> - 1.1.0-15
|
|
|
03bcfe5 |
- Use %%{?_isa} in Requires:
|
|
|
03bcfe5 |
|
|
|
4ccd28a |
* Fri Feb 4 2011 Miloslav Trmač <mitr@redhat.com> - 1.1.0-14
|
|
|
4ccd28a |
- Port from PyCObject to PyCapsule (but pygtk's use of PyCObject remains)
|
|
|
4ccd28a |
|
|
|
fdd7adc |
* Thu Jul 22 2010 David Malcolm <dmalcolm@redhat.com> - 1.1.0-13
|
|
|
fdd7adc |
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
|
|
|
fdd7adc |
|
|
|
9cc566e |
* Thu Mar 4 2010 Miloslav Trmač <mitr@redhat.com> - 1.1.0-12
|
|
|
9cc566e |
- Filter out bogus Provides: _gtkextramodule.so
|
|
|
9cc566e |
- Drop no longer necessary references to BuildRoot: and
|
|
|
9cc566e |
- Drop explicit Requires: pkgconfig
|
|
|
9cc566e |
- Explicitly refer to Python 2.x
|
|
|
9cc566e |
|
|
|
2866798 |
* Tue Jan 5 2010 Miloslav Trmač <mitr@redhat.com> - 1.1.0-11
|
|
|
2866798 |
- s/%%define/%%global/
|
|
|
2866798 |
|
|
|
54e833f |
* Thu Oct 15 2009 Miloslav Trmač <mitr@redhat.com> - 1.1.0-10
|
|
|
54e833f |
- Add dist tag
|
|
|
54e833f |
|
|
|
ddaf311 |
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0-9
|
|
|
ddaf311 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
ddaf311 |
|
|
|
32ee08f |
* Thu Jun 11 2009 Miloslav Trmač <mitr@redhat.com> - 1.1.0-8
|
|
|
32ee08f |
- Fix build on rawhide
|
|
|
32ee08f |
|
|
|
c8f9ab2 |
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0-7
|
|
|
c8f9ab2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
c8f9ab2 |
|
|
|
35b794a |
* Fri Jan 9 2009 Miloslav Trmač <mitr@redhat.com> - 1.1.0-6
|
|
|
35b794a |
- More general fix for the codegen move
|
|
|
35b794a |
|
|
|
c5cd148 |
* Wed Jan 07 2009 Caolán McNamara <caolanm@redhat.com> - 1.1.0-5
|
|
|
c5cd148 |
- codegen moved from pygtk to pygobject, fix to rebuild
|
|
|
c5cd148 |
|
|
|
5986b2a |
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 1.1.0-4
|
|
|
5986b2a |
- Rebuild for Python 2.6
|
|
|
5986b2a |
|
|
|
2badc30 |
* Sat Apr 19 2008 Miloslav Trmač <mitr@redhat.com> - 1.1.0-3
|
|
|
2badc30 |
- Make it actually work on 64-bit systems
|
|
|
2badc30 |
|
|
|
2badc30 |
* Fri Apr 18 2008 Miloslav Trmač <mitr@redhat.com> - 1.1.0-2
|
|
|
2badc30 |
- Fix build on 64-bit systems
|
|
|
2badc30 |
|
|
|
2badc30 |
* Mon Apr 14 2008 Miloslav Trmač <mitr@redhat.com> - 1.1.0-1
|
|
|
2badc30 |
- Clean up for package review.
|
|
|
2badc30 |
|
|
|
2badc30 |
* Fri Oct 19 2007 Miloslav Trmač <mitr@redhat.com> - 1.1.0-0.mitr.1
|
|
|
2badc30 |
- Initial package.
|