]>
Commit | Line | Data |
---|---|---|
152e16d5 | 1 | Summary: Color management tools for GNOME |
f9b6a5f5 | 2 | Name: gnome-color-manager |
1c0ed072 | 3 | Version: 3.6.0 |
c0de98f4 | 4 | Release: 1 |
f9b6a5f5 PZ |
5 | License: GPL v2 |
6 | Group: X11/Applications | |
1c0ed072 MB |
7 | Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-color-manager/3.6/%{name}-%{version}.tar.xz |
8 | # Source0-md5: df2dfeb49f2c887575046d9fc45a9211 | |
9 | Patch0: %{name}-build.patch | |
f9b6a5f5 | 10 | URL: http://projects.gnome.org/gnome-color-manager/ |
152e16d5 | 11 | BuildRequires: autoconf >= 2.63 |
c0de98f4 MB |
12 | BuildRequires: automake >= 1:1.11 |
13 | BuildRequires: clutter-devel >= 1.10.0 | |
14 | BuildRequires: clutter-gtk-devel | |
1c0ed072 | 15 | BuildRequires: colord-gtk-devel >= 0.1.12 |
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 |
471ddd3d | 44 | Requires: colord >= 0.1.12 |
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 | |
1c0ed072 | 59 | %patch0 -p1 |
f9b6a5f5 PZ |
60 | |
61 | %build | |
352e2984 | 62 | %{__libtoolize} |
471ddd3d | 63 | %{__intltoolize} |
152e16d5 | 64 | %{__aclocal} -I m4 |
f9b6a5f5 PZ |
65 | %{__autoconf} |
66 | %{__autoheader} | |
67 | %{__automake} | |
152e16d5 MB |
68 | %configure \ |
69 | --disable-silent-rules \ | |
2e068954 MB |
70 | --disable-schemas-compile \ |
71 | --disable-static | |
f9b6a5f5 PZ |
72 | %{__make} |
73 | ||
74 | %install | |
75 | rm -rf $RPM_BUILD_ROOT | |
76 | ||
77 | %{__make} install \ | |
78 | DESTDIR=$RPM_BUILD_ROOT | |
79 | ||
152e16d5 | 80 | %find_lang %{name} --with-gnome --with-omf |
f9b6a5f5 PZ |
81 | |
82 | %clean | |
83 | rm -rf $RPM_BUILD_ROOT | |
84 | ||
85 | %post | |
2e068954 | 86 | /sbin/ldconfig |
f9b6a5f5 | 87 | %update_icon_cache hicolor |
152e16d5 | 88 | %update_desktop_database_post |
2e068954 | 89 | %glib_compile_schemas |
f9b6a5f5 PZ |
90 | |
91 | %postun | |
2e068954 | 92 | /sbin/ldconfig |
f9b6a5f5 | 93 | %update_icon_cache hicolor |
152e16d5 | 94 | %update_desktop_database_postun |
2e068954 | 95 | %glib_compile_schemas |
f9b6a5f5 PZ |
96 | |
97 | %files -f %{name}.lang | |
98 | %defattr(644,root,root,755) | |
99 | %doc AUTHORS ChangeLog NEWS README | |
471ddd3d | 100 | %attr(755,root,root) %{_bindir}/gcm-calibrate |
f9b6a5f5 PZ |
101 | %attr(755,root,root) %{_bindir}/gcm-import |
102 | %attr(755,root,root) %{_bindir}/gcm-inspect | |
2e068954 MB |
103 | %attr(755,root,root) %{_bindir}/gcm-picker |
104 | %attr(755,root,root) %{_bindir}/gcm-viewer | |
2e068954 | 105 | %attr(755,root,root) %{_libexecdir}/gcm-helper-exiv |
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* |