drop patch (system-config-authentication is a gui app that requires X and I don't give a damn if it segfaults because someone runs it without X)

This commit is contained in:
leigh123linux 2014-12-06 18:44:41 +00:00
parent e744a3004a
commit 48c975dec1

View File

@ -15,18 +15,15 @@
Name: pygtk2
Version: 2.24.0
Release: 10%{?dist}
Release: 11%{?dist}
License: LGPLv2+
Group: Development/Languages
Summary: Python bindings for GTK+
URL: http://www.pygtk.org/
BuildRoot: %{_tmppath}/%{name}-%{version}-root
Source: http://ftp.gnome.org/pub/GNOME/sources/pygtk/2.24/pygtk-%{version}.tar.bz2
### Patches ###
# RH bug #208608
Patch0: pygtk-nodisplay-exception.patch
# This was dropped from gnome-python; obsolete it here because, well,
# we have to put it somewhere
@ -101,7 +98,6 @@ This package contains documentation files for %{name}.
%prep
%setup -q -n pygtk-%{version}
%patch0 -p1
%build
%configure --enable-thread --enable-numpy
@ -114,11 +110,7 @@ export tagname=CC
make LIBTOOL=/usr/bin/libtool DESTDIR=$RPM_BUILD_ROOT install
find $RPM_BUILD_ROOT -name '*.la' -or -name '*.a' | xargs rm -f
%clean
rm -fr $RPM_BUILD_ROOT
%files
%defattr(644, root, root, 755)
%doc AUTHORS NEWS README MAPPING COPYING
%dir %{python_sitearch}/gtk-2.0
%dir %{python_sitearch}/gtk-2.0/gtk
@ -126,8 +118,6 @@ rm -fr $RPM_BUILD_ROOT
%dir %{_libdir}/pygtk
%dir %{_libdir}/pygtk/2.0
%{_libdir}/pygtk/2.0/*
%defattr(755, root, root, 755)
%{_bindir}/pygtk-demo
%{python_sitearch}/gtk-2.0/atk.so
%{python_sitearch}/gtk-2.0/pango.so
@ -137,16 +127,13 @@ rm -fr $RPM_BUILD_ROOT
%if %{buildglade}
%files libglade
%defattr(755, root, root, 755)
%{python_sitearch}/gtk-2.0/gtk/glade.so
%endif
%files codegen
%defattr(755, root, root, 755)
%{_prefix}/bin/pygtk-codegen-2.0
%files devel
%defattr(644, root, root, 755)
%dir %{_prefix}/include/pygtk-2.0
%dir %{_prefix}/include/pygtk-2.0/pygtk
%{_prefix}/include/pygtk-2.0/pygtk/*.h
@ -158,11 +145,14 @@ rm -fr $RPM_BUILD_ROOT
%{_prefix}/share/pygtk/2.0/defs/pangocairo.override
%files doc
%defattr(644, root, root, 755)
%doc examples
%{_datadir}/gtk-doc/html/pygtk
%changelog
* Sat Dec 06 2014 Leigh Scott <leigh123linux@googlemail.com> - 2.24.0-11
- update spec file
- drop patch (system-config-authentication is a gui app that requires X and I don't give a damn if it segfaults because someone runs it without X)
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.24.0-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild