diff --git a/.gitignore b/.gitignore index 7ac8fea..45a7294 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ /corsix-th-0.64-rc1.tar.gz /corsix-th-0.64-rc2.tar.gz /corsix-th-0.64.tar.gz +/corsix-th-0.65-beta1.tar.gz diff --git a/corsix-th.spec b/corsix-th.spec index e92e0e2..0cbd030 100644 --- a/corsix-th.spec +++ b/corsix-th.spec @@ -2,8 +2,8 @@ %global uuid com.corsixth.CorsixTH Name: corsix-th -Version: 0.64 -Release: 8%{?dist} +Version: 0.65 +Release: 0.1.beta1%{?dist} Summary: Open source clone of Theme Hospital # For a breakdown of the licensing, see LICENSE.txt @@ -12,13 +12,18 @@ Summary: Open source clone of Theme Hospital # GPLv3+: SpriteEncoder License: MIT and BSD and GPLv3+ URL: https://github.com/CorsixTH/CorsixTH -Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz +Source0: %{url}/archive/v%{version}-beta1/%{name}-%{version}-beta1.tar.gz -BuildRequires: cmake -BuildRequires: compat-lua-devel +# [Bug] tag-invalid: versions are not in order [0.64 before +# 0.65-beta1] +# https://github.com/CorsixTH/CorsixTH/issues/1899 +Patch0: metainfo.patch + +BuildRequires: cmake >= 3.5 BuildRequires: desktop-file-utils BuildRequires: gcc-c++ BuildRequires: libappstream-glib +BuildRequires: lua-devel >= 5.4.2 BuildRequires: ninja-build BuildRequires: pkgconfig(SDL2_mixer) @@ -31,14 +36,14 @@ BuildRequires: auto-destdir Requires: %{name}-data Requires: hicolor-icon-theme -Requires: lua5.1-filesystem%{?_isa} -Requires: lua5.1-lpeg%{?_isa} +Requires: lua-filesystem +Requires: lua-lpeg # For music support Recommends: fluid-soundfont-lite-patches # For extracting GOG version -Recommends: innoextract%{?_isa} +Recommends: innoextract %global _description %{expand: CorsixTH aims to reimplement the game engine of Theme Hospital, and be able to @@ -71,7 +76,7 @@ Package contains data files for %{name}. %prep -%autosetup -n %{appname}-%{version} -p1 +%autosetup -n %{appname}-%{version}-beta1 -p1 %build @@ -107,6 +112,9 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop %changelog +* Tue May 25 2021 Artem Polishchuk - 0.65-0.1.beta1 +- build(update): 0.65-beta1 + * Sun May 23 2021 Artem Polishchuk - 0.64-8 - fix: Broken music | rh#1963368 diff --git a/metainfo.patch b/metainfo.patch new file mode 100644 index 0000000..2e981b3 --- /dev/null +++ b/metainfo.patch @@ -0,0 +1,14 @@ +--- a/CorsixTH/com.corsixth.corsixth.metainfo.xml 2021-05-24 +05:08:42.000000000 +0300 ++++ b/CorsixTH/com.corsixth.corsixth.metainfo.xml 2021-05-25 +22:44:40.757390062 +0300 +@@ -26,8 +26,8 @@ + + com.corsixth.corsixth.desktop + +- + ++ + + + diff --git a/sources b/sources index 2641ea4..71c524a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (corsix-th-0.64.tar.gz) = c02d07ae4fb9a1ce008f32c4b9ea12a949316feddca4e2a29e860e0d88efdfa0440d372b00b9d3eda5e5c3ca739085510ebe8650790d06a7e91255b7d0990e6c +SHA512 (corsix-th-0.65-beta1.tar.gz) = 015c6a2be5ce4aad36a3327c487914be84f3e5a7b3eac78e894be502f9d634decd5cbd06fe8b965669076d0d9c0c4afe4cdeea396e100e60ce468a766390ab86