Summary(pl.UTF-8): Bitmapy współdzielone między aplikacjami X
Name: xorg-data-xbitmaps
Version: 1.1.1
-Release: 2
+Release: 3
License: MIT
Group: X11/Applications
Source0: http://xorg.freedesktop.org/releases/individual/data/xbitmaps-%{version}.tar.bz2
# Source0-md5: 7444bbbd999b53bec6a60608a5301f4c
+Patch0: noarch.patch
URL: http://xorg.freedesktop.org/
BuildRequires: autoconf >= 2.60
BuildRequires: automake
BuildRequires: rpmbuild(macros) >= 1.446
BuildRequires: xorg-util-util-macros >= 1.3
Requires: filesystem >= 3.0-32
+BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+%if %{_host_cpu} == "x32"
+%define build_arch %{_target_platform}
+%else
+%define build_arch %{_host}
+%endif
+
%description
Bitmaps that are shared between X applications.
%{__autoconf}
%{__autoheader}
%{__automake}
-%configure
-
+%configure \
+ --host=%{build_arch} \
+ --build=%{build_arch} \
+ %{nil}
%{__make}
%install
rm -rf $RPM_BUILD_ROOT
-
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT