2010-02-18 13:57:41 +00:00
|
|
|
#
|
2011-04-25 09:45:51 +00:00
|
|
|
# spec file for package gnome-color-manager
|
2010-02-18 13:57:41 +00:00
|
|
|
#
|
2011-04-25 09:45:51 +00:00
|
|
|
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2010-02-18 13:57:41 +00:00
|
|
|
# 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
|
2011-06-16 16:04:50 +00:00
|
|
|
Version: 3.1.2
|
2011-04-25 09:45:51 +00:00
|
|
|
Release: 1
|
2010-02-18 13:57:41 +00:00
|
|
|
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
|
2011-06-16 16:04:50 +00:00
|
|
|
# PATCH-FIX-UPSTREAM gnome-color-manager-as_needed.patch bgo#652722 dimstar@opensuse.org -- Fix build with -Wl,--as-needed
|
|
|
|
Patch0: gnome-color-manager-as_needed.patch
|
2010-02-18 13:57:41 +00:00
|
|
|
BuildRequires: docbook-utils
|
2011-04-25 09:45:51 +00:00
|
|
|
BuildRequires: gcc-c++
|
2011-06-16 16:04:50 +00:00
|
|
|
BuildRequires: gnome-common
|
2010-02-18 13:57:41 +00:00
|
|
|
BuildRequires: gnome-doc-utils-devel
|
|
|
|
BuildRequires: intltool
|
2010-03-30 19:52:24 +00:00
|
|
|
BuildRequires: libtiff-devel
|
2010-06-05 10:46:53 +00:00
|
|
|
BuildRequires: translation-update-upstream
|
2010-02-18 13:57:41 +00:00
|
|
|
BuildRequires: update-desktop-files
|
2011-06-16 16:04:50 +00:00
|
|
|
BuildRequires: pkgconfig(colord)
|
2011-04-25 09:45:51 +00:00
|
|
|
BuildRequires: pkgconfig(exiv2)
|
2010-09-13 12:43:40 +00:00
|
|
|
BuildRequires: pkgconfig(glib-2.0)
|
2011-04-25 09:45:51 +00:00
|
|
|
BuildRequires: pkgconfig(gtk+-3.0)
|
|
|
|
BuildRequires: pkgconfig(lcms2)
|
|
|
|
BuildRequires: pkgconfig(libcanberra-gtk3)
|
|
|
|
BuildRequires: pkgconfig(libexif)
|
|
|
|
BuildRequires: pkgconfig(vte-2.90)
|
2010-09-13 12:43:40 +00:00
|
|
|
BuildRequires: pkgconfig(x11)
|
|
|
|
BuildRequires: pkgconfig(xrandr)
|
2010-02-18 13:57:41 +00:00
|
|
|
Requires: PackageKit
|
|
|
|
Requires: shared-color-profiles
|
2011-02-13 21:07:01 +00:00
|
|
|
Recommends: %{name}-lang
|
2011-06-16 16:04:50 +00:00
|
|
|
Obsoletes: libcolor-glib1 <= %{version}
|
|
|
|
Obsoletes: gnome-color-manaer-devel <= %{version}
|
2010-02-18 13:57:41 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%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
|
2011-04-25 09:45:51 +00:00
|
|
|
%patch0 -p1
|
2011-06-16 16:04:50 +00:00
|
|
|
translation-update-upstream
|
2010-02-18 13:57:41 +00:00
|
|
|
|
|
|
|
%build
|
2011-06-16 16:04:50 +00:00
|
|
|
NOCONFIGURE=1 gnome-autogen.sh
|
2011-04-25 09:45:51 +00:00
|
|
|
%configure --disable-static \
|
2010-02-18 13:57:41 +00:00
|
|
|
--disable-scrollkeeper
|
2011-04-25 09:45:51 +00:00
|
|
|
%{__make} %{?jobs:-j %jobs} V=1
|
2010-02-18 13:57:41 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
%makeinstall
|
2011-04-25 09:45:51 +00:00
|
|
|
find %{buildroot} -type f -name "*.la" -delete -print
|
2011-06-16 16:04:50 +00:00
|
|
|
%suse_update_desktop_file gcm-session
|
2010-02-18 13:57:41 +00:00
|
|
|
%suse_update_desktop_file gcm-import
|
2011-06-16 16:04:50 +00:00
|
|
|
%suse_update_desktop_file gcm-calibrate
|
|
|
|
%suse_update_desktop_file gcm-picker
|
2011-04-25 09:45:51 +00:00
|
|
|
%suse_update_desktop_file gcm-viewer
|
2011-02-13 21:07:01 +00:00
|
|
|
%find_lang %{name} %{?no_lang_C}
|
2010-02-18 13:57:41 +00:00
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
2011-02-13 21:07:01 +00:00
|
|
|
%post
|
|
|
|
%desktop_database_post
|
|
|
|
%icon_theme_cache_post
|
2010-02-18 13:57:41 +00:00
|
|
|
|
2011-02-13 21:07:01 +00:00
|
|
|
%postun
|
|
|
|
%desktop_database_postun
|
|
|
|
%icon_theme_cache_postun
|
2011-04-25 09:45:51 +00:00
|
|
|
|
|
|
|
%files
|
2010-02-18 13:57:41 +00:00
|
|
|
%defattr(-, root, root)
|
|
|
|
%doc AUTHORS ChangeLog COPYING MAINTAINERS NEWS README
|
2011-02-13 21:07:01 +00:00
|
|
|
%dir %{_datadir}/gnome/
|
|
|
|
%dir %{_datadir}/gnome/help/
|
|
|
|
%dir %{_datadir}/gnome/help/%{name}/
|
|
|
|
%doc %{_datadir}/gnome/help/%{name}/C/
|
|
|
|
%dir %{_datadir}/omf/
|
|
|
|
%dir %{_datadir}/omf/%{name}/
|
|
|
|
%doc %{_datadir}/omf/%{name}/%{name}-C.omf
|
2010-02-18 13:57:41 +00:00
|
|
|
%{_bindir}/gcm-*
|
|
|
|
%{_datadir}/applications/*.desktop
|
2011-04-25 09:45:51 +00:00
|
|
|
%{_datadir}/dbus-1/interfaces/org.gnome.ColorManager.xml
|
2011-04-25 09:55:52 +00:00
|
|
|
%{_datadir}/dbus-1/services/org.gnome.ColorManager.service
|
2010-02-18 13:57:41 +00:00
|
|
|
%{_datadir}/gnome-color-manager/
|
|
|
|
%{_datadir}/icons/hicolor/*/apps/gnome-color-manager.*
|
|
|
|
%{_datadir}/icons/hicolor/*/mimetypes/application-vnd.iccprofile.*
|
|
|
|
%{_mandir}/man?/*.*
|
|
|
|
%{_sysconfdir}/xdg/autostart/*.desktop
|
2011-04-25 09:45:51 +00:00
|
|
|
%{_libexecdir}/gcm-helper-exiv
|
2010-02-18 13:57:41 +00:00
|
|
|
|
|
|
|
%files lang -f %{name}.lang
|
|
|
|
|
|
|
|
%changelog
|