blob: 481dba7337b47aab6a0659821daf23a2abff2843 (
plain)
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
|
Summary: X11 utilities
Name: xorg-x11-utils
Version: 7.5
Release: 6
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(xft)
BuildRequires: pkgconfig(xi)
BuildRequires: pkgconfig(xmuu)
BuildRequires: pkgconfig(xrender)
BuildRequires: pkgconfig(xt)
BuildRequires: pkgconfig(xtst)
BuildRequires: pkgconfig(xxf86dga)
BuildRequires: pkgconfig(xxf86vm)
BuildRequires: pkgconfig(xv)
BuildRequires: pkgconfig(xmu)
BuildRequires: pkgconfig(inputproto)
BuildRequires: pkgconfig(xinerama)
BuildRequires: pkgconfig(fontenc)
BuildRequires: pkgconfig(xcb)
BuildRequires: pkgconfig(xcb-atom)
BuildRequires: pkgconfig(xcb-shape)
%define DEF_SUBDIRS appres editres listres luit viewres xdpyinfo xev xfd xfontsel xkill xlsatoms xlsclients xlsfonts xmessage xprop xvinfo xwininfo
Provides: %{DEF_SUBDIRS}
%description
A collection of common X Window System applications.
%prep
%setup -q
%build
# Build all apps
{
for app in %{DEF_SUBDIRS}; do
pushd $app
%configure \
--disable-xprint \
RSH=rsh \
MANCONF="/etc/manpath.config"
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/*
|