File AdobeICCProfiles.spec of Package AdobeICCProfiles

# spec file for package AdobeICCProfiles (Version 2.0)
# Copyright (c) 2009 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

# norootforbuild

Name:           AdobeICCProfiles
Version:        2.0
Release:        137
Group:          Productivity/Graphics/Other
License:        SUSE-NonFree
Summary:        Adobe ICC Profiles
Source:         AdobeColorProfiles-bundler.rpm.tar.gz
Source1:        EULA
AutoReqProv:    on
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch

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:

4 RGB profiles

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

10 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 (

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.

# Work-around problem with to cd to directory with spaces in the name.
%setup -T -a0 -c %{name}-%{version}
rpm2cpio adobe-color-profiles-1.0-1.noarch.rpm >adobe-color-profiles-1.0-1.cpio
cpio -d -m -i <adobe-color-profiles-1.0-1.cpio
# WARNING: Race condition during unpacking!
chmod og-w -R usr/share/color/icc
chmod -x "usr/share/color/icc/Adobe ICC Profiles"/*/*.ic?


# 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 "usr/share/color/icc/Adobe ICC Profiles"/*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 "usr/share/color/icc/Adobe ICC Profiles"/*.pdf $RPM_BUILD_ROOT%{_docdir}/%{name}
## Location of files in the RPM package from Adobe.
#for DOC in *.pdf ; do
#  ln -s "%{_docdir}/%{name}/$DOC" "$RPM_BUILD_ROOT%{_datadir}/color/icc/$DOC"


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

* Wed Aug 08 2007
- Repackaged using new official source (no change in files).
* Thu Mar 29 2007
- fix BuildRequires
* Wed Jan 25 2006
- converted neededforbuild to BuildRequires
* Wed Dec 07 2005
- Profiles moved to subdirectory.
- Added EULA as a separate text file.
* Wed Nov 23 2005
- Initial repackage of version 2.0.
openSUSE Build Service is sponsored by