SHA256
1
0
forked from pool/0ad-data
0ad-data/0ad-data.spec

64 lines
2.2 KiB
RPMSpec

#
# spec file for package 0ad-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: 0ad-data
Version: 0.0.20
Release: 0
Summary: The Data Files for 0 AD
License: CC-BY-SA-2.0
Group: Amusements/Games/Strategy/Real Time
Url: http://play0ad.com/
Source: http://sourceforge.net/projects/zero-ad/files/releases/0ad-%{version}-alpha-unix-data.tar.gz
BuildRequires: xz
%if 0%{?suse_version}
BuildRequires: fdupes
%endif
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%description
0 A.D. (pronounced "zero ey-dee") is a free, open-source, cross-platform real-time
strategy (RTS) game of ancient warfare. In short, it is a historically-based
war/economy game that allows players to relive or rewrite the history of Western
civilizations, focusing on the years between 500 B.C. and 500 A.D. The project is
highly ambitious, involving state-of-the-art 3D graphics, detailed artwork, sound,
and a flexible and powerful custom-built game engine.
The game has been in development by Wildfire Games (WFG), a group of volunteer,
hobbyist game developers, since 2001. The code and data are available under the GPL
license, and the art, sound and documentation are available under CC-BY-SA.
%prep
%setup -q -n 0ad-%{version}-alpha
%build
%install
mkdir -p %{buildroot}%{_datadir}
mv binaries/data %{buildroot}%{_datadir}/0ad
mkdir -p %{buildroot}%{_datadir}/0ad/l10n
%if 0%{?suse_version}
%fdupes %{buildroot}%{_datadir}/0ad
%endif
%files
%defattr(-,root,root)
%{_datadir}/0ad
%changelog