File xcolors.spec of Package xcolors

# spec file for package xcolors (Version 91.10.4 )
# Copyright (c) 2011 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:           xcolors
BuildRequires:  xorg-x11 xorg-x11-devel
License:        Public Domain, Freeware
Group:          System/X11/Utilities
AutoReqProv:    on
Version:        91.10.4 
Release:        1225
Summary:        Displays colors defined in rgb.txt
Source:         xcolors-04oct91.tar.bz2
Patch:          xcolors-04oct91.patch
Patch1:         xcolors-04oct91-xorg7_rgbtxt.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
%define _xorg7libs %_lib
%define _xorg7libs32 lib
%define _xorg7bin bin
%define _xorg7_mandir %_mandir
%define _xorg7pixmaps include
%define _xorg7libshare share

Xcolorsel displays colors defined in rgb.txt. You can create an RGB
file by redirecting the output of showrgb to a file.

%setup -n xcolors-04oct91
%if "%(pkg-config --variable=prefix xft)" == "/usr"

xmkmf -a
make %{?jobs:-j%jobs} CCOPTIONS="$RPM_OPT_FLAGS"


%config /usr/%{_xorg7libshare}/X11/app-defaults/Xcolors
%doc %{_xorg7_mandir}/man1/xcolors.1x.gz