diff --git a/clutter-gtk.spec b/clutter-gtk.spec index 94c0660..7119972 100644 --- a/clutter-gtk.spec +++ b/clutter-gtk.spec @@ -1,4 +1,6 @@ -%define clutter_version 1.0 +%global clutter_version 1.22.3 + +%global api_ver 1.0 Name: clutter-gtk Version: 1.6.2 @@ -10,10 +12,12 @@ License: LGPLv2+ URL: http://www.clutter-project.org Source0: http://download.gnome.org/sources/clutter-gtk/1.6/clutter-gtk-%{version}.tar.xz +BuildRequires: clutter-devel >= %{clutter_version} BuildRequires: gtk3-devel >= 3.0.0 -BuildRequires: clutter-devel >= 1.9 BuildRequires: gobject-introspection-devel +Requires: clutter%{?_isa} >= %{clutter_version} + %description clutter-gtk is a library which allows the embedding of a Clutter canvas (or "stage") into a GTK+ application, as well as embedding @@ -56,18 +60,19 @@ make check %{?_smp_mflags} V=1 %files -f cluttergtk-1.0.lang %doc COPYING NEWS %{_libdir}/*.so.* -%{_libdir}/girepository-1.0/GtkClutter-%{clutter_version}.typelib +%{_libdir}/girepository-1.0/GtkClutter-%{api_ver}.typelib %files devel -%{_includedir}/clutter-gtk-%{clutter_version}/ -%{_libdir}/pkgconfig/clutter-gtk-%{clutter_version}.pc +%{_includedir}/clutter-gtk-%{api_ver}/ +%{_libdir}/pkgconfig/clutter-gtk-%{api_ver}.pc %{_libdir}/*.so -%{_datadir}/gir-1.0/GtkClutter-%{clutter_version}.gir +%{_datadir}/gir-1.0/GtkClutter-%{api_ver}.gir %{_datadir}/gtk-doc/html/clutter-gtk-1.0 %changelog * Tue Jun 30 2015 Kalev Lember - 1.6.2-1 - Update to 1.6.2 +- Require minimum clutter 1.22.3 version * Wed Jun 17 2015 Fedora Release Engineering - 1.6.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild