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