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