commit
e929828379
14
gtk2.spec
14
gtk2.spec
@ -6,7 +6,7 @@
|
||||
#Basic Information
|
||||
Name: gtk2
|
||||
Version: 2.24.33
|
||||
Release: 3
|
||||
Release: 4
|
||||
Summary: GTK+ graphical user interface library
|
||||
License: LGPLv2+
|
||||
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(xi) pkgconfig(xrandr) pkgconfig(xrender) pkgconfig(xcursor)
|
||||
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
|
||||
%if 0%{?openEuler}
|
||||
BuildRequires: cups-devel
|
||||
%endif
|
||||
|
||||
Requires: hicolor-icon-theme gtk-update-icon-cache
|
||||
Requires: gdk-pixbuf2-modules glib2 >= 2.28.0 atk >= 1.29.2 pango >= 1.20
|
||||
Requires: libXrandr >= 1.2.99.4-2
|
||||
@ -107,6 +111,9 @@ export CFLAGS='-fno-strict-aliasing %optflags'
|
||||
--enable-man \
|
||||
--with-xinput=xfree \
|
||||
--enable-debug \
|
||||
%if !0%{?openEuler}
|
||||
--disable-cups
|
||||
%endif
|
||||
)
|
||||
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
|
||||
%make_build
|
||||
@ -231,6 +238,9 @@ gtk-query-immodules-2.0-64 --update-cache
|
||||
%{_mandir}/man1/gtk-builder-convert.1.gz
|
||||
|
||||
%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
|
||||
- DESC: delete -Sgit from %autosetup, and delete BuildRequires git
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user