]>
Commit | Line | Data |
---|---|---|
1 | Summary: Color management tools for GNOME | |
2 | Name: gnome-color-manager | |
3 | Version: 3.8.2 | |
4 | Release: 1 | |
5 | License: GPL v2 | |
6 | Group: X11/Applications | |
7 | Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-color-manager/3.8/%{name}-%{version}.tar.xz | |
8 | # Source0-md5: 622c9ccccae1c668fb1f0ef31d214b66 | |
9 | URL: http://projects.gnome.org/gnome-color-manager/ | |
10 | BuildRequires: autoconf >= 2.63 | |
11 | BuildRequires: automake >= 1:1.11 | |
12 | BuildRequires: clutter-devel >= 1.10.0 | |
13 | BuildRequires: clutter-gtk-devel | |
14 | BuildRequires: colord-devel >= 0.1.28 | |
15 | BuildRequires: colord-gtk-devel >= 0.1.20 | |
16 | BuildRequires: docbook-dtd41-sgml | |
17 | BuildRequires: docbook-utils | |
18 | BuildRequires: exiv2-devel | |
19 | BuildRequires: gettext-devel | |
20 | BuildRequires: glib2-devel >= 1:2.32.0 | |
21 | BuildRequires: gnome-common | |
22 | BuildRequires: gnome-desktop-devel >= 3.0.0 | |
23 | BuildRequires: gnome-doc-utils | |
24 | BuildRequires: gtk+3-devel >= 3.0.0 | |
25 | BuildRequires: gtk-doc >= 1.9 | |
26 | BuildRequires: intltool >= 0.40.0 | |
27 | BuildRequires: lcms2-devel >= 2.2 | |
28 | BuildRequires: libcanberra-gtk3-devel >= 0.10 | |
29 | BuildRequires: libexif-devel | |
30 | BuildRequires: libtiff-devel | |
31 | BuildRequires: libtool | |
32 | BuildRequires: mash-devel | |
33 | BuildRequires: pkgconfig | |
34 | BuildRequires: rpmbuild(find_lang) >= 1.23 | |
35 | BuildRequires: rpmbuild(macros) >= 1.601 | |
36 | BuildRequires: tar >= 1:1.22 | |
37 | BuildRequires: vte-devel >= 0.28.0 | |
38 | BuildRequires: xorg-lib-libXrandr-devel | |
39 | BuildRequires: xorg-lib-libXxf86vm-devel | |
40 | BuildRequires: xz | |
41 | Requires(post,postun): desktop-file-utils | |
42 | Requires(post,postun): gtk-update-icon-cache | |
43 | Requires(post,postun): glib2 >= 1:2.26.0 | |
44 | Requires: colord >= 0.1.28 | |
45 | Requires: dconf | |
46 | Requires: hicolor-icon-theme | |
47 | Requires: polkit-gnome | |
48 | Suggests: shared-color-profiles | |
49 | Obsoletes: gnome-color-manager-devel | |
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 | |
61 | %{__libtoolize} | |
62 | %{__intltoolize} | |
63 | %{__aclocal} -I m4 | |
64 | %{__autoconf} | |
65 | %{__autoheader} | |
66 | %{__automake} | |
67 | %configure \ | |
68 | --disable-silent-rules \ | |
69 | --disable-schemas-compile \ | |
70 | --disable-static | |
71 | %{__make} | |
72 | ||
73 | %install | |
74 | rm -rf $RPM_BUILD_ROOT | |
75 | ||
76 | %{__make} install \ | |
77 | DESTDIR=$RPM_BUILD_ROOT | |
78 | ||
79 | %find_lang %{name} --with-gnome --with-omf | |
80 | ||
81 | %clean | |
82 | rm -rf $RPM_BUILD_ROOT | |
83 | ||
84 | %post | |
85 | /sbin/ldconfig | |
86 | %update_icon_cache hicolor | |
87 | %update_desktop_database_post | |
88 | %glib_compile_schemas | |
89 | ||
90 | %postun | |
91 | /sbin/ldconfig | |
92 | %update_icon_cache hicolor | |
93 | %update_desktop_database_postun | |
94 | %glib_compile_schemas | |
95 | ||
96 | %files -f %{name}.lang | |
97 | %defattr(644,root,root,755) | |
98 | %doc AUTHORS ChangeLog NEWS README | |
99 | %attr(755,root,root) %{_bindir}/gcm-calibrate | |
100 | %attr(755,root,root) %{_bindir}/gcm-import | |
101 | %attr(755,root,root) %{_bindir}/gcm-inspect | |
102 | %attr(755,root,root) %{_bindir}/gcm-picker | |
103 | %attr(755,root,root) %{_bindir}/gcm-viewer | |
104 | %attr(755,root,root) %{_libexecdir}/gcm-helper-exiv | |
105 | %{_datadir}/gnome-color-manager | |
106 | %{_desktopdir}/gcm-calibrate.desktop | |
107 | %{_desktopdir}/gcm-import.desktop | |
108 | %{_desktopdir}/gcm-picker.desktop | |
109 | %{_desktopdir}/gcm-viewer.desktop | |
110 | %{_iconsdir}/hicolor/*/*/*.png | |
111 | %{_iconsdir}/hicolor/*/*/*.svg | |
112 | %{_mandir}/man1/*.1* |