File augustus.spec of Package augustus
#
# spec file for package augustus
#
# Copyright (c) 2022 SUSE LLC
#
# 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 https://bugs.opensuse.org/
#
Name: augustus
Version: 3.2.0
Release: 0
Summary: An open source re-implementation of Caesar III
License: GPL-3.0-only
Group: Amusements/Games/Strategy/Other
URL: https://github.com/Keriew/augustus
Source: https://github.com/Keriew/augustus/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
Source99: %{name}-rpmlintrc
BuildRequires: cmake
BuildRequires: fdupes
BuildRequires: hicolor-icon-theme
BuildRequires: pkgconfig
BuildRequires: pkgconfig(SDL2_mixer)
BuildRequires: pkgconfig(libpng)
BuildRequires: pkgconfig(sdl2)
BuildRequires: pkgconfig(zlib)
%description
The aim of this project is to provide enhanced, customizable gameplay
to Caesar 3 using project Julius UI enhancements.
Augustus is able to load Caesar 3 and Julius saves, however saves
made with Augustus will not work outside Augustus.
Gameplay enhancements include:
* Roadblocks
* Market special orders
* Global labour pool
* Partial warehouse storage
* Increased game limits
* Zoom controls
* And more!
Because of gameplay changes and additions, save files from Augustus
are NOT compatible with Caesar 3 or Julius. Augustus is able
to load Caesar 3 save files, but not the other way around. If you
want vanilla experience with visual and UI improvements, or want to
use save files in base Caesar 3, check Julius.
Augustus, like Julius, requires the original assets (graphics,
sounds, etc) from Caesar 3 to run. Augustus optionally supports the
high-quality MP3 files once provided on the Sierra website.
%prep
%setup -q
%build
%cmake
%make_build
%install
%cmake_install
%fdupes %{buildroot}/%{_datadir}/augustus-game
%check
%ctest
%files
%license LICENSE.txt
%doc README.md
%{_bindir}/augustus
%{_datadir}/augustus-game
%{_datadir}/applications/com.github.keriew.augustus.desktop
%{_datadir}/icons/hicolor/*/apps/com.github.keriew.augustus.png
%{_datadir}/metainfo/com.github.keriew.augustus.metainfo.xml
%changelog