Add minimum glib2 version

This commit is contained in:
Kalev Lember 2015-08-21 16:12:44 +02:00
parent bd794666ee
commit 291f9e8c82

View File

@ -6,6 +6,7 @@
%global with_tests 1 %global with_tests 1
%global glib2_version 2.44.0
%global cogl_version 1.21.2 %global cogl_version 1.21.2
%global json_glib_version 0.12.0 %global json_glib_version 0.12.0
%global cairo_version 1.14.0 %global cairo_version 1.14.0
@ -25,14 +26,17 @@ BuildRequires: atk-devel
BuildRequires: cairo-gobject-devel >= %{cairo_version} BuildRequires: cairo-gobject-devel >= %{cairo_version}
BuildRequires: cogl-devel >= %{cogl_version} BuildRequires: cogl-devel >= %{cogl_version}
BuildRequires: gdk-pixbuf2-devel BuildRequires: gdk-pixbuf2-devel
BuildRequires: glib2-devel mesa-libGL-devel pkgconfig pango-devel BuildRequires: gettext-devel
BuildRequires: glib2-devel >= %{glib2_version}
BuildRequires: gobject-introspection-devel >= 0.9.6 BuildRequires: gobject-introspection-devel >= 0.9.6
BuildRequires: gtk3-devel BuildRequires: gtk3-devel
BuildRequires: json-glib-devel >= %{json_glib_version} BuildRequires: json-glib-devel >= %{json_glib_version}
BuildRequires: libXcomposite-devel BuildRequires: libXcomposite-devel
BuildRequires: libXdamage-devel BuildRequires: libXdamage-devel
BuildRequires: libXi-devel BuildRequires: libXi-devel
BuildRequires: gettext-devel BuildRequires: mesa-libGL-devel
BuildRequires: pango-devel
BuildRequires: pkgconfig
%if 0%{?with_wayland} %if 0%{?with_wayland}
BuildRequires: libgudev1-devel BuildRequires: libgudev1-devel
BuildRequires: libwayland-client-devel BuildRequires: libwayland-client-devel
@ -44,6 +48,7 @@ BuildRequires: libinput-devel >= %{libinput_version}
Requires: cairo%{?_isa} >= %{cairo_version} Requires: cairo%{?_isa} >= %{cairo_version}
Requires: cogl%{?_isa} >= %{cogl_version} Requires: cogl%{?_isa} >= %{cogl_version}
Requires: glib2%{?_isa} >= %{glib2_version}
Requires: gobject-introspection Requires: gobject-introspection
Requires: json-glib%{?_isa} >= %{json_glib_version} Requires: json-glib%{?_isa} >= %{json_glib_version}
%if 0%{?with_wayland} %if 0%{?with_wayland}