Package curseofwar

Download curseofwar.spec
Name:     curseofwar
Release:  alt2

Summary:  A Real Time Strategy game for Linux
License:  GPLv3
Group:    Games/Strategy

Packager: Grigory Ustinov <>

Source:   %name-%version.tar
Patch0:   %name-
Patch1:   %name-

BuildRequires: libncursesw-devel libSDL-devel
Requires: %name-ncurses %name-SDL

%define common_description \
This is a fast-paced action strategy game for Linux implemented using ncurses\
user interface.\
Unlike most RTS, you are not controlling units, but focus on high-level\
strategic planning: Building infrastructure, securing resources,\
and moving your armies.\
The core game mechanics turns out to be quite close to WWI-WWII type of\
warfare, however, there is no explicit reference to any historical period.


%package common
Summary:   Common files of %name
Group:     Games/Strategy
BuildArch: noarch

%description common


%package ncurses
Summary:  Ncurses version of %name
Group:    Games/Strategy
Requires: %name-common

%description ncurses


%package SDL
Summary:  SDL version of %name
Group:    Games/Strategy
Requires: %name-common

%description SDL


%patch0 -p1
%patch1 -p1

%make_build CFLAGS="$CFLAGS"
%make_build SDL=yes CFLAGS="$CFLAGS"

%makeinstall_std SDL=yes

%files common
%exclude %_defaultdocdir/%name/changelog.gz

%files ncurses

%files SDL


* Wed May 23 2018 Grigory Ustinov <>
- Disable Werror flag for building on e2k arch.

* Tue Dec 19 2017 Grigory Ustinov <>
- Build new version.
- Fix SDL path.
- Change ncurses to ncursesw.
- Add Werror flag.
- Significant change of spec.

* Fri Jul 12 2013 Denis G. Samsonenko <> 1.1.0-alt1
- initial build
Back to Top