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:
parent
e744a3004a
commit
48c975dec1
20
pygtk2.spec
20
pygtk2.spec
@ -15,18 +15,15 @@
|
|||||||
|
|
||||||
Name: pygtk2
|
Name: pygtk2
|
||||||
Version: 2.24.0
|
Version: 2.24.0
|
||||||
Release: 10%{?dist}
|
Release: 11%{?dist}
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
Group: Development/Languages
|
Group: Development/Languages
|
||||||
Summary: Python bindings for GTK+
|
Summary: Python bindings for GTK+
|
||||||
URL: http://www.pygtk.org/
|
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
|
Source: http://ftp.gnome.org/pub/GNOME/sources/pygtk/2.24/pygtk-%{version}.tar.bz2
|
||||||
|
|
||||||
### Patches ###
|
### Patches ###
|
||||||
|
|
||||||
# RH bug #208608
|
|
||||||
Patch0: pygtk-nodisplay-exception.patch
|
|
||||||
|
|
||||||
# This was dropped from gnome-python; obsolete it here because, well,
|
# This was dropped from gnome-python; obsolete it here because, well,
|
||||||
# we have to put it somewhere
|
# we have to put it somewhere
|
||||||
@ -101,7 +98,6 @@ This package contains documentation files for %{name}.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n pygtk-%{version}
|
%setup -q -n pygtk-%{version}
|
||||||
%patch0 -p1
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --enable-thread --enable-numpy
|
%configure --enable-thread --enable-numpy
|
||||||
@ -114,11 +110,7 @@ export tagname=CC
|
|||||||
make LIBTOOL=/usr/bin/libtool DESTDIR=$RPM_BUILD_ROOT install
|
make LIBTOOL=/usr/bin/libtool DESTDIR=$RPM_BUILD_ROOT install
|
||||||
find $RPM_BUILD_ROOT -name '*.la' -or -name '*.a' | xargs rm -f
|
find $RPM_BUILD_ROOT -name '*.la' -or -name '*.a' | xargs rm -f
|
||||||
|
|
||||||
%clean
|
|
||||||
rm -fr $RPM_BUILD_ROOT
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(644, root, root, 755)
|
|
||||||
%doc AUTHORS NEWS README MAPPING COPYING
|
%doc AUTHORS NEWS README MAPPING COPYING
|
||||||
%dir %{python_sitearch}/gtk-2.0
|
%dir %{python_sitearch}/gtk-2.0
|
||||||
%dir %{python_sitearch}/gtk-2.0/gtk
|
%dir %{python_sitearch}/gtk-2.0/gtk
|
||||||
@ -126,8 +118,6 @@ rm -fr $RPM_BUILD_ROOT
|
|||||||
%dir %{_libdir}/pygtk
|
%dir %{_libdir}/pygtk
|
||||||
%dir %{_libdir}/pygtk/2.0
|
%dir %{_libdir}/pygtk/2.0
|
||||||
%{_libdir}/pygtk/2.0/*
|
%{_libdir}/pygtk/2.0/*
|
||||||
|
|
||||||
%defattr(755, root, root, 755)
|
|
||||||
%{_bindir}/pygtk-demo
|
%{_bindir}/pygtk-demo
|
||||||
%{python_sitearch}/gtk-2.0/atk.so
|
%{python_sitearch}/gtk-2.0/atk.so
|
||||||
%{python_sitearch}/gtk-2.0/pango.so
|
%{python_sitearch}/gtk-2.0/pango.so
|
||||||
@ -137,16 +127,13 @@ rm -fr $RPM_BUILD_ROOT
|
|||||||
|
|
||||||
%if %{buildglade}
|
%if %{buildglade}
|
||||||
%files libglade
|
%files libglade
|
||||||
%defattr(755, root, root, 755)
|
|
||||||
%{python_sitearch}/gtk-2.0/gtk/glade.so
|
%{python_sitearch}/gtk-2.0/gtk/glade.so
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%files codegen
|
%files codegen
|
||||||
%defattr(755, root, root, 755)
|
|
||||||
%{_prefix}/bin/pygtk-codegen-2.0
|
%{_prefix}/bin/pygtk-codegen-2.0
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(644, root, root, 755)
|
|
||||||
%dir %{_prefix}/include/pygtk-2.0
|
%dir %{_prefix}/include/pygtk-2.0
|
||||||
%dir %{_prefix}/include/pygtk-2.0/pygtk
|
%dir %{_prefix}/include/pygtk-2.0/pygtk
|
||||||
%{_prefix}/include/pygtk-2.0/pygtk/*.h
|
%{_prefix}/include/pygtk-2.0/pygtk/*.h
|
||||||
@ -158,11 +145,14 @@ rm -fr $RPM_BUILD_ROOT
|
|||||||
%{_prefix}/share/pygtk/2.0/defs/pangocairo.override
|
%{_prefix}/share/pygtk/2.0/defs/pangocairo.override
|
||||||
|
|
||||||
%files doc
|
%files doc
|
||||||
%defattr(644, root, root, 755)
|
|
||||||
%doc examples
|
%doc examples
|
||||||
%{_datadir}/gtk-doc/html/pygtk
|
%{_datadir}/gtk-doc/html/pygtk
|
||||||
|
|
||||||
%changelog
|
%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
|
* 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
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user