1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
|
Summary: X server utilities
Name: xorg-x11-xserver-utils
Version: 7.5
Release: 2
License: MIT/X11
Group: User Interface/X
URL: http://www.x.org
Source: %{name}-%{version}.tar.gz
BuildRequires: pkgconfig(xorg-macros)
BuildRequires: pkgconfig(x11)
BuildRequires: pkgconfig(xaw7)
BuildRequires: pkgconfig(xext)
BuildRequires: pkgconfig(xi)
BuildRequires: pkgconfig(xmuu)
BuildRequires: pkgconfig(xrandr)
BuildRequires: pkgconfig(xt)
BuildRequires: pkgconfig(xxf86vm)
BuildRequires: pkgconfig(xcursor)
BuildRequires: pkgconfig(inputproto)
BuildRequires: xbitmaps
%define DEF_SUBDIRS iceauth rgb sessreg xcmsdb xgamma xhost xmodmap xrandr xrdb xrefresh xset xsetmode xsetpointer xsetroot xstdcmap xvidtune
Provides: %{DEF_SUBDIRS}
%description
An X client is a program that interfaces with an X server (almost always via
the X libraries), and thus with some input and output hardware like a
graphics card, monitor, keyboard, and pointing device (such as a mouse).
.
This package provides a miscellaneous assortment of X Server utilities
that ship with the X Window System, including:
- iceauth, a tool for manipulating ICE protocol authorization records;
- rgb;
- sessreg, a simple program for managing utmp/wtmp entries;
- xcmsdb, a device color characteristic utility for the X Color Management
System;
- xgamma, a tool for querying and setting a monitor's gamma correction;
- xhost, a very dangerous program that you should never use;
- xmodmap, a utility for modifying keymaps and pointer button mappings in X;
- xrandr, a command-line interface to the RandR extension;
- xrdb, a tool to manage the X server resource database;
- xrefresh, a tool that forces a redraw of the X screen;
- xset, a tool for setting miscellaneous X server parameters;
- xsetmode and xsetpointer, tools for handling X Input devices;
- xsetroot, a tool for tailoring the appearance of the root window;
- xstdcmap, a utility to selectively define standard colormap properties;
- xvidtune, a tool for customizing X server modelines for your monitor.
%prep
%setup -q
%build
# Build all apps
{
for app in %{DEF_SUBDIRS}; do
pushd $app
%configure \
--disable-xprint \
RSH=rsh \
MANCONF="/etc/manpath.config"
make
popd
done
}
%install
rm -rf $RPM_BUILD_ROOT
# Install all apps
{
for app in %{DEF_SUBDIRS} ; do
pushd $app
make install DESTDIR=$RPM_BUILD_ROOT
popd
done
}
%remove_docs
%clean
rm -rf $RPM_BUILD_ROOT
%files
%{_bindir}/*
/etc/X11/app-defaults/*
/usr/share/X11/rgb.txt
|