File tremulous-data.spec of Package tremulous-data
#
# spec file for package tremulous-data
#
# Copyright (c) 2013 SUSE LINUX Products 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: tremulous-data
Version: 1.1.0
Release: 0
Summary: Data files for tremulous the FPS game
License: CC-BY-SA-2.5
Group: Amusements/Games/Action/Shoot
Url: http://tremulous.net
# this is basically
# http://downloads.sourceforge.net/tremulous/tremulous-%{version}.zip
# repackaged with tremulous-%{version}-src.tar.gz removed as that contains
# non Free software (the lcc compiler).
Source0: %{name}-%{version}.tar.gz
Source1: %{name}-copyright.txt
Requires: tremulous >= %{version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%description
Data files for tremulous the Quake 3 based FPS game.
%prep
%setup -q
install -p -m 644 %{SOURCE1} tremulous-data-copyright.txt
# %build
# nothing to build data only
%install
mkdir -p %{buildroot}%{_datadir}/tremulous/base
install -p -m 0644 base/*.pk3 %{buildroot}%{_datadir}/tremulous/base/
install -p -m 0644 base/*.cfg %{buildroot}%{_datadir}/tremulous/base/
%files
%defattr(-,root,root,-)
%doc CC COPYING tremulous-data-copyright.txt manual.pdf
%{_datadir}/tremulous
%changelog