Dominique Leuenberger
bef6f96a08
Scripted push of project GNOME:Next OBS-URL: https://build.opensuse.org/request/show/519360 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gnome-color-manager?expand=0&rev=117
97 lines
3.2 KiB
RPMSpec
97 lines
3.2 KiB
RPMSpec
#
|
|
# spec file for package gnome-color-manager
|
|
#
|
|
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
|
# Copyright (c) 2010 Luis Medinas, Portugal
|
|
#
|
|
# 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 http://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
Name: gnome-color-manager
|
|
Version: 3.25.90
|
|
Release: 0
|
|
Summary: Color management tools for GNOME
|
|
License: GPL-2.0+
|
|
Group: System/GUI/GNOME
|
|
Url: http://projects.gnome.org/gnome-color-manager
|
|
Source: http://download.gnome.org/sources/gnome-color-manager/3.25/%{name}-%{version}.tar.xz
|
|
# PATCH-FIX-UPSTREAM gnome-color-manager-meson.patch bgo#786424 dimstar@opensuse.org -- Do not hardcode directory names
|
|
Patch0: gnome-color-manager-meson.patch
|
|
BuildRequires: docbook-utils
|
|
BuildRequires: gcc-c++
|
|
BuildRequires: libtiff-devel
|
|
BuildRequires: meson
|
|
BuildRequires: pkgconfig
|
|
BuildRequires: translation-update-upstream
|
|
BuildRequires: update-desktop-files
|
|
BuildRequires: yelp-tools
|
|
BuildRequires: pkgconfig(colord) >= 1.3.1
|
|
BuildRequires: pkgconfig(colord-gtk) >= 0.1.20
|
|
BuildRequires: pkgconfig(exiv2)
|
|
BuildRequires: pkgconfig(glib-2.0) >= 2.31.10
|
|
BuildRequires: pkgconfig(gtk+-3.0) >= 2.91.0
|
|
BuildRequires: pkgconfig(lcms2) >= 2.2
|
|
BuildRequires: pkgconfig(libcanberra-gtk3)
|
|
BuildRequires: pkgconfig(libexif)
|
|
BuildRequires: pkgconfig(vte-2.91)
|
|
Requires: argyllcms
|
|
Requires: colord
|
|
Requires: colord-color-profiles
|
|
Recommends: %{name}-lang
|
|
# We only recommend PackageKit - knowing that some features are not available if not present
|
|
# For managed setups, this does not matter, as the user is not supposed to be bothered with
|
|
# such things anyway (see bnc#895997).
|
|
Recommends: PackageKit
|
|
Obsoletes: gnome-color-manager-devel < %{version}
|
|
Obsoletes: libcolor-glib1 < %{version}
|
|
|
|
%description
|
|
GNOME Color Manager is a session framework that makes it easy to manage,
|
|
install and generate color profiles in the GNOME desktop.
|
|
|
|
%lang_package
|
|
|
|
%prep
|
|
%setup -q
|
|
%patch0 -p1
|
|
translation-update-upstream
|
|
|
|
%build
|
|
%meson
|
|
%meson_build
|
|
|
|
%install
|
|
%meson_install
|
|
%suse_update_desktop_file gcm-calibrate
|
|
%suse_update_desktop_file gcm-import
|
|
%suse_update_desktop_file gcm-picker
|
|
%suse_update_desktop_file org.gnome.ColorProfileViewer HardwareSettings
|
|
%find_lang %{name} %{?no_lang_C}
|
|
|
|
%files
|
|
%defattr(-, root, root)
|
|
%doc AUTHORS COPYING MAINTAINERS README
|
|
%{_bindir}/gcm-*
|
|
%{_datadir}/applications/*.desktop
|
|
%{_datadir}/gnome-color-manager/
|
|
%doc %{_datadir}/help/C/gnome-color-manager/
|
|
%{_datadir}/icons/hicolor/*/apps/gnome-color-manager.*
|
|
%{_mandir}/man?/*.*
|
|
%{_libexecdir}/gcm-helper-exiv
|
|
%dir %{_datadir}/metainfo
|
|
%{_datadir}/metainfo/org.gnome.ColorProfileViewer.appdata.xml
|
|
|
|
%files lang -f %{name}.lang
|
|
|
|
%changelog
|