File project.diff of Package CorsixTH
--- CorsixTH.changes.orig
+++ CorsixTH.changes
@@ -1,4 +1,28 @@
-------------------------------------------------------------------
+Fri May 24 19:04:31 UTC 2019 - Martin Hauke <mardnh@gmx.de>
+
+- Update to version 0.63
+ * Game music now supports ogg, flac, wav, aiff, voc, and mod in
+ addition to mp3 and mid/xmi tracks.
+ * No more hunting for that machine that's always breaking down.
+ Save your camera position with ALT+number, and restore with
+ CTRL+number.
+ * Announcements are now queued to play one after another instead
+ of overlapping.
+ * New man page for unix like operating systems.
+ * Fax message improvements.
+ * All hotkeys in the game are now configurable from within a
+ new option in the settings menu.
+ * Configure the scroll and zoom speed in game.
+ * Improved mouse 'release' behaviour. Release mouse (CTRL+F10 by
+ default) now always releases the mouse, so the game will not
+ scroll when moving out of the window. Clicking in the game
+ window causes the game to recognize the mouse again.
+- Run spec-cleaner.
+- Installation of Icon- and desktop files are now properly handled
+ by the upstream buildsystem.
+
+-------------------------------------------------------------------
Sat Mar 2 14:09:09 UTC 2019 - Matthias Mailänder <mailaender@opensuse.org>
- Update to version 0.62
--- CorsixTH.spec.orig
+++ CorsixTH.spec
@@ -12,22 +12,24 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: CorsixTH
-Version: 0.62
+Version: 0.63
Release: 0
Summary: Theme Hospital clone
License: MIT
Group: Amusements/Games/Strategy/Other
-Url: http://corsixth.com
+URL: http://corsixth.com
Source: https://github.com/CorsixTH/CorsixTH/archive/v%{version}/%{name}-%{version}.tar.gz
BuildRequires: cmake
+BuildRequires: fdupes
BuildRequires: gcc-c++
-BuildRequires: update-desktop-files
BuildRequires: hicolor-icon-theme
+BuildRequires: pkgconfig
+BuildRequires: update-desktop-files
BuildRequires: wxWidgets-devel
BuildRequires: pkgconfig(SDL2_mixer)
BuildRequires: pkgconfig(freetype2)
@@ -38,14 +40,12 @@ BuildRequires: pkgconfig(libavutil)
BuildRequires: pkgconfig(libpostproc)
BuildRequires: pkgconfig(libswresample)
BuildRequires: pkgconfig(libswscale)
+BuildRequires: pkgconfig(sdl2)
%if 0%{?suse_version} > 1320
BuildRequires: pkgconfig(luajit)
%else
BuildRequires: lua51-luajit-devel
%endif
-BuildRequires: pkgconfig(sdl2)
-Recommends: timidity
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version} > 1210
BuildRequires: lua51-devel
%else
@@ -53,6 +53,7 @@ BuildRequires: lua-devel
%endif
Requires: lua51-LPeg
Requires: lua51-luafilesystem
+Recommends: timidity
%description
This project aims to reimplement the game engine of Theme Hospital, and be
@@ -71,18 +72,17 @@ make %{?_smp_mflags}
%install
%cmake_install
-
-# install icons and desktop file
-mkdir -p %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/
-install -p -m 644 CorsixTH/Original_Logo.svg %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/CorsixTH.svg
-%suse_update_desktop_file -c CorsixTH CorsixTH "A Theme Hospital Clone" CorsixTH CorsixTH Game Simulation
+rm -f %{buildroot}/%{_datadir}/corsix-{th,TH}/LICENSE.txt
+%fdupes %{buildroot}/%{_datadir}
%files
-%defattr(-,root,root)
-%doc LICENSE.txt README.txt
+%license LICENSE.txt
+%doc README.txt
%{_bindir}/corsix-th
%{_datadir}/corsix-th
-%{_datadir}/applications/*
-%{_datadir}/icons/hicolor/scalable/apps/*
+%{_datadir}/applications/com.corsixth.CorsixTH.desktop
+/usr/share/icons/hicolor/scalable/apps/corsix-th.svg
+%{_mandir}/man6/corsix-th.6%{?ext_man}
+%{_datadir}/metainfo/com.corsixth.CorsixTH.appdata.xml
%changelog