102 lines
2.9 KiB
RPMSpec
102 lines
2.9 KiB
RPMSpec
|
#
|
||
|
# spec file for package gnome-color-manager (Version 2.29.3)
|
||
|
#
|
||
|
# 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.29.3
|
||
|
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: dbus-1-glib-devel
|
||
|
BuildRequires: docbook-utils
|
||
|
BuildRequires: gconf2-devel
|
||
|
BuildRequires: gnome-doc-utils-devel
|
||
|
BuildRequires: gnome-desktop-devel
|
||
|
BuildRequires: gtk2-devel
|
||
|
BuildRequires: intltool
|
||
|
BuildRequires: libgudev-1_0-devel
|
||
|
BuildRequires: liblcms-devel
|
||
|
BuildRequires: libunique-devel
|
||
|
BuildRequires: vte-devel
|
||
|
BuildRequires: update-desktop-files
|
||
|
# For directory ownership
|
||
|
BuildRequires: polkit
|
||
|
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
|
||
|
|
||
|
%build
|
||
|
%configure \
|
||
|
--enable-hardware-detection \
|
||
|
--disable-schemas-install \
|
||
|
--disable-scrollkeeper
|
||
|
%{__make} %{?jobs:-j %jobs}
|
||
|
|
||
|
%install
|
||
|
%makeinstall
|
||
|
%suse_update_desktop_file gcm-prefs GNOME Monitor X-SuSE-ControlCenter-LookAndFeel
|
||
|
%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
|