Other distros disable cups
This commit is contained in:
parent
6e46de93ad
commit
a340e14125
14
gtk2.spec
14
gtk2.spec
@ -6,7 +6,7 @@
|
|||||||
#Basic Information
|
#Basic Information
|
||||||
Name: gtk2
|
Name: gtk2
|
||||||
Version: 2.24.33
|
Version: 2.24.33
|
||||||
Release: 3
|
Release: 4
|
||||||
Summary: GTK+ graphical user interface library
|
Summary: GTK+ graphical user interface library
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
URL: http://www.gtk.org
|
URL: http://www.gtk.org
|
||||||
@ -28,8 +28,12 @@ BuildRequires: pkgconfig(pango) >= 1.20 pkgconfig(gdk-pixbuf-2.0) >= 2.21.0
|
|||||||
BuildRequires: pkgconfig(cairo) >= 1.6 pkgconfig(gobject-introspection-1.0) >= 0.9.3
|
BuildRequires: pkgconfig(cairo) >= 1.6 pkgconfig(gobject-introspection-1.0) >= 0.9.3
|
||||||
BuildRequires: pkgconfig(xi) pkgconfig(xrandr) pkgconfig(xrender) pkgconfig(xcursor)
|
BuildRequires: pkgconfig(xi) pkgconfig(xrandr) pkgconfig(xrender) pkgconfig(xcursor)
|
||||||
BuildRequires: pkgconfig(xinerama) pkgconfig(xcomposite) pkgconfig(xdamage)
|
BuildRequires: pkgconfig(xinerama) pkgconfig(xcomposite) pkgconfig(xdamage)
|
||||||
BuildRequires: gettext cups-devel libxslt python3-devel
|
BuildRequires: gettext libxslt python3-devel
|
||||||
BuildRequires: gtk-doc automake autoconf libtool pkgconfig
|
BuildRequires: gtk-doc automake autoconf libtool pkgconfig
|
||||||
|
%if 0%{?openEuler}
|
||||||
|
BuildRequires: cups-devel
|
||||||
|
%endif
|
||||||
|
|
||||||
Requires: hicolor-icon-theme gtk-update-icon-cache
|
Requires: hicolor-icon-theme gtk-update-icon-cache
|
||||||
Requires: gdk-pixbuf2-modules glib2 >= 2.28.0 atk >= 1.29.2 pango >= 1.20
|
Requires: gdk-pixbuf2-modules glib2 >= 2.28.0 atk >= 1.29.2 pango >= 1.20
|
||||||
Requires: libXrandr >= 1.2.99.4-2
|
Requires: libXrandr >= 1.2.99.4-2
|
||||||
@ -107,6 +111,9 @@ export CFLAGS='-fno-strict-aliasing %optflags'
|
|||||||
--enable-man \
|
--enable-man \
|
||||||
--with-xinput=xfree \
|
--with-xinput=xfree \
|
||||||
--enable-debug \
|
--enable-debug \
|
||||||
|
%if !0%{?openEuler}
|
||||||
|
--disable-cups
|
||||||
|
%endif
|
||||||
)
|
)
|
||||||
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
|
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
|
||||||
%make_build
|
%make_build
|
||||||
@ -231,6 +238,9 @@ gtk-query-immodules-2.0-64 --update-cache
|
|||||||
%{_mandir}/man1/gtk-builder-convert.1.gz
|
%{_mandir}/man1/gtk-builder-convert.1.gz
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Jan 14 2022 wangkerong <wangkerong@huawei.com> - 3.24.33-4
|
||||||
|
- Other distros disable cups
|
||||||
|
|
||||||
* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 2.24.33-3
|
* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 2.24.33-3
|
||||||
- DESC: delete -Sgit from %autosetup, and delete BuildRequires git
|
- DESC: delete -Sgit from %autosetup, and delete BuildRequires git
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user