File Reaction-data.spec of Package Reaction-data

#
# spec file for package Reaction-data
#
# Copyright (c) 2017 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:           Reaction-data
Version:        1.0
Release:        0
Summary:        A port of the classic Action Quake 2 to a modified Quake 3 engine
License:        GPL-2.0+ and CC-BY-NC-SA-3.0
Group:          Amusements/Games/3D/Shoot
Url:            http://www.rq3.com
Source:         http://download.rq3.com/Reaction-%{version}-Linux-i386.tar.gz
BuildRequires:  fdupes
BuildArch:      noarch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
Reaction was originally called Reaction Quake 3 which was a "total conversion mod"
for Quake III Arena based on action and realism with a specific emphasis on action
over realism. Reaction is a port of the classic Action Quake 2 (AQ2) mod.

This package contains the game data files.

%prep
%setup -q -n Reaction

%build

%install
install -d %{buildroot}%{_defaultdocdir}/reaction
cp -r docs/* %{buildroot}%{_defaultdocdir}/reaction

install -d %{buildroot}%{_datadir}/Reaction/Boomstick
install -Dm0644 Boomstick/* %{buildroot}%{_datadir}/Reaction/Boomstick

%fdupes %{buildroot}%{_datadir}

%files
%defattr(-,root,root,-)
%doc Reaction-license.txt
%dir %{_defaultdocdir}/reaction
%doc %{_defaultdocdir}/reaction
%dir %{_datadir}/Reaction
%{_datadir}/Reaction/Boomstick/

%changelog
openSUSE Build Service is sponsored by