File shared-color-profiles.spec of Package shared-color-profiles
#
# spec file for package shared-color-profiles
#
# 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/
#
Name: shared-color-profiles
Version: 0.1.5
Release: 1
License: GPL-2.0+
Group: System/GUI/Other
Summary: Color profiles for color management
Url: http://github.com/hughsie/shared-color-profile
Source: http://people.freedesktop.org/~hughsient/releases/%{name}-%{version}.tar.gz
# For directory ownership
BuildRequires: color-filesystem
Requires: color-filesystem
Recommends: icc-profiles
Recommends: icc-profiles-scp-argyll
Recommends: icc-profiles-scp-fogra
Recommends: icc-profiles-scp-yamma
Suggests: AdobeICCProfiles
Suggests: icc-profiles-scp-oysonar
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%description
The shared-color-profiles package contains various profiles which are
useful for programs that are color management aware.
%package -n icc-profiles-scp-argyll
Summary: Argyll color profiles, with improved text
License: SUSE-Public-Domain
Requires: color-filesystem
%description -n icc-profiles-scp-argyll
This package contains the color profiles from Argyll, with strings
updated for better integration in graphical user interfaces.
%package -n icc-profiles-scp-fogra
Summary: FOGRA 27L color profile
License: SUSE-Public-Domain
Requires: color-filesystem
%description -n icc-profiles-scp-fogra
This package contains the FOGRA 27L color profile, used for offset
printing.
%package -n icc-profiles-scp-oysonar
Summary: Oyranos color profiles, changed for consistent style
License: Zlib
Requires: color-filesystem
# Used to be called shared-color-profiles-extra in 11.4 and earlier
Provides: %{name}-extra = %{version}
Obsoletes: %{name}-extra < %{version}
%description -n icc-profiles-scp-oysonar
This package contains the color profiles from Oyranos, with strings
updated for better integration in graphical user interfaces.
Those profiles are less commonly used and are usually not required. They
may be useful for CMYK soft-proofing or for extra device support.
%package -n icc-profiles-scp-yamma
Summary: Abstract color profiles
License: MIT
Requires: color-filesystem
%description -n icc-profiles-scp-yamma
This package contains abstract color profiles from the the separate+
project.
%prep
%setup -q
%build
%configure
%install
%makeinstall
# Install the Argyll LICENSE and README with other similar files
rm %{buildroot}%{_datadir}/shared-color-profiles/Argyll/{LICENSE,README}
cp profiles/Argyll/LICENSE LICENSE.Argyll
cp profiles/Argyll/README README.Argyll
# Install the Oysonar LICENSE and README with other similar files
rm %{buildroot}%{_datadir}/shared-color-profiles/Oysonar/{LICENSE,README}
cp profiles/Oysonar/LICENSE LICENSE.Oysonar
cp profiles/Oysonar/README README.Oysonar
# Install the Yamma LICENSE and README with other similar files
rm %{buildroot}%{_datadir}/shared-color-profiles/Yamma/{LICENSE,README}
cp profiles/Yamma/LICENSE LICENSE.Yamma
cp profiles/Yamma/README README.Yamma
%files
%defattr(-, root, root)
%doc AUTHORS COPYING ChangeLog NEWS
# IEC
%{_datadir}/color/icc/AdobeGammaTest.icm
%{_datadir}/color/icc/bluish.icc
# Fake profiles
%{_datadir}/color/icc/FakeBRG.icc
%{_datadir}/color/icc/FakeRBG.icc
%files -n icc-profiles-scp-argyll
%defattr(-, root, root)
%doc LICENSE.Argyll README.Argyll
%dir %{_datadir}/color/icc/Argyll
%{_datadir}/color/icc/Argyll/*.ic?
%files -n icc-profiles-scp-fogra
%defattr(-, root, root)
%{_datadir}/color/icc/Fogra27L.icc
%files -n icc-profiles-scp-oysonar
%defattr(-, root, root)
%doc LICENSE.Oysonar README.Oysonar
%dir %{_datadir}/color/icc/Oysonar
%{_datadir}/color/icc/Oysonar/*.ic?
%files -n icc-profiles-scp-yamma
%defattr(-, root, root)
%doc LICENSE.Yamma README.Yamma
%dir %{_datadir}/color/icc/Yamma
%{_datadir}/color/icc/Yamma/*.ic?
%changelog