File colorhug-client.spec of Package colorhug-client

# spec file for package colorhug-client
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via

Name:           colorhug-client
Version:        0.2.8
Release:        0
Summary:        Tools for the Hughski Colorimeter
License:        GPL-2.0+
Group:          Productivity/Graphics/Other
BuildRequires:  docbook-utils
BuildRequires:  intltool
BuildRequires:  itstool
BuildRequires:  pkgconfig
BuildRequires:  update-desktop-files
BuildRequires:  xz
BuildRequires:  pkgconfig(bash-completion) >= 2.0
BuildRequires:  pkgconfig(colord) >= 1.2.3
BuildRequires:  pkgconfig(colord-gtk) >= 0.1.24
BuildRequires:  pkgconfig(gio-2.0) >= 2.25.9
BuildRequires:  pkgconfig(glib-2.0) >= 2.31.10
BuildRequires:  pkgconfig(gmodule-2.0)
BuildRequires:  pkgconfig(gobject-2.0)
BuildRequires:  pkgconfig(gtk+-3.0) >= 2.91.0
BuildRequires:  pkgconfig(gusb) >= 0.2.2
BuildRequires:  pkgconfig(lcms2)
BuildRequires:  pkgconfig(libcanberra-gtk3) >= 0.10
BuildRequires:  pkgconfig(libsoup-2.4)
Recommends:     %{name}-lang

The Hughski ColorHug colorimeter is a low cost open-source hardware
sensor used to calibrate screens.

This package includes the client tools which allows the user to upgrade
the firmware on the sensor or to access the sensor from command line


%setup -q

%configure --disable-static
make %{?_smp_mflags}

%suse_update_desktop_file -u -r -G 'CCMX Loader' com.hughski.ColorHug.CcmxLoader Graphics Color
%suse_update_desktop_file -u -r -G 'Display Analysis' com.hughski.ColorHug.DisplayAnalysis Graphics Color
%suse_update_desktop_file -u -r -G 'Firmware Updater' com.hughski.ColorHug.FlashLoader Graphics Color
%suse_update_desktop_file -u -r -G 'Documentation' colorhug-docs Graphics Color
%suse_update_desktop_file -u -r -G 'Backlight' com.hughski.ColorHug.Backlight Graphics Color

%find_lang %{name}



%dir %{_datadir}/appdata
%dir %{_datadir}/colorhug-client

%files lang -f %{name}.lang

openSUSE Build Service is sponsored by