]>
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 |
ba81ea96 | 4 | Version: 3.24.0 |
33e6f249 | 5 | Release: 1 |
f9b6a5f5 PZ |
6 | License: GPL v2 |
7 | Group: X11/Applications | |
ba81ea96 JB |
8 | Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-color-manager/3.24/%{name}-%{version}.tar.xz |
9 | # Source0-md5: 47b7f7ef50e9e28f07db14c604ef08c9 | |
33e6f249 JB |
10 | # rpm glob again has some problem with absolute symlinks (dead at the time of packaging); |
11 | # use relative ones (they don't go across /) | |
12 | Patch0: %{name}-symlinks.patch | |
13 | # dead, wiki.gnome.org GnomeColorManager page is in Attic too | |
14 | #URL: http://projects.gnome.org/gnome-color-manager/ | |
15 | URL: https://github.com/GNOME/gnome-color-manager | |
16 | BuildRequires: appstream-glib-devel | |
152e16d5 | 17 | BuildRequires: autoconf >= 2.63 |
c0de98f4 | 18 | BuildRequires: automake >= 1:1.11 |
b94b77b2 | 19 | BuildRequires: colord-devel >= 1.3.1 |
04122822 | 20 | BuildRequires: colord-gtk-devel >= 0.1.20 |
6805a708 | 21 | BuildRequires: docbook-dtd41-sgml |
f9b6a5f5 | 22 | BuildRequires: docbook-utils |
2e068954 | 23 | BuildRequires: exiv2-devel |
ba81ea96 | 24 | BuildRequires: gettext-tools >= 0.19.7 |
c0de98f4 | 25 | BuildRequires: glib2-devel >= 1:2.32.0 |
6805a708 | 26 | BuildRequires: gnome-common |
2e068954 | 27 | BuildRequires: gtk+3-devel >= 3.0.0 |
152e16d5 | 28 | BuildRequires: gtk-doc >= 1.9 |
471ddd3d | 29 | BuildRequires: lcms2-devel >= 2.2 |
2e068954 | 30 | BuildRequires: libcanberra-gtk3-devel >= 0.10 |
471ddd3d | 31 | BuildRequires: libexif-devel |
ba81ea96 | 32 | BuildRequires: libstdc++-devel |
152e16d5 | 33 | BuildRequires: libtiff-devel |
33e6f249 JB |
34 | BuildRequires: libtool >= 2:2 |
35 | BuildRequires: libxslt-progs | |
f9b6a5f5 | 36 | BuildRequires: pkgconfig |
152e16d5 | 37 | BuildRequires: rpmbuild(find_lang) >= 1.23 |
2e068954 | 38 | BuildRequires: rpmbuild(macros) >= 1.601 |
471ddd3d | 39 | BuildRequires: tar >= 1:1.22 |
2e068954 | 40 | BuildRequires: vte-devel >= 0.28.0 |
471ddd3d | 41 | BuildRequires: xz |
33e6f249 | 42 | BuildRequires: yelp-tools |
152e16d5 | 43 | Requires(post,postun): desktop-file-utils |
b64c784d | 44 | Requires(post,postun): gtk-update-icon-cache |
33e6f249 | 45 | Requires(post,postun): glib2 >= 1:2.32.0 |
b94b77b2 | 46 | Requires: colord >= 1.3.1 |
33e6f249 JB |
47 | Requires: colord-gtk >= 0.1.20 |
48 | Requires: glib2 >= 1:2.32.0 | |
2e068954 | 49 | Requires: hicolor-icon-theme |
33e6f249 JB |
50 | Requires: lcms2 >= 2.2 |
51 | Requires: libcanberra-gtk3 >= 0.10 | |
52 | Requires: vte >= 0.28.0 | |
62412ad5 | 53 | Suggests: shared-color-profiles |
471ddd3d | 54 | Obsoletes: gnome-color-manager-devel |
f9b6a5f5 PZ |
55 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
56 | ||
57 | %description | |
58 | GNOME Color Manager is a session framework for the GNOME desktop | |
59 | environment that makes it easy to manage easy to manage, install and | |
60 | generate color profiles. | |
61 | ||
33e6f249 JB |
62 | %description -l pl.UTF-8 |
63 | GNOME Color Manager to szkielet sesyjny dla środowiska graficznego | |
64 | GNOME ułatwiający zarządzanie, instalowanie i generowanie profili | |
65 | kolorów. | |
66 | ||
f9b6a5f5 PZ |
67 | %prep |
68 | %setup -q | |
33e6f249 | 69 | %patch0 -p1 |
f9b6a5f5 PZ |
70 | |
71 | %build | |
352e2984 | 72 | %{__libtoolize} |
152e16d5 | 73 | %{__aclocal} -I m4 |
f9b6a5f5 PZ |
74 | %{__autoconf} |
75 | %{__autoheader} | |
76 | %{__automake} | |
152e16d5 MB |
77 | %configure \ |
78 | --disable-silent-rules \ | |
2e068954 MB |
79 | --disable-schemas-compile \ |
80 | --disable-static | |
f9b6a5f5 PZ |
81 | %{__make} |
82 | ||
83 | %install | |
84 | rm -rf $RPM_BUILD_ROOT | |
85 | ||
86 | %{__make} install \ | |
87 | DESTDIR=$RPM_BUILD_ROOT | |
88 | ||
33e6f249 | 89 | %find_lang %{name} --with-gnome |
f9b6a5f5 PZ |
90 | |
91 | %clean | |
92 | rm -rf $RPM_BUILD_ROOT | |
93 | ||
94 | %post | |
2e068954 | 95 | /sbin/ldconfig |
f9b6a5f5 | 96 | %update_icon_cache hicolor |
152e16d5 | 97 | %update_desktop_database_post |
2e068954 | 98 | %glib_compile_schemas |
f9b6a5f5 PZ |
99 | |
100 | %postun | |
2e068954 | 101 | /sbin/ldconfig |
f9b6a5f5 | 102 | %update_icon_cache hicolor |
152e16d5 | 103 | %update_desktop_database_postun |
2e068954 | 104 | %glib_compile_schemas |
f9b6a5f5 PZ |
105 | |
106 | %files -f %{name}.lang | |
107 | %defattr(644,root,root,755) | |
33e6f249 | 108 | %doc AUTHORS ChangeLog MAINTAINERS NEWS README |
471ddd3d | 109 | %attr(755,root,root) %{_bindir}/gcm-calibrate |
f9b6a5f5 PZ |
110 | %attr(755,root,root) %{_bindir}/gcm-import |
111 | %attr(755,root,root) %{_bindir}/gcm-inspect | |
2e068954 MB |
112 | %attr(755,root,root) %{_bindir}/gcm-picker |
113 | %attr(755,root,root) %{_bindir}/gcm-viewer | |
2e068954 | 114 | %attr(755,root,root) %{_libexecdir}/gcm-helper-exiv |
24fd4e06 | 115 | %{_datadir}/appdata/org.gnome.ColorProfileViewer.appdata.xml |
f9b6a5f5 | 116 | %{_datadir}/gnome-color-manager |
471ddd3d | 117 | %{_desktopdir}/gcm-calibrate.desktop |
f9b6a5f5 | 118 | %{_desktopdir}/gcm-import.desktop |
471ddd3d | 119 | %{_desktopdir}/gcm-picker.desktop |
24fd4e06 | 120 | %{_desktopdir}/org.gnome.ColorProfileViewer.desktop |
33e6f249 JB |
121 | %{_iconsdir}/hicolor/*x*/apps/gnome-color-manager.png |
122 | %{_iconsdir}/hicolor/*/mimetypes/application-vnd.iccprofile.png | |
123 | %{_iconsdir}/hicolor/scalable/apps/gnome-color-manager.svg | |
124 | %{_iconsdir}/hicolor/scalable/mimetypes/application-vnd.iccprofile.svg | |
125 | %{_mandir}/man1/gcm-calibrate.1* | |
126 | %{_mandir}/man1/gcm-import.1* | |
127 | %{_mandir}/man1/gcm-inspect.1* | |
128 | %{_mandir}/man1/gcm-picker.1* | |
129 | %{_mandir}/man1/gcm-viewer.1* |