+%bcond_with x
+
Name: libxkbfile
Version: 1.0.8
Release: 1
BuildRequires: pkgconfig(xorg-macros)
BuildRequires: pkgconfig(xproto)
+%if !%{with x}
+ExclusiveArch:
+%endif
+
%description
X.Org X11 libxkbfile runtime library.
# FIXME: We use -fno-strict-aliasing, to work around the following bug:
# maprules.c:1373: warning: dereferencing type-punned pointer will break strict-aliasing rules)
export CFLAGS="${CFLAGS} %{optflags} -fno-strict-aliasing"
-%configure --disable-static
+%configure --disable-static
make %{?_smp_mflags}
%install
%files
%manifest %{name}.manifest
%defattr(-,root,root,-)
-%license COPYING
+%license COPYING
%{_libdir}/libxkbfile.so.1
%{_libdir}/libxkbfile.so.1.0.2