File shared-color-profiles.spec of Package shared-color-profiles

#
# spec file for package shared-color-profiles (Version 0.1.2)
#
# 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:           shared-color-profiles
Version:        0.1.2
Release:        1
License:        GPLv2+
Group:          System/GUI/Other
Summary:        Color profiles for color management
Url:            http://github.com/hughsie/shared-color-profile
Source:         %{name}-%{version}.tar.bz2
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 extra
Summary:        Additional color profiles for color management
License:        Zlib
Requires:       %{name} = %{version}

%description extra
This package contains additional color profiles for color management.
Those profiles are less commonly used and are usually not required. They
may be useful for CMYK soft-proofing or for extra device support.

%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 Oyranos LICENSE and README with other similar files
rm %{buildroot}%{_datadir}/shared-color-profiles/Oyranos/{LICENSE,README}
cp profiles/Oyranos/LICENSE LICENSE.Oyranos
cp profiles/Oyranos/README README.Oyranos
# 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

%clean
rm -rf %{buildroot}

%files
%defattr(-, root, root)
%doc AUTHORS COPYING ChangeLog NEWS
%dir %{_datadir}/color
%dir %{_datadir}/color/icc/
%{_datadir}/color/icc/*.ic?
# Argyll
%doc LICENSE.Argyll README.Argyll
%dir %{_datadir}/color/icc/Argyll
%{_datadir}/color/icc/Argyll/*.ic?
# Yamma
%doc LICENSE.Yamma README.Yamma
%dir %{_datadir}/color/icc/Yamma
%{_datadir}/color/icc/Yamma/*.ic?

%files extra
%defattr(-, root, root)
# Oyranos
%doc LICENSE.Oyranos README.Oyranos
%dir %{_datadir}/color/icc/Oyranos
%{_datadir}/color/icc/Oyranos/*.ic?

%changelog
openSUSE Build Service is sponsored by