# # spec file for package gnome-color-manager (Version 2.31.91) # # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2010 Luis Medinas, Portugal # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: gnome-color-manager Version: 2.31.91 Release: 1 Summary: Color management tools for GNOME License: GPLv2+ Group: System/GUI/GNOME Url: http://projects.gnome.org/gnome-color-manager Source: %{name}-%{version}.tar.bz2 BuildRequires: cups-devel BuildRequires: docbook-utils BuildRequires: gnome-doc-utils-devel BuildRequires: intltool BuildRequires: libtiff-devel BuildRequires: sane-backends BuildRequires: translation-update-upstream BuildRequires: update-desktop-files # For directory ownership BuildRequires: polkit BuildRequires: pkgconfig(dbus-glib-1) BuildRequires: pkgconfig(gconf-2.0) BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(gnome-desktop-2.0) BuildRequires: pkgconfig(gtk+-2.0) BuildRequires: pkgconfig(gudev-1.0) BuildRequires: pkgconfig(lcms) BuildRequires: pkgconfig(libcanberra-gtk) BuildRequires: pkgconfig(libnotify) BuildRequires: pkgconfig(unique-1.0) BuildRequires: pkgconfig(vte) BuildRequires: pkgconfig(x11) BuildRequires: pkgconfig(xrandr) BuildRequires: pkgconfig(xxf86vm) Requires: %{name}-lang = %{version} Requires: PackageKit Requires: shared-color-profiles BuildRoot: %{_tmppath}/%{name}-%{version}-build %gconf_schemas_prereq %description GNOME Color Manager is a session framework that makes it easy to manage, install and generate color profiles in the GNOME desktop. %lang_package %prep %setup -q translation-update-upstream %build %configure \ --enable-hardware-detection \ --disable-schemas-install \ --disable-scrollkeeper %{__make} %{?jobs:-j %jobs} %install %makeinstall %suse_update_desktop_file gcm-prefs GNOME HardwareSettings %suse_update_desktop_file gcm-apply %suse_update_desktop_file gcm-import %find_lang %{name} %find_gconf_schemas %clean rm -rf %{buildroot} %pre -f %{name}.schemas_pre %posttrans -f %{name}.schemas_posttrans %preun -f %{name}.schemas_preun %files -f %{name}.schemas_list %defattr(-, root, root) %doc AUTHORS ChangeLog COPYING MAINTAINERS NEWS README %dir /lib/udev %dir /lib/udev/rules.d /lib/udev/rules.d/*.rules %{_bindir}/gcm-* %{_sbindir}/gcm-install-system-wide %{_datadir}/applications/*.desktop %{_datadir}/dbus-1/services/org.gnome.ColorManager.service %{_datadir}/gnome-color-manager/ %{_datadir}/icons/hicolor/*/apps/gnome-color-manager.* %{_datadir}/icons/hicolor/*/mimetypes/application-vnd.iccprofile.* %{_datadir}/polkit-1/actions/org.gnome.color.policy %{_mandir}/man?/*.* %{_sysconfdir}/xdg/autostart/*.desktop %files lang -f %{name}.lang %changelog