1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
|
Summary: Color management tools for GNOME
Summary(pl.UTF-8): Narzędzia do zarządzania kolorami dla GNOME
Name: gnome-color-manager
Version: 3.30.0
Release: 1
License: GPL v2
Group: X11/Applications
Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-color-manager/3.30/%{name}-%{version}.tar.xz
# Source0-md5: f1caa9d4ece97e21b4ff1147201b6dd3
Patch0: exiv2-0.27.patch
URL: https://github.com/GNOME/gnome-color-manager
BuildRequires: appstream-glib-devel
BuildRequires: colord-devel >= 1.3.1
BuildRequires: colord-gtk-devel >= 0.1.20
BuildRequires: docbook-dtd41-sgml
BuildRequires: docbook-utils
BuildRequires: exiv2-devel
BuildRequires: gettext-tools >= 0.19.7
BuildRequires: glib2-devel >= 1:2.32.0
BuildRequires: gnome-common
BuildRequires: gtk+3-devel >= 3.0.0
BuildRequires: gtk-doc >= 1.9
BuildRequires: lcms2-devel >= 2.2
BuildRequires: libcanberra-gtk3-devel >= 0.10
BuildRequires: libexif-devel
BuildRequires: libstdc++-devel
BuildRequires: libtiff-devel
BuildRequires: libxslt-progs
BuildRequires: meson
BuildRequires: ninja
BuildRequires: pkgconfig
BuildRequires: rpmbuild(find_lang) >= 1.23
BuildRequires: rpmbuild(macros) >= 1.601
BuildRequires: tar >= 1:1.22
BuildRequires: vte-devel >= 0.28.0
BuildRequires: xz
BuildRequires: yelp-tools
Requires(post,postun): desktop-file-utils
Requires(post,postun): gtk-update-icon-cache
Requires(post,postun): glib2 >= 1:2.32.0
Requires: colord >= 1.3.1
Requires: colord-gtk >= 0.1.20
Requires: glib2 >= 1:2.32.0
Requires: hicolor-icon-theme
Requires: lcms2 >= 2.2
Requires: libcanberra-gtk3 >= 0.10
Requires: vte >= 0.28.0
Suggests: shared-color-profiles
Obsoletes: gnome-color-manager-devel
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
GNOME Color Manager is a session framework for the GNOME desktop
environment that makes it easy to manage easy to manage, install and
generate color profiles.
%description -l pl.UTF-8
GNOME Color Manager to szkielet sesyjny dla środowiska graficznego
GNOME ułatwiający zarządzanie, instalowanie i generowanie profili
kolorów.
%prep
%setup -q
%patch0 -p1
%build
%meson build
%ninja_build -C build
%install
rm -rf $RPM_BUILD_ROOT
%ninja_install -C build
%find_lang %{name} --with-gnome
%clean
rm -rf $RPM_BUILD_ROOT
%post
/sbin/ldconfig
%update_icon_cache hicolor
%update_desktop_database_post
%glib_compile_schemas
%postun
/sbin/ldconfig
%update_icon_cache hicolor
%update_desktop_database_postun
%glib_compile_schemas
%files -f %{name}.lang
%defattr(644,root,root,755)
%doc AUTHORS MAINTAINERS README
%attr(755,root,root) %{_bindir}/gcm-calibrate
%attr(755,root,root) %{_bindir}/gcm-import
%attr(755,root,root) %{_bindir}/gcm-inspect
%attr(755,root,root) %{_bindir}/gcm-picker
%attr(755,root,root) %{_bindir}/gcm-viewer
%attr(755,root,root) %{_libexecdir}/gcm-helper-exiv
%{_datadir}/metainfo/org.gnome.ColorProfileViewer.appdata.xml
%{_datadir}/gnome-color-manager
%{_desktopdir}/gcm-calibrate.desktop
%{_desktopdir}/gcm-import.desktop
%{_desktopdir}/gcm-picker.desktop
%{_desktopdir}/org.gnome.ColorProfileViewer.desktop
%{_iconsdir}/hicolor/*x*/apps/gnome-color-manager.png
%{_iconsdir}/hicolor/scalable/apps/gnome-color-manager.svg
%{_mandir}/man1/gcm-calibrate.1*
%{_mandir}/man1/gcm-import.1*
%{_mandir}/man1/gcm-inspect.1*
%{_mandir}/man1/gcm-picker.1*
%{_mandir}/man1/gcm-viewer.1*
|