]>
Commit | Line | Data |
---|---|---|
152e16d5 | 1 | Summary: Color management tools for GNOME |
f9b6a5f5 | 2 | Name: gnome-color-manager |
564eb07b | 3 | Version: 3.10.0 |
04122822 | 4 | Release: 1 |
f9b6a5f5 PZ |
5 | License: GPL v2 |
6 | Group: X11/Applications | |
564eb07b MB |
7 | Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-color-manager/3.10/%{name}-%{version}.tar.xz |
8 | # Source0-md5: dac161c8116c5dc5e0099630423ffa45 | |
f9b6a5f5 | 9 | URL: http://projects.gnome.org/gnome-color-manager/ |
152e16d5 | 10 | BuildRequires: autoconf >= 2.63 |
c0de98f4 | 11 | BuildRequires: automake >= 1:1.11 |
564eb07b | 12 | BuildRequires: clutter-devel >= 1.12.0 |
c0de98f4 | 13 | BuildRequires: clutter-gtk-devel |
564eb07b | 14 | BuildRequires: colord-devel >= 0.1.34 |
04122822 | 15 | BuildRequires: colord-gtk-devel >= 0.1.20 |
6805a708 | 16 | BuildRequires: docbook-dtd41-sgml |
f9b6a5f5 | 17 | BuildRequires: docbook-utils |
2e068954 | 18 | BuildRequires: exiv2-devel |
f9b6a5f5 | 19 | BuildRequires: gettext-devel |
c0de98f4 | 20 | BuildRequires: glib2-devel >= 1:2.32.0 |
6805a708 | 21 | BuildRequires: gnome-common |
c0de98f4 | 22 | BuildRequires: gnome-desktop-devel >= 3.0.0 |
6805a708 | 23 | BuildRequires: gnome-doc-utils |
2e068954 | 24 | BuildRequires: gtk+3-devel >= 3.0.0 |
152e16d5 | 25 | BuildRequires: gtk-doc >= 1.9 |
c0de98f4 | 26 | BuildRequires: intltool >= 0.40.0 |
471ddd3d | 27 | BuildRequires: lcms2-devel >= 2.2 |
2e068954 | 28 | BuildRequires: libcanberra-gtk3-devel >= 0.10 |
471ddd3d | 29 | BuildRequires: libexif-devel |
152e16d5 | 30 | BuildRequires: libtiff-devel |
f9b6a5f5 | 31 | BuildRequires: libtool |
471ddd3d | 32 | BuildRequires: mash-devel |
f9b6a5f5 | 33 | BuildRequires: pkgconfig |
152e16d5 | 34 | BuildRequires: rpmbuild(find_lang) >= 1.23 |
2e068954 | 35 | BuildRequires: rpmbuild(macros) >= 1.601 |
471ddd3d | 36 | BuildRequires: tar >= 1:1.22 |
2e068954 | 37 | BuildRequires: vte-devel >= 0.28.0 |
f9b6a5f5 PZ |
38 | BuildRequires: xorg-lib-libXrandr-devel |
39 | BuildRequires: xorg-lib-libXxf86vm-devel | |
471ddd3d | 40 | BuildRequires: xz |
152e16d5 | 41 | Requires(post,postun): desktop-file-utils |
b64c784d | 42 | Requires(post,postun): gtk-update-icon-cache |
2e068954 | 43 | Requires(post,postun): glib2 >= 1:2.26.0 |
564eb07b | 44 | Requires: colord >= 0.1.34 |
2e068954 MB |
45 | Requires: dconf |
46 | Requires: hicolor-icon-theme | |
152e16d5 | 47 | Requires: polkit-gnome |
62412ad5 | 48 | Suggests: shared-color-profiles |
471ddd3d | 49 | Obsoletes: gnome-color-manager-devel |
f9b6a5f5 PZ |
50 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
51 | ||
52 | %description | |
53 | GNOME Color Manager is a session framework for the GNOME desktop | |
54 | environment that makes it easy to manage easy to manage, install and | |
55 | generate color profiles. | |
56 | ||
57 | %prep | |
58 | %setup -q | |
59 | ||
60 | %build | |
352e2984 | 61 | %{__libtoolize} |
471ddd3d | 62 | %{__intltoolize} |
152e16d5 | 63 | %{__aclocal} -I m4 |
f9b6a5f5 PZ |
64 | %{__autoconf} |
65 | %{__autoheader} | |
66 | %{__automake} | |
152e16d5 MB |
67 | %configure \ |
68 | --disable-silent-rules \ | |
2e068954 MB |
69 | --disable-schemas-compile \ |
70 | --disable-static | |
f9b6a5f5 PZ |
71 | %{__make} |
72 | ||
73 | %install | |
74 | rm -rf $RPM_BUILD_ROOT | |
75 | ||
76 | %{__make} install \ | |
77 | DESTDIR=$RPM_BUILD_ROOT | |
78 | ||
152e16d5 | 79 | %find_lang %{name} --with-gnome --with-omf |
f9b6a5f5 PZ |
80 | |
81 | %clean | |
82 | rm -rf $RPM_BUILD_ROOT | |
83 | ||
84 | %post | |
2e068954 | 85 | /sbin/ldconfig |
f9b6a5f5 | 86 | %update_icon_cache hicolor |
152e16d5 | 87 | %update_desktop_database_post |
2e068954 | 88 | %glib_compile_schemas |
f9b6a5f5 PZ |
89 | |
90 | %postun | |
2e068954 | 91 | /sbin/ldconfig |
f9b6a5f5 | 92 | %update_icon_cache hicolor |
152e16d5 | 93 | %update_desktop_database_postun |
2e068954 | 94 | %glib_compile_schemas |
f9b6a5f5 PZ |
95 | |
96 | %files -f %{name}.lang | |
97 | %defattr(644,root,root,755) | |
98 | %doc AUTHORS ChangeLog NEWS README | |
471ddd3d | 99 | %attr(755,root,root) %{_bindir}/gcm-calibrate |
f9b6a5f5 PZ |
100 | %attr(755,root,root) %{_bindir}/gcm-import |
101 | %attr(755,root,root) %{_bindir}/gcm-inspect | |
2e068954 MB |
102 | %attr(755,root,root) %{_bindir}/gcm-picker |
103 | %attr(755,root,root) %{_bindir}/gcm-viewer | |
2e068954 | 104 | %attr(755,root,root) %{_libexecdir}/gcm-helper-exiv |
564eb07b | 105 | %{_datadir}/appdata/gcm-viewer.appdata.xml |
f9b6a5f5 | 106 | %{_datadir}/gnome-color-manager |
471ddd3d | 107 | %{_desktopdir}/gcm-calibrate.desktop |
f9b6a5f5 | 108 | %{_desktopdir}/gcm-import.desktop |
471ddd3d | 109 | %{_desktopdir}/gcm-picker.desktop |
2e068954 | 110 | %{_desktopdir}/gcm-viewer.desktop |
f9b6a5f5 PZ |
111 | %{_iconsdir}/hicolor/*/*/*.png |
112 | %{_iconsdir}/hicolor/*/*/*.svg | |
113 | %{_mandir}/man1/*.1* |