]>
Commit | Line | Data |
---|---|---|
f9b6a5f5 PZ |
1 | Summary: GNOME solution for scanning |
2 | Name: gnome-color-manager | |
3 | Version: 2.29.1 | |
4 | Release: 1 | |
5 | License: GPL v2 | |
6 | Group: X11/Applications | |
7 | Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-color-manager/2.29/%{name}-%{version}.tar.bz2 | |
8 | # Source0-md5: 2f28c20e952a807b062010d641aaa788 | |
9 | URL: http://projects.gnome.org/gnome-color-manager/ | |
10 | BuildRequires: GConf2-devel >= 2.22.0 | |
11 | BuildRequires: autoconf | |
12 | BuildRequires: automake | |
13 | BuildRequires: dbus-glib-devel >= 0.73 | |
6805a708 | 14 | BuildRequires: docbook-dtd41-sgml |
f9b6a5f5 PZ |
15 | BuildRequires: docbook-utils |
16 | BuildRequires: gettext-devel | |
17 | BuildRequires: glib2-devel >= 1:2.14.0 | |
6805a708 | 18 | BuildRequires: gnome-common |
f9b6a5f5 | 19 | BuildRequires: gnome-desktop-devel >= 2.14.0 |
6805a708 | 20 | BuildRequires: gnome-doc-utils |
f9b6a5f5 PZ |
21 | BuildRequires: gtk+2-devel >= 2:2.14.0 |
22 | BuildRequires: gtk-doc >= 1.7 | |
6805a708 | 23 | BuildRequires: intltool |
f9b6a5f5 PZ |
24 | BuildRequires: libtool |
25 | BuildRequires: libunique-devel >= 1.0.0 | |
26 | BuildRequires: pkgconfig | |
27 | BuildRequires: rpmbuild(macros) >= 1.311 | |
28 | BuildRequires: udev-glib-devel | |
29 | BuildRequires: vte-devel >= 0.22.2 | |
30 | BuildRequires: xorg-lib-libXrandr-devel | |
31 | BuildRequires: xorg-lib-libXxf86vm-devel | |
32 | Requires(post,postun): hicolor-icon-theme | |
33 | Requires(post,preun): GConf2 | |
34 | Requires: gtk+2 >= 2:2.14.0 | |
35 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
36 | ||
37 | %description | |
38 | GNOME Color Manager is a session framework for the GNOME desktop | |
39 | environment that makes it easy to manage easy to manage, install and | |
40 | generate color profiles. | |
41 | ||
42 | %prep | |
43 | %setup -q | |
44 | ||
45 | %build | |
352e2984 | 46 | %{__libtoolize} |
f9b6a5f5 PZ |
47 | %{__aclocal} |
48 | %{__autoconf} | |
49 | %{__autoheader} | |
50 | %{__automake} | |
51 | %configure | |
52 | %{__make} | |
53 | ||
54 | %install | |
55 | rm -rf $RPM_BUILD_ROOT | |
56 | ||
57 | %{__make} install \ | |
58 | DESTDIR=$RPM_BUILD_ROOT | |
59 | ||
60 | %find_lang %{name} --with-gnome | |
61 | ||
62 | %clean | |
63 | rm -rf $RPM_BUILD_ROOT | |
64 | ||
65 | %post | |
66 | %update_icon_cache hicolor | |
67 | %gconf_schema_install gnome-color-manager.schemas | |
68 | ||
69 | %preun | |
70 | %gconf_schema_uninstall gnome-color-manager.schemas | |
71 | ||
72 | %postun | |
73 | %update_icon_cache hicolor | |
74 | ||
75 | %files -f %{name}.lang | |
76 | %defattr(644,root,root,755) | |
77 | %doc AUTHORS ChangeLog NEWS README | |
78 | %attr(755,root,root) %{_bindir}/gcm-apply | |
79 | %attr(755,root,root) %{_bindir}/gcm-dump-edid | |
80 | %attr(755,root,root) %{_bindir}/gcm-dump-profile | |
81 | %attr(755,root,root) %{_bindir}/gcm-import | |
82 | %attr(755,root,root) %{_bindir}/gcm-inspect | |
83 | %attr(755,root,root) %{_bindir}/gcm-prefs | |
84 | %attr(755,root,root) %{_bindir}/gcm-session | |
85 | %{_sysconfdir}/gconf/schemas/gnome-color-manager.schemas | |
86 | %{_sysconfdir}/xdg/autostart/gcm-apply.desktop | |
87 | %{_datadir}/dbus-1/services/org.gnome.ColorManager.service | |
88 | %{_datadir}/gnome-color-manager | |
89 | %{_desktopdir}/gcm-import.desktop | |
90 | %{_desktopdir}/gcm-prefs.desktop | |
91 | %{_iconsdir}/hicolor/*/*/*.png | |
92 | %{_iconsdir}/hicolor/*/*/*.svg | |
93 | %{_mandir}/man1/*.1* |