diff --git a/clutter.spec b/clutter.spec index 4b744cd..da9817f 100644 --- a/clutter.spec +++ b/clutter.spec @@ -22,28 +22,27 @@ License: LGPLv2+ URL: http://www.clutter-project.org/ Source0: https://download.gnome.org/sources/%{name}/1.25/%{name}-%{version}.tar.xz -BuildRequires: atk-devel -BuildRequires: cairo-gobject-devel >= %{cairo_version} -BuildRequires: cogl-devel >= %{cogl_version} -BuildRequires: gdk-pixbuf2-devel -BuildRequires: gettext-devel -BuildRequires: glib2-devel >= %{glib2_version} -BuildRequires: gobject-introspection-devel >= 0.9.6 -BuildRequires: gtk3-devel -BuildRequires: json-glib-devel >= %{json_glib_version} -BuildRequires: libXcomposite-devel -BuildRequires: libXdamage-devel -BuildRequires: libXi-devel +BuildRequires: gettext +BuildRequires: pkgconfig(atk) +BuildRequires: pkgconfig(cairo-gobject) >= %{cairo_version} +BuildRequires: pkgconfig(cogl-1.0) >= %{cogl_version} +BuildRequires: pkgconfig(gdk-pixbuf-2.0) +BuildRequires: pkgconfig(gio-2.0) >= %{glib2_version} +BuildRequires: pkgconfig(gobject-introspection-1.0) >= 1.39.0 +BuildRequires: pkgconfig(gdk-3.0) +BuildRequires: pkgconfig(json-glib-1.0) >= %{json_glib_version} +BuildRequires: pkgconfig(pangocairo) +BuildRequires: pkgconfig(xcomposite) +BuildRequires: pkgconfig(xdamage) +BuildRequires: pkgconfig(xi) BuildRequires: mesa-libGL-devel -BuildRequires: pango-devel -BuildRequires: pkgconfig %if 0%{?with_wayland} -BuildRequires: libgudev1-devel -BuildRequires: libwayland-client-devel -BuildRequires: libwayland-cursor-devel -BuildRequires: libwayland-server-devel -BuildRequires: libxkbcommon-devel -BuildRequires: libinput-devel >= %{libinput_version} +BuildRequires: pkgconfig(gudev-1.0) +BuildRequires: pkgconfig(libinput) >= %{libinput_version} +BuildRequires: pkgconfig(wayland-client) +BuildRequires: pkgconfig(wayland-cursor) +BuildRequires: pkgconfig(wayland-server) +BuildRequires: pkgconfig(xkbcommon) %endif Requires: cairo%{?_isa} >= %{cairo_version} @@ -148,6 +147,7 @@ find %{buildroot} -name '*.la' -delete %changelog * Fri Feb 19 2016 David King - 1.25.6-1 - Update to 1.25.6 (#1310079) +- Use pkgconfig for BuildRequires * Wed Feb 03 2016 Fedora Release Engineering - 1.25.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild