Accepting request 73905 from home:vuntz:branches:GNOME:Factory

Add colord Requires + tweaks

OBS-URL: https://build.opensuse.org/request/show/73905
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gnome-color-manager?expand=0&rev=36
This commit is contained in:
Dominique Leuenberger 2011-06-17 06:59:18 +00:00 committed by Git OBS Bridge
parent d97dcef3a7
commit 0c45bb5dda
2 changed files with 22 additions and 13 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Jun 17 00:08:29 CEST 2011 - vuntz@opensuse.org
- Add colord Requires as the daemon is needed at runtime.
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Jun 14 09:37:41 CEST 2011 - dimstar@opensuse.org Tue Jun 14 09:37:41 CEST 2011 - dimstar@opensuse.org
@ -30,15 +35,15 @@ Tue Jun 14 09:37:41 CEST 2011 - dimstar@opensuse.org
- Add gnome-color-manager-as_needed.patch: Fix build with - Add gnome-color-manager-as_needed.patch: Fix build with
-Wl,--as-needed. As the patch touches Makefile.am, add -Wl,--as-needed. As the patch touches Makefile.am, add
gnome-common BuildRequires and call gnome-autogen.sh. gnome-common BuildRequires and call gnome-autogen.sh.
- Drop libcolor-glib1 and -devel subpackage. This has been split - Drop libcolor-glib1 and -devel subpackages. This has been split
out to colord. Obsoleting the packages from gnome-color-manager out to colord. Add Obsoletes for the packages from the main
mainpackage (not provided by anything anymore). package (without a Provides as they are not provided).
- Remove the glib schema handling: the schemas moved to colord. - Remove the glib schema handling: there's no schema anymore.
- Drop no longer needed BuildRequires: cups-devel, i2c-tools, - Drop no longer needed BuildRequires: cups-devel, i2c-tools,
sane-backends(-devel), polkit sane-backends(-devel), polkit.
- Drop no longer needed pkgconfig()-style buildRequires: gudev-1.0, - Drop no longer needed pkgconfig()-style buildRequires:
gnome-settings-daemon libgnome-control-center, libnotify, gnome-settings-daemon, gudev-1.0, libgnome-control-center,
libusb-1.0 libnotify, libusb-1.0.
------------------------------------------------------------------- -------------------------------------------------------------------
Tue May 17 18:26:02 CEST 2011 - dimstar@opensuse.org Tue May 17 18:26:02 CEST 2011 - dimstar@opensuse.org

View File

@ -22,6 +22,8 @@
Name: gnome-color-manager Name: gnome-color-manager
Version: 3.1.2 Version: 3.1.2
Release: 1 Release: 1
# FIXME: possibly add mash BuildRequires for 3D support. Check first if mash is still alive upstream.
# (https://github.com/clutter-project/mash / packaged as libmash in Fedora)
Summary: Color management tools for GNOME Summary: Color management tools for GNOME
License: GPLv2+ License: GPLv2+
Group: System/GUI/GNOME Group: System/GUI/GNOME
@ -31,6 +33,7 @@ Source: %{name}-%{version}.tar.bz2
Patch0: gnome-color-manager-as_needed.patch Patch0: gnome-color-manager-as_needed.patch
BuildRequires: docbook-utils BuildRequires: docbook-utils
BuildRequires: gcc-c++ BuildRequires: gcc-c++
# Needed for patch0
BuildRequires: gnome-common BuildRequires: gnome-common
BuildRequires: gnome-doc-utils-devel BuildRequires: gnome-doc-utils-devel
BuildRequires: intltool BuildRequires: intltool
@ -48,10 +51,11 @@ BuildRequires: pkgconfig(vte-2.90)
BuildRequires: pkgconfig(x11) BuildRequires: pkgconfig(x11)
BuildRequires: pkgconfig(xrandr) BuildRequires: pkgconfig(xrandr)
Requires: PackageKit Requires: PackageKit
Requires: colord
Requires: shared-color-profiles Requires: shared-color-profiles
Recommends: %{name}-lang Recommends: %{name}-lang
Obsoletes: libcolor-glib1 <= %{version} Obsoletes: libcolor-glib1 < %{version}
Obsoletes: gnome-color-manaer-devel <= %{version} Obsoletes: gnome-color-manaer-devel < %{version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description %description
@ -61,8 +65,8 @@ install and generate color profiles in the GNOME desktop.
%lang_package %lang_package
%prep %prep
%setup -q %setup -q
%patch0 -p1
translation-update-upstream translation-update-upstream
%patch0 -p1
%build %build
NOCONFIGURE=1 gnome-autogen.sh NOCONFIGURE=1 gnome-autogen.sh
@ -73,10 +77,10 @@ NOCONFIGURE=1 gnome-autogen.sh
%install %install
%makeinstall %makeinstall
find %{buildroot} -type f -name "*.la" -delete -print find %{buildroot} -type f -name "*.la" -delete -print
%suse_update_desktop_file gcm-session
%suse_update_desktop_file gcm-import
%suse_update_desktop_file gcm-calibrate %suse_update_desktop_file gcm-calibrate
%suse_update_desktop_file gcm-import
%suse_update_desktop_file gcm-picker %suse_update_desktop_file gcm-picker
%suse_update_desktop_file gcm-session
%suse_update_desktop_file gcm-viewer %suse_update_desktop_file gcm-viewer
%find_lang %{name} %{?no_lang_C} %find_lang %{name} %{?no_lang_C}