+# NOTE:
+# - BuildArch is not noarch beacouse required higlayout excludes some archs
Summary: Open source Colonization clone
Summary(pl.UTF-8): Klon gry Colonization o otwartych źródłach
Name: freecol
Requires: higlayout
Requires: jre >= 1.4
Requires: jre-X11
-BuildArch: noarch
+ExclusiveArch: i586 i686 pentium3 pentium4 athlon %{x8664}
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
install FreeCol.jar $RPM_BUILD_ROOT%{_datadir}/freecol/FreeCol.jar
install %{SOURCE1} $RPM_BUILD_ROOT%{_bindir}/freecol
-cp -ar data/* $RPM_BUILD_ROOT%{_datadir}/freecol/
+cp -a data/* $RPM_BUILD_ROOT%{_datadir}/freecol/
install %SOURCE2 $RPM_BUILD_ROOT%{_desktopdir}
install %{name}.xpm $RPM_BUILD_ROOT%{_pixmapsdir}