summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gtk3.spec56
1 files changed, 28 insertions, 28 deletions
diff --git a/gtk3.spec b/gtk3.spec
index 0319561..72511d1 100644
--- a/gtk3.spec
+++ b/gtk3.spec
@@ -9,7 +9,6 @@
%global atk_version 2.15.1
%global cairo_version 1.14.0
%global wayland_version 1.5.91
-%global xrandr_version 1.2.99.4-2
%global epoxy_version 1.0
%global bin_version 3.0.0
@@ -28,37 +27,37 @@ URL: http://www.gtk.org
Source: http://download.gnome.org/sources/gtk+/3.15/gtk+-%{version}.tar.xz
BuildRequires: gnome-common autoconf automake intltool gettext
-BuildRequires: atk-devel >= %{atk_version}
-BuildRequires: at-spi2-atk-devel
-BuildRequires: glib2-devel >= %{glib2_version}
-BuildRequires: cairo-devel >= %{cairo_version}
-BuildRequires: cairo-gobject-devel >= %{cairo_version}
-BuildRequires: pango-devel >= %{pango_version}
-BuildRequires: gdk-pixbuf2-devel >= %{gdk_pixbuf_version}
-BuildRequires: libXi-devel
+BuildRequires: pkgconfig(atk) >= %{atk_version}
+BuildRequires: pkgconfig(atk-bridge-2.0)
+BuildRequires: pkgconfig(glib-2.0) >= %{glib2_version}
+BuildRequires: pkgconfig(gobject-introspection-1.0)
+BuildRequires: pkgconfig(cairo) >= %{cairo_version}
+BuildRequires: pkgconfig(cairo-gobject) >= %{cairo_version}
+BuildRequires: pkgconfig(pango-1.0) >= %{pango_version}
+BuildRequires: pkgconfig(gdk-pixbuf-2.0) >= %{gdk_pixbuf_version}
+BuildRequires: pkgconfig(xi)
+BuildRequires: pkgconfig(xrandr)
+BuildRequires: pkgconfig(xrender)
+BuildRequires: pkgconfig(xrender)
+BuildRequires: pkgconfig(xcursor)
+BuildRequires: pkgconfig(xfixes)
+BuildRequires: pkgconfig(xinerama)
+BuildRequires: pkgconfig(xcomposite)
+BuildRequires: pkgconfig(xdamage)
+BuildRequires: pkgconfig(epoxy)
BuildRequires: gettext
BuildRequires: gtk-doc
BuildRequires: cups-devel
-BuildRequires: rest-devel
-BuildRequires: json-glib-devel
-BuildRequires: libepoxy-devel >= %{epoxy_version}
-BuildRequires: libXrandr-devel >= %{xrandr_version}
-BuildRequires: libXrender-devel
-BuildRequires: libXcursor-devel
-BuildRequires: libXfixes-devel
-BuildRequires: libXinerama-devel
-BuildRequires: libXcomposite-devel
-BuildRequires: libXdamage-devel
-BuildRequires: libXi-devel
-BuildRequires: gobject-introspection-devel
-BuildRequires: colord-devel
-BuildRequires: avahi-gobject-devel
+BuildRequires: pkgconfig(rest-0.7)
+BuildRequires: pkgconfig(json-glib-1.0)
+BuildRequires: pkgconfig(colord)
+BuildRequires: pkgconfig(avahi-gobject)
BuildRequires: desktop-file-utils
%if 0%{?with_wayland}
-BuildRequires: libwayland-client-devel >= %{wayland_version}
-BuildRequires: libwayland-cursor-devel >= %{wayland_version}
-BuildRequires: mesa-libwayland-egl-devel
-BuildRequires: libxkbcommon-devel
+BuildRequires: pkgconfig(wayland-client) >= %{wayland_version}
+BuildRequires: pkgconfig(wayland-cursor) >= %{wayland_version}
+BuildRequires: pkgconfig(wayland-egl) >= %{wayland_version}
+BuildRequires: pkgconfig(xkbcommon)
%endif
# standard icons
@@ -256,7 +255,8 @@ gtk-query-immodules-3.0-%{__isa_bits} --update-cache
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%files -f gtk30.lang
-%doc AUTHORS COPYING NEWS README
+%license COPYING
+%doc AUTHORS NEWS README
%{_bindir}/gtk-query-immodules-3.0*
%{_bindir}/gtk-launch
%{_libdir}/libgtk-3.so.*
bgstack15