8406ad00fa
ok OBS-URL: https://build.opensuse.org/request/show/68299 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gnome-color-manager?expand=0&rev=33
174 lines
5.3 KiB
RPMSpec
174 lines
5.3 KiB
RPMSpec
#
|
|
# spec file for package gnome-color-manager
|
|
#
|
|
# Copyright (c) 2011 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: 3.0.0
|
|
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
|
|
# PATCH-FIX-UPSTREAM fix-i2c-include.patch fcrozat@novell.com -- fix incorrect i2c header include; note that in 3.1/3.2, this won't be needed anymore.
|
|
Patch0: fix-i2c-include.patch
|
|
BuildRequires: cups-devel
|
|
BuildRequires: docbook-utils
|
|
BuildRequires: gcc-c++
|
|
BuildRequires: gnome-doc-utils-devel
|
|
BuildRequires: intltool
|
|
BuildRequires: i2c-tools
|
|
BuildRequires: libtiff-devel
|
|
%if 0%{?suse_version} > 1130
|
|
BuildRequires: sane-backends-devel
|
|
%else
|
|
BuildRequires: sane-backends
|
|
%endif
|
|
BuildRequires: translation-update-upstream
|
|
BuildRequires: update-desktop-files
|
|
# For directory ownership
|
|
BuildRequires: polkit
|
|
BuildRequires: pkgconfig(exiv2)
|
|
BuildRequires: pkgconfig(glib-2.0)
|
|
BuildRequires: pkgconfig(gnome-settings-daemon)
|
|
BuildRequires: pkgconfig(gtk+-3.0)
|
|
BuildRequires: pkgconfig(gudev-1.0)
|
|
BuildRequires: pkgconfig(lcms2)
|
|
BuildRequires: pkgconfig(libcanberra-gtk3)
|
|
BuildRequires: pkgconfig(libexif)
|
|
BuildRequires: pkgconfig(libgnome-control-center)
|
|
BuildRequires: pkgconfig(libnotify)
|
|
BuildRequires: pkgconfig(libusb-1.0)
|
|
BuildRequires: pkgconfig(vte-2.90)
|
|
BuildRequires: pkgconfig(x11)
|
|
BuildRequires: pkgconfig(xrandr)
|
|
Requires: PackageKit
|
|
Requires: shared-color-profiles
|
|
Recommends: %{name}-lang
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
%glib2_gsettings_schema_requires
|
|
|
|
%description
|
|
GNOME Color Manager is a session framework that makes it easy to manage,
|
|
install and generate color profiles in the GNOME desktop.
|
|
|
|
%package devel
|
|
License: GPLv2+
|
|
Group: Development/Libraries/GNOME
|
|
Summary: Color management tools for GNOME -- Development Files
|
|
Requires: libcolor-glib1 = %{version}
|
|
|
|
%description devel
|
|
GNOME Color Manager is a session framework that makes it easy to manage,
|
|
install and generate color profiles in the GNOME desktop.
|
|
|
|
%package -n libcolor-glib1
|
|
License: GPLv2+
|
|
Group: System/Libraries
|
|
Summary: Color management tools for GNOME -- Library
|
|
|
|
%description -n libcolor-glib1
|
|
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
|
|
%patch0 -p1
|
|
|
|
%build
|
|
%configure --disable-static \
|
|
--disable-scrollkeeper
|
|
%{__make} %{?jobs:-j %jobs} V=1
|
|
|
|
%install
|
|
%makeinstall
|
|
find %{buildroot} -type f -name "*.la" -delete -print
|
|
%suse_update_desktop_file gcm-prefs GNOME SystemSetup
|
|
%suse_update_desktop_file gcm-apply
|
|
%suse_update_desktop_file gcm-import
|
|
%suse_update_desktop_file gcm-viewer
|
|
%find_lang %{name} %{?no_lang_C}
|
|
|
|
%clean
|
|
rm -rf %{buildroot}
|
|
|
|
%post
|
|
%desktop_database_post
|
|
%icon_theme_cache_post
|
|
%glib2_gsettings_schema_post
|
|
|
|
%postun
|
|
%desktop_database_postun
|
|
%icon_theme_cache_postun
|
|
%glib2_gsettings_schema_postun
|
|
|
|
%post -n libcolor-glib1 -p /sbin/ldconfig
|
|
|
|
%postun -n libcolor-glib1 -p /sbin/ldconfig
|
|
|
|
%files
|
|
%defattr(-, root, root)
|
|
%doc AUTHORS ChangeLog COPYING MAINTAINERS NEWS README
|
|
%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
|
|
%dir /lib/udev
|
|
%dir /lib/udev/rules.d
|
|
/lib/udev/rules.d/*.rules
|
|
%{_bindir}/gcm-*
|
|
%{_sbindir}/gcm-install-system-wide
|
|
%{_datadir}/GConf/gsettings/org.gnome.color-manager.gschema.migrate
|
|
%{_datadir}/applications/*.desktop
|
|
%{_datadir}/dbus-1/interfaces/org.gnome.ColorManager.xml
|
|
%{_datadir}/dbus-1/services/org.gnome.ColorManager.service
|
|
%{_datadir}/glib-2.0/schemas/org.gnome.color-manager.gschema.xml
|
|
%{_datadir}/glib-2.0/schemas/org.gnome.settings-daemon.plugins.color.gschema.xml
|
|
%{_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
|
|
%{_libexecdir}/gcm-helper-exiv
|
|
%{_libdir}/control-center-1/panels/libcolor.so
|
|
%{_libdir}/gnome-settings-daemon-3.0/libcolor.so
|
|
%{_libdir}/gnome-settings-daemon-3.0/color.gnome-settings-plugin
|
|
/lib/udev/gcm-udev-ddc
|
|
|
|
%files -n libcolor-glib1
|
|
%defattr(-, root, root)
|
|
%{_libdir}/*.so.*
|
|
|
|
%files devel
|
|
%defattr(-, root, root)
|
|
%{_libdir}/*.so
|
|
%{_includedir}/libcolor-glib/
|
|
%{_libdir}/pkgconfig/libcolor-glib.pc
|
|
|
|
%files lang -f %{name}.lang
|
|
|
|
%changelog
|