File urbanterror-data.spec of Package urbanterror-data

#
# spec file for package urbanterror-data
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


Name:           urbanterror-data
Version:        4.3.4
Release:        0
Url:            http://www.urbanterror.info/
Summary:        Urban Terror game files
# http://www.urbanterror.info/support/202-quake-3-sdk/
License:        SUSE-Freeware
Group:          Amusements/Games/3D/Shoot
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Source:         https://cdn.urbanterror.info/urt/43/releases/zips/UrbanTerror434_full.zip
NoSource:       0
BuildRequires:  unzip
BuildArch:      noarch
Requires:       urbanterror >= %{version}

%description
Urban Terror can be described as a Hollywood tactical shooter;
somewhat realism based, but the motto is "fun over realism"
which results in a very unique, enjoyable and addictive game.

This package contains only the game files which are covered
by the Quake III SDK End User License Agreement.

%prep
%setup -q -n UrbanTerror43
#remove binaries
rm -rf Quake3-UrT*

%build

%install
mkdir -p %{buildroot}%{_datadir}/urbanterror/q3ut4
cp -r q3ut4/* %{buildroot}%{_datadir}/urbanterror/q3ut4

%files
%{_datadir}/urbanterror

%changelog
openSUSE Build Service is sponsored by