Change-Id: I14bcd015c5ffb762b485fe2616244b082c843c35
+%bcond_with x
+
Summary: print contents of X events
Name: xev
Version: 1.2.1
BuildRequires: pkgconfig(xxf86dga) pkgconfig(xxf86vm)
BuildRequires: pkgconfig(xcb) pkgconfig(xcb-atom)
+%if !%{with x}
+ExclusiveArch:
+%endif
+
%description
Xev creates a window and then asks the X server to send it events whenever
anything happens to the window (such as it being moved, resized, typed in,
%setup -q
%build
-%configure
-make
+%autogen --disable-static
+make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT