%global nodotver %%(echo %{version} | sed 's/\\.//') Name: warsow-data Version: 2.1 Release: 1%{?dist} Summary: Game data for Warsow License: CC-BY-SA and CC-BY-ND URL: https://www.warsow.gg Source0: http://update.warsow.gg/mirror/warsow_%{nodotver}_unified.tar.gz BuildArch: noarch BuildRequires: /usr/bin/dos2unix Requires: warsow = %{version} %description Warsow is a fast paced first person shooter consisting of cel-shaded cartoon-like graphics with dark, flashy and dirty textures. Warsow is based on the E-novel "Chasseur de bots" ("Bots hunter" in English) by Fabrice Demurger. Warsow's codebase is built upon Qfusion, an advanced modification of the Quake II engine. This package installs the game data files (textures, maps, sounds, etc.). %prep %setup -q -n warsow_%{nodotver} # Convert to utf-8 and Unix line breaks dos2unix docs/license.txt %build # nothing to build %install mkdir -p $RPM_BUILD_ROOT%{_datadir}/warsow cp -a basewsw $RPM_BUILD_ROOT%{_datadir}/warsow/ %files %license docs/license.txt %{_datadir}/warsow/ %changelog * Wed Jun 08 2016 Pete Walter - 2.1-1 - Initial Fedora package