File warsow-data.spec of Package warsow-data
#
# spec file for package warsow-data
#
# Copyright (c) 2016 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: warsow-data
Version: 2.1
Release: 0
Summary: Data files for Warsow
# CC-BY-SA-4.0 assets and GPL-2.0+ other
License: CC-BY-SA-4.0 and GPL-2.0+
Group: Amusements/Games/3D/Shoot
Url: https://www.warsow.gg/
Source0: http://update.warsow.gg/mirror/warsow_21_unified.tar.gz
Source1: %{name}-rpmlintrc
NoSource: 0
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: dos2unix
BuildRequires: fdupes
BuildArch: noarch
%description
Data files (audio, maps, etc.) for Warsow.
%prep
%setup -q -n warsow_21
%build
rm -rf libs/ warsow* wsw*
dos2unix docs/*.txt
%install
mkdir -p %{buildroot}/%{_datadir}/warsow/
cp -ap basewsw %{buildroot}/%{_datadir}/warsow/
%fdupes %{buildroot}/%{_datadir}/warsow/
%files
%defattr(-,root,root,-)
%doc docs/*
%{_datadir}/warsow/
%changelog