2012-09-21 23:20:58 +02:00
|
|
|
#
|
|
|
|
# spec file for package colord-gtk
|
|
|
|
#
|
2023-06-29 14:35:23 +02:00
|
|
|
# Copyright (c) 2023 SUSE LLC
|
2012-09-21 23:20:58 +02:00
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
|
2021-10-26 12:03:08 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2012-09-21 23:20:58 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: colord-gtk
|
2022-05-04 10:14:53 +02:00
|
|
|
Version: 0.3.0
|
2012-09-21 23:20:58 +02:00
|
|
|
Release: 0
|
|
|
|
Summary: System Daemon for Managing Color Devices -- GTK Integration
|
2018-03-09 11:00:55 +01:00
|
|
|
License: LGPL-2.1-or-later
|
2012-09-21 23:20:58 +02:00
|
|
|
Group: System/Daemons
|
2021-10-26 12:03:08 +02:00
|
|
|
URL: https://www.freedesktop.org/software/colord
|
2022-05-04 10:14:53 +02:00
|
|
|
Source0: https://www.freedesktop.org/software/colord/releases/colord-gtk-%{version}.tar.xz
|
|
|
|
Source1: https://www.freedesktop.org/software/colord/releases/colord-gtk-%{version}.tar.xz.asc
|
|
|
|
Source2: %{name}.keyring
|
2012-09-21 23:20:58 +02:00
|
|
|
Source99: baselibs.conf
|
2023-06-29 14:36:46 +02:00
|
|
|
# PATCH-FIX-UPSTREAM Fix-the-callback-signature-to-fix-a-crash.patch bsc#1212840 gh#hughsie/colord-gtk#22 -- Fix segfault when turning monitor back on
|
2023-06-29 14:35:23 +02:00
|
|
|
Patch1: Fix-the-callback-signature-to-fix-a-crash.patch
|
2021-10-26 12:03:08 +02:00
|
|
|
BuildRequires: docbook5-xsl-stylesheets
|
|
|
|
BuildRequires: gtk-doc
|
|
|
|
BuildRequires: meson
|
2018-03-09 11:00:55 +01:00
|
|
|
BuildRequires: pkgconfig
|
2012-09-21 23:20:58 +02:00
|
|
|
BuildRequires: vala
|
|
|
|
BuildRequires: xsltproc
|
2013-03-20 19:02:42 +01:00
|
|
|
BuildRequires: pkgconfig(colord) >= 0.1.27
|
2012-09-21 23:20:58 +02:00
|
|
|
BuildRequires: pkgconfig(gio-2.0) >= 2.25.9
|
|
|
|
BuildRequires: pkgconfig(gio-unix-2.0)
|
|
|
|
BuildRequires: pkgconfig(glib-2.0) >= 2.28.0
|
|
|
|
BuildRequires: pkgconfig(gmodule-2.0)
|
|
|
|
BuildRequires: pkgconfig(gobject-2.0)
|
2012-12-22 16:51:26 +01:00
|
|
|
BuildRequires: pkgconfig(gobject-introspection-1.0)
|
2012-09-21 23:20:58 +02:00
|
|
|
BuildRequires: pkgconfig(gthread-2.0)
|
|
|
|
BuildRequires: pkgconfig(gtk+-3.0)
|
2022-03-21 09:34:45 +01:00
|
|
|
BuildRequires: pkgconfig(gtk4)
|
2012-09-21 23:20:58 +02:00
|
|
|
BuildRequires: pkgconfig(lcms2) >= 2.2
|
|
|
|
|
|
|
|
%description
|
|
|
|
colord is a system activated daemon that maps devices to color profiles.
|
|
|
|
It is used by gnome-color-manager for system integration and use when
|
|
|
|
there are no users logged in.
|
|
|
|
|
|
|
|
%package -n libcolord-gtk1
|
|
|
|
Summary: System Daemon for Managing Color Devices -- GTK Integration Library
|
|
|
|
Group: System/Libraries
|
2018-03-09 11:00:55 +01:00
|
|
|
Suggests: colord
|
2012-09-21 23:20:58 +02:00
|
|
|
# for the -lang package to be installable
|
|
|
|
Provides: %{name} = %{version}
|
|
|
|
|
|
|
|
%description -n libcolord-gtk1
|
|
|
|
colord is a system activated daemon that maps devices to color profiles.
|
|
|
|
It is used by gnome-color-manager for system integration and use when
|
|
|
|
there are no users logged in.
|
|
|
|
|
2022-03-21 09:34:45 +01:00
|
|
|
%package -n libcolord-gtk4-1
|
|
|
|
Summary: System Daemon for Managing Color Devices -- GTK Integration Library
|
|
|
|
Group: System/Libraries
|
|
|
|
Suggests: colord
|
|
|
|
# for the -lang package to be installable
|
|
|
|
#Provides: %%{name} = %%{version}
|
|
|
|
|
|
|
|
%description -n libcolord-gtk4-1
|
|
|
|
colord is a system activated daemon that maps devices to color profiles.
|
|
|
|
It is used by gnome-color-manager for system integration and use when
|
|
|
|
there are no users logged in.
|
|
|
|
|
2012-09-21 23:20:58 +02:00
|
|
|
%package -n typelib-1_0-ColordGtk-1_0
|
2021-10-26 12:03:08 +02:00
|
|
|
Summary: GTK Integration Introspection bindings for colord-gtk
|
2012-09-21 23:20:58 +02:00
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
%description -n typelib-1_0-ColordGtk-1_0
|
|
|
|
colord is a system activated daemon that maps devices to color profiles.
|
|
|
|
It is used by gnome-color-manager for system integration and use when
|
|
|
|
there are no users logged in.
|
|
|
|
|
|
|
|
This package provides the GObject Introspection bindings for the
|
|
|
|
libcolord-gtk library.
|
|
|
|
|
|
|
|
%package -n libcolord-gtk-devel
|
|
|
|
Summary: System Daemon for Managing Color Devices -- GTK Integration Development Files
|
|
|
|
Group: Development/Languages/C and C++
|
|
|
|
Requires: libcolord-gtk1 = %{version}
|
2022-03-21 09:34:45 +01:00
|
|
|
Requires: libcolord-gtk4-1 = %{version}
|
2012-09-21 23:20:58 +02:00
|
|
|
Requires: typelib-1_0-ColordGtk-1_0 = %{version}
|
|
|
|
|
|
|
|
%description -n libcolord-gtk-devel
|
|
|
|
colord is a system activated daemon that maps devices to color profiles.
|
|
|
|
It is used by gnome-color-manager for system integration and use when
|
|
|
|
there are no users logged in.
|
|
|
|
|
2021-10-26 12:03:08 +02:00
|
|
|
%package doc
|
|
|
|
Summary: Development Documentation for colord-gtk
|
|
|
|
Group: Documentation/HTML
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description doc
|
|
|
|
This package contains development documentation for the colord-gtk packages.
|
|
|
|
|
|
|
|
|
2012-09-21 23:20:58 +02:00
|
|
|
%lang_package
|
2018-03-09 11:00:55 +01:00
|
|
|
|
2012-09-21 23:20:58 +02:00
|
|
|
%prep
|
2021-10-26 12:03:08 +02:00
|
|
|
%autosetup -p1
|
2012-09-21 23:20:58 +02:00
|
|
|
|
|
|
|
%build
|
2021-10-26 12:03:08 +02:00
|
|
|
%meson \
|
|
|
|
-Dvapi=true \
|
|
|
|
%{nil}
|
|
|
|
%meson_build
|
2012-09-21 23:20:58 +02:00
|
|
|
|
|
|
|
%install
|
2021-10-26 12:03:08 +02:00
|
|
|
%meson_install
|
2012-09-21 23:20:58 +02:00
|
|
|
%find_lang %{name} %{?no_lang_C}
|
|
|
|
|
2022-03-21 09:34:45 +01:00
|
|
|
%ldconfig_scriptlets -n libcolord-gtk1
|
|
|
|
%ldconfig_scriptlets -n libcolord-gtk4-1
|
2012-09-21 23:20:58 +02:00
|
|
|
|
2014-12-16 12:44:47 +01:00
|
|
|
%files lang -f %{name}.lang
|
|
|
|
|
|
|
|
%files
|
|
|
|
%{_bindir}/cd-convert
|
2021-10-26 12:03:08 +02:00
|
|
|
%{_mandir}/man1/cd-convert.1%{ext_man}
|
2014-12-16 12:44:47 +01:00
|
|
|
|
2012-09-21 23:20:58 +02:00
|
|
|
%files -n libcolord-gtk1
|
2021-10-26 12:03:08 +02:00
|
|
|
%license COPYING
|
2012-09-21 23:20:58 +02:00
|
|
|
%{_libdir}/libcolord-gtk.so.*
|
|
|
|
|
2022-03-21 09:34:45 +01:00
|
|
|
%files -n libcolord-gtk4-1
|
|
|
|
%{_libdir}/libcolord-gtk4.so.*
|
|
|
|
|
2012-09-21 23:20:58 +02:00
|
|
|
%files -n typelib-1_0-ColordGtk-1_0
|
|
|
|
%{_libdir}/girepository-1.0/ColordGtk-1.0.typelib
|
|
|
|
|
|
|
|
%files -n libcolord-gtk-devel
|
|
|
|
%{_includedir}/colord-1/colord-gtk.h
|
|
|
|
%{_includedir}/colord-1/colord-gtk/
|
|
|
|
%{_libdir}/libcolord-gtk.so
|
|
|
|
%{_libdir}/pkgconfig/colord-gtk.pc
|
|
|
|
%{_datadir}/gir-1.0/ColordGtk-1.0.gir
|
|
|
|
%{_datadir}/vala/vapi/colord-gtk.vapi
|
2021-10-26 12:03:08 +02:00
|
|
|
%{_datadir}/vala/vapi/colord-gtk.deps
|
2022-03-21 09:34:45 +01:00
|
|
|
%{_libdir}/libcolord-gtk4.so
|
|
|
|
%{_libdir}/pkgconfig/colord-gtk4.pc
|
2021-10-26 12:03:08 +02:00
|
|
|
|
|
|
|
%files doc
|
|
|
|
%doc AUTHORS NEWS README
|
|
|
|
%{_datadir}/gtk-doc/html/%{name}
|
2012-09-21 23:20:58 +02:00
|
|
|
|
|
|
|
%changelog
|