summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoram Park <boram1288.park@samsung.com>2014-07-19 03:10:56 (GMT)
committerBoram Park <boram1288.park@samsung.com>2014-07-24 06:29:00 (GMT)
commit2ba5e57ae5d7536cffaf7cf59b28345954fb0ef2 (patch)
tree2b71821d512184e4de422fe6ab407fcf1c4f8ff6
parent4ded949a84f8ccee5d8dcb5f90cb98606397092b (diff)
downloadxev-2ba5e57ae5d7536cffaf7cf59b28345954fb0ef2.zip
xev-2ba5e57ae5d7536cffaf7cf59b28345954fb0ef2.tar.gz
xev-2ba5e57ae5d7536cffaf7cf59b28345954fb0ef2.tar.bz2
not build without xrefs/changes/22/24922/1
Change-Id: Ic9908d72d76ecec5ff12429a050964f6aff234c2
-rwxr-xr-xpackaging/xev.spec10
1 files changed, 8 insertions, 2 deletions
diff --git a/packaging/xev.spec b/packaging/xev.spec
index b18af0d..3056c3a 100755
--- a/packaging/xev.spec
+++ b/packaging/xev.spec
@@ -1,3 +1,5 @@
+%bcond_with x
+
Summary: print contents of X events
Name: xev
Version: 1.2.1
@@ -13,6 +15,10 @@ BuildRequires: pkgconfig(xpm) pkgconfig(xt) pkgconfig(xtst) pkgconfig(xv)
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,
@@ -25,8 +31,8 @@ not be needed in normal usage.
%setup -q
%build
-%configure
-make
+%autogen --disable-static
+make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT