From ad8a71643bef289739f00b609bc3427ae000cd17 Mon Sep 17 00:00:00 2001 From: pcpa Date: Sep 26 2012 00:52:01 +0000 Subject: Initial import (#823102). --- diff --git a/.gitignore b/.gitignore index e69de29..14cd001 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/0ad-0.0.11-alpha-unix-data.tar.xz diff --git a/0ad-data.spec b/0ad-data.spec new file mode 100644 index 0000000..9ef0f40 --- /dev/null +++ b/0ad-data.spec @@ -0,0 +1,68 @@ +# http://trac.wildfiregames.com/wiki/BuildInstructions#Linux + +Name: 0ad-data +Version: 0.0.11 +Release: 3%{?dist} +Summary: The Data Files for 0 AD +License: CC-BY-SA +Group: Amusements/Games +Url: http://wildfiregames.com/0ad/ +Source: http://releases.wildfiregames.com/0ad-%{version}-alpha-unix-data.tar.xz +BuildRequires: unzip +Requires: dejavu-sans-fonts +Requires: dejavu-sans-mono-fonts +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. + +This package contains the 0ad data files. + +%prep +%setup -q -n 0ad-%{version}-alpha + +%build +pushd binaries/data/mods/public + mkdir tmp + pushd tmp + unzip -x ../public.zip + cp -a art/LICENSE.txt ../../../../../LICENSE-art.txt + cp -a audio/LICENSE.txt ../../../../../LICENSE-audio.txt + rm -fr * + popd + rm -fr tmp +popd + +%install +%__mkdir_p %{buildroot}%{_datadir} +%__rm -f tools/fontbuilder/fonts/*.ttf +%__mv binaries/data %{buildroot}%{_datadir}/0ad + +%files +%doc LICENSE-art.txt LICENSE-audio.txt +%{_datadir}/0ad + +%changelog +* Tue Sep 25 2012 pcpa - 0.0.11-3 +- Install LICENSE.txt files in proper documentation directory. + +* Tue Sep 11 2012 pcpa - 0.0.11-2 +- Install license files (#823102) +- Clarify this package are the 0ad data files (#823102) +- Use system dejavu-sans fonts. + +* Sat Sep 8 2012 pcpa - 0.0.11-1 +- Update to latest upstream release + +* Sat May 19 2012 pcpa - r11863-1 +- Correct package license. +- Update to latest upstream release. + +* Tue May 1 2012 pcpa - r11339-1 +- Initial 0ad-data spec. diff --git a/sources b/sources index e69de29..2b6b2e3 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +5900e406e6bdf761239e8af183a6a6c1 0ad-0.0.11-alpha-unix-data.tar.xz