blob: 7dfa9169211f26fbb81e25c56dec14e97a16ee11 (
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
73
|
%bcond_with x
Summary: X.Org X11 applications
Name: xeyes
# NOTE: The package version should be set to the X11 major release from which
# the OS release is based upon.
Version: 1.1.1
Release: 1
License: MIT
Group: User Interface/X
URL: http://www.x.org
Source: %{name}-%{version}.tar.gz
#Source11: ftp://ftp.x.org/pub/individual/app/xeyes-1.1.1.tar.bz2
BuildRequires: autoconf automake
#BuildRequires: xorg-x11-xutils-dev
# xfd needs gettext
BuildRequires: gettext
BuildRequires: zlib-devel
BuildRequires: libfontenc-devel
BuildRequires: libX11-devel
BuildRequires: libXmu-devel
BuildRequires: libXext-devel
BuildRequires: libXt-devel
BuildRequires: libXaw-devel
BuildRequires: libXpm-devel
BuildRequires: libXft-devel
BuildRequires: libXrender-devel
BuildRequires: libxkbfile-devel
BuildRequires: libXcursor-devel
BuildRequires: libpng-devel
BuildRequires: libXfixes-devel
BuildRequires: libXi-devel >= 1.2
BuildRequires: libXxf86vm-devel
#BuildRequires: xorg-x11-xbitmaps
Provides: xeyes
%if !%{with x}
ExclusiveArch:
%endif
%description
A collection of common X Window System applications.
%prep
%setup -q
%build
%autogen --disable-static
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p %{buildroot}/usr/share/license
cp -af COPYING %{buildroot}/usr/share/license/%{name}
{
make install DESTDIR=$RPM_BUILD_ROOT
}
%remove_docs
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%{_bindir}/*
/usr/share/license/%{name}
|