Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37848404
en ru br
ALT Linux repos
S:0.10.2-alt2

Group :: Games/Strategy
RPM: endless-sky

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: endless-sky
Version: 0.10.2
Release: alt2

Summary: Space exploration and combat game
License: GPLv3
Group: Games/Strategy

Url: https://endless-sky.github.io/
VCS: https://github.com/endless-sky/endless-sky
Source: %name-%version.tar
Source2: %name.watch

BuildRequires(pre): rpm-macros-cmake
BuildRequires: git
BuildRequires: cmake
BuildRequires: gcc-c++
BuildRequires: libSDL2-devel
BuildRequires: libpng-devel
BuildRequires: libturbojpeg-devel
BuildRequires: libjpeg-devel
BuildRequires: libGL-devel
BuildRequires: libGLEW-devel
BuildRequires: libopenal-devel
BuildRequires: libmad-devel
BuildRequires: libuuid-devel
Requires: %name-gamedata = %EVR

ExcludeArch: armh

%description
Endless Sky is a 2D space trading and combat game similar to the classic
Escape Velocity series. Explore other star systems. Earn money by trading,
carrying passengers, or completing missions. Use your earnings to buy
a better ship or to upgrade the weapons and engines on your current one.
Blow up pirates. Take sides in a civil war. Or leave human space behind
and hope to find friendly aliens whose culture is more civilized than your own.

# game data license differs from game binary license

%package gamedata
Summary: Game data for Endless Sky
License: CC-BY-SA-4.0 AND CC-BY-SA-3.0 AND CC-BY-4.0 AND CC-BY-3.0 AND CC-BY-2.0 AND CC0 AND GPL-2
Group: Games/Strategy

%description gamedata
Game data for Endless Sky.
See /usr/share/doc/%name-gamedata-%version/copyright for licensing.

%prep
%setup

%build
%cmake -DES_USE_VCPKG=OFF
%cmake_build

%install
%cmake_install
mkdir -p %buildroot%_bindir/
install -m755 %_arch-alt-linux/endless-sky %buildroot%_bindir/endless-sky
rm -rv %buildroot/usr/share/doc/%name
%find_lang %name

%files -f %name.lang
%doc README.md changelog

%_bindir/%name
%_iconsdir/hicolor/16x16/apps/%name.png
%_iconsdir/hicolor/22x22/
%_iconsdir/hicolor/24x24/
%_iconsdir/hicolor/32x32/apps/%name.png
%_iconsdir/hicolor/48x48/apps/%name.png
%_iconsdir/hicolor/128x128/
%_iconsdir/hicolor/256x256/
%_iconsdir/hicolor/512x512/
%_desktopdir/%name.desktop
%_man6dir/%name.6*
%_datadir/metainfo/

%files gamedata
%doc copyright
%_datadir/games/endless-sky/

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin