Files
rgb/rgb.spec
Stefan Dirsch cb87a2c455 - Update to version 1.1.1
* Remove "All rights reserved" from Oracle copyright notices
  * showrgb.man: Use bold instead of italic for program name
  * Add --help and --version options
  * Improve man page formatting
  * Strip trailing whitespace from source files
  * rgb: Make color entries uniform

OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/rgb?expand=0&rev=12
2026-01-06 13:15:53 +00:00

57 lines
1.6 KiB
RPMSpec

#
# spec file for package rgb
#
# Copyright (c) 2026 SUSE LLC and contributors
#
# 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 https://bugs.opensuse.org/
#
Name: rgb
Version: 1.1.1
Release: 0
Summary: X color name database
License: MIT
Group: System/X11/Utilities
URL: https://xorg.freedesktop.org/
Source0: https://xorg.freedesktop.org/releases/individual/app/%{name}-%{version}.tar.xz
BuildRequires: pkgconfig
BuildRequires: pkgconfig(xorg-macros) >= 1.8
BuildRequires: pkgconfig(xproto)
# This was part of the xorg-x11 package up to version 7.6
Conflicts: xorg-x11 <= 7.6
%description
This package includes both the list mapping X color names to RGB values
(rgb.txt) and, if configured to use a database for color lookup, the
rgb program to convert the text file into the binary database format.
%prep
%setup -q
%build
%configure
%make_build
%install
%make_install
%files
%license COPYING
%doc AUTHORS ChangeLog README.md
%{_bindir}/showrgb
%dir %{_datadir}/X11
%{_datadir}/X11/rgb.txt
%{_mandir}/man1/showrgb.1%{?ext_man}
%changelog