]> git.pld-linux.org Git - packages/colord-gtk.git/blobdiff - colord-gtk.spec
- try with -j1 (docs build failed on builders)
[packages/colord-gtk.git] / colord-gtk.spec
index 2afa6e741f2b7058cbeb8df4ac9fb982afe4e276..194fb9fe44d60637cea95fe6d864d994faf393d8 100644 (file)
@@ -4,19 +4,20 @@
 %bcond_without static_libs     # don't build static libraries
 %bcond_without vala            # don't build Vala API
 #
+%define        colord_ver      0.1.27
 Summary:       GTK helper library for colord
 Summary(pl.UTF-8):     Biblioteka pomocniczna GTK dla colord
 Name:          colord-gtk
-Version:       0.1.23
-Release:       2
+Version:       0.1.25
+Release:       1
 License:       GPL v2+ and LGPL v2+
 Group:         Libraries
 Source0:       http://www.freedesktop.org/software/colord/releases/%{name}-%{version}.tar.xz
-# Source0-md5: 019fa6f9349ef39d1bd28c3dcf6fb191
+# Source0-md5: f3ad262c060fc50c10805b744be7479d
 URL:           http://www.freedesktop.org/software/colord/
 BuildRequires: autoconf >= 2.63
 BuildRequires: automake >= 1:1.9
-BuildRequires: colord-devel >= %{version}
+BuildRequires: colord-devel >= %{colord_ver}
 BuildRequires: gettext-devel >= 0.17
 BuildRequires: glib2-devel >= 1:2.28.0
 BuildRequires: gobject-introspection-devel >= 0.9.8
@@ -27,8 +28,11 @@ BuildRequires:       lcms2-devel >= 2.2
 BuildRequires: libtool >= 2:2.0
 BuildRequires: pkgconfig
 BuildRequires: rpmbuild(macros) >= 1.644
-%{?with_vala:BuildRequires:    vala}
-Requires:      colord-libs >= %{version}
+%if %{with vala}
+BuildRequires: vala
+BuildRequires: vala-colord >= %{colord_ver}
+%endif
+Requires:      colord-libs >= %{colord_ver}
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -42,7 +46,7 @@ Summary:      Header files for colord-gtk library
 Summary(pl.UTF-8):     Pliki nagłówkowe biblioteki colord-gtk
 Group:         Development/Libraries
 Requires:      %{name} = %{version}-%{release}
-Requires:      colord-devel >= %{version}
+Requires:      colord-devel >= %{colord_ver}
 Requires:      gtk+3-devel >= 3.0
 
 %description devel
@@ -80,7 +84,7 @@ Summary:      colord-gtk API for Vala language
 Summary(pl.UTF-8):     API colord-gtk dla języka Vala
 Group:         Development/Libraries
 Requires:      %{name}-devel = %{version}-%{release}
-Requires:      vala-colord >= %{version}
+Requires:      vala-colord >= %{colord_ver}
 
 %description -n vala-colord-gtk
 colord-gtk API for Vala language.
@@ -102,9 +106,11 @@ API colord-gtk dla języka Vala.
        --disable-silent-rules \
        %{__enable_disable apidocs gtk-doc} \
        %{__enable_disable static_libs static} \
+       %{?with_vala:--enable-vala} \
        --with-html-dir=%{_gtkdocdir}
 
-%{__make}
+# docs build seems racy
+%{__make} -j1
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -114,7 +120,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
 
-# only empty translation exists atm. (as of 0.1.22)
+# only empty translation exists atm. (as of 0.1.25)
 #find_lang %{name}
 
 %clean
This page took 0.111223 seconds and 4 git commands to generate.