Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37041083
en ru br
Репозитории ALT

Группа :: Графические оболочки/GNOME
Пакет: gnome-color-manager

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

%define _unpackaged_files_terminate_build 1
%define _libexecdir %_prefix/libexec

%define ver_major 3.36
%def_enable packagekit
# tests require colord running and g-c-m installed
%def_disable check

Name: gnome-color-manager
Version: %ver_major.0
Release: alt1

Summary: Color profile manager for the GNOME desktop
License: GPL-2.0
Group: Graphical desktop/GNOME
Url: http://www.gnome.org/projects/gnome-color-manager/

Source: %gnome_ftp/%name/%ver_major/%name-%version.tar.xz

Obsoletes: libcolor-glib
Requires: common-licenses gnome-filesystem

%define gio_ver 2.31.10
%define gtk_ver 3.0
%define vte_ver 0.37.1
%define notify_ver 0.7.3
%define colord_ver 1.3.1
%define colord_gtk_ver 0.1.20
%define lcms_ver 2.2

BuildRequires(pre): meson rpm-build-gnome
BuildRequires: gcc-c++ yelp-tools libappstream-glib-devel
BuildRequires: docbook-utils xsltproc
BuildPreReq: libgio-devel >= %gio_ver
BuildPreReq: libgtk+3-devel >= %gtk_ver
BuildPreReq: libvte3-devel >= %vte_ver
BuildPreReq: libnotify-devel >= %notify_ver
BuildPreReq: colord-devel >= %colord_ver
BuildPreReq: libcolord-gtk-devel >= %colord_gtk_ver
BuildRequires: libgnome-desktop3-devel libexif-devel libexiv2-devel libcanberra-gtk3-devel
BuildRequires: libtiff-devel liblcms2-devel >= %lcms_ver libXrandr-devel
%{?_enable_packagekit:BuildRequires: libexiv2-devel}
%{?_enable_check:BuildRequires: /proc xvfb-run}

%description
gnome-color-manager is a session program that makes it easy to manage,
install and generate color profiles in the GNOME desktop.

This project has the following features:

* Setting output gamma tables (with local brightness and adjustments) to any
 Xrandr output (falling back to the per-screen methods for drivers that do not
 yet support Xrandr 1.3).

* Setting of settings at session start, and when monitors are hotplugged.

* Easy install of vendor supplied ICC or ICM files, just by double clicking
 on the file.

* Easy display calibration using an external calibration device, and scanner
 calibration using a inexpensive IT 8.7 target. For calibration, the ArgyllCMS
 package is required.

* Integration X11 by setting the per-screen and per-output _ICC_PROFILE atom,
 which makes applications such as the GIMP use a color managed output.

* Easy to use DBus interface for applications to query what ICC profiles should
 be used for a specific device. This is session activated and is only started
 when it is needed, and quits after a small period of idleness.

%prep
%setup

%build
%meson \
   -Dtests=true \
   %{?_disable_packagekit:-Dpackagekit=false}
%meson_build

%install
%meson_install
# The license
ln -sf %_licensedir/GPL-2 COPYING

%find_lang --with-gnome %name

%check
%meson_test

%files -f %name.lang
%_bindir/gcm-import
%_bindir/gcm-inspect
%_bindir/gcm-picker
%_bindir/gcm-viewer
%_datadir/%name/
%_datadir/applications/*.desktop
%_iconsdir/hicolor/*x*/apps/*.png
%_iconsdir/hicolor/scalable/apps/*.svg
%_man1dir/*
%_datadir/metainfo/org.gnome.ColorProfileViewer.appdata.xml
%doc --no-dereference COPYING
%doc README AUTHORS

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin