File AdobeICCProfiles.spec of Package AdobeICCProfiles

#
# spec file for package AdobeICCProfiles
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# 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:           AdobeICCProfiles
Version:        2.0
Release:        0
Url:            http://www.adobe.com/support/downloads/iccprofiles/iccprofiles_linux.html
Summary:        Adobe ICC Profiles
License:        SUSE-NonFree
Group:          Productivity/Graphics/Other
Source:         AdobeICCProfilesWin_bundler.zip
Source1:        EULA
BuildRequires:  unzip
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch

%description
Build quality color workflows with Adobe ICC profiles.

Adobe wants to enable consistent, high-quality color workflows. For
color workflows to succeed, color information must be shared by many
people, from original creator to final publisher.

Enclosed in our compressed archive are:

3 RGB profiles

Adobe RGB (1998) Apple RGB ColorMatch RGB sRGB IEC61966-2.1

12 CMYK profiles

US Web Coated (SWOP) v2 US Web Uncoated v2 US Sheetfed Coated v2 US
Sheetfed Uncoated v2 Europe ISO Coated FOGRA27 Euroscale Uncoated v2
Japan Web Coated (Ad) Japan Color 2001 Coated Japan Color 2001 Uncoated
Japan Color 2002 Newspaper

For more information on ICC profiles, visit the International Color
Consortium website (http://www.color.org/).

For more information on ICC color management, see the technical guides
on the Adobe website.

System requirements Any system-level or application-level color
management system that uses ICC color profiles.



%prep
# Work-around problem with to cd to directory with spaces in the name.
%setup -n "Adobe ICC Profiles (bundler)"
# WARNING: Race condition during unpacking!
chmod og-w -R .
chmod -x */*.ic?

%build

%install
# WARNING: You must make sure, that all files are installed!
# License requires it.
mkdir -p "$RPM_BUILD_ROOT%{_datadir}/color/icc/Adobe ICC Profiles"
cp -a *Profiles "$RPM_BUILD_ROOT%{_datadir}/color/icc/Adobe ICC Profiles"
mkdir -p $RPM_BUILD_ROOT%{_docdir}/%{name}
cp -a %{S:1} $RPM_BUILD_ROOT%{_docdir}/%{name}
cp -a *.pdf $RPM_BUILD_ROOT%{_docdir}/%{name}

%files
%defattr (-, root, root)
%doc %{_docdir}/%{name}
%{_datadir}/color

%changelog