diff --git a/.gitignore b/.gitignore index 8ebbfbc..8846b0c 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ plee-the-bear-0.4.1.tar.gz /plee-the-bear-0.6.0-light.tar.gz /plee-the-bear_0.7.0-light.tar.gz +/0.7.1.tar.gz diff --git a/plee-the-bear.spec b/plee-the-bear.spec index 50597a3..10f024b 100644 --- a/plee-the-bear.spec +++ b/plee-the-bear.spec @@ -1,19 +1,12 @@ Name: plee-the-bear -Version: 0.7.0 -Release: 19%{?dist} +Version: 0.7.1 +Release: 1%{?dist} Summary: 2D platform game # Code and artwork respectively License: GPLv3 and CC-BY-SA -URL: http://www.stuff-o-matic.com/plee-the-bear/ -# Actual source URL is hidden by PHP: -# http://www.stuff-o-matic.com/plee-the-bear/download/file.php?platform=source -Source0: %{name}_%{version}-light.tar.gz -# Already in upstream git -Patch0: ptb-0.7.0-crash-on-exit.patch -Patch1: ptb-CMakeLists.patch -Patch2: ptb-sequencer-gcc6.patch +URL: https://github.com/j-jorge/plee-the-bear/ +Source0: https://github.com/j-jorge/plee-the-bear/archive/%{version}.tar.gz Patch3: ptb-docbook2man.patch - BuildRequires: gcc-c++ BuildRequires: bear-devel BuildRequires: docbook-utils @@ -27,10 +20,6 @@ BuildRequires: libpng-devel BuildRequires: gettext BuildRequires: cmake BuildRequires: chrpath -# Really only needs SDL2, remove once: -# https://github.com/j-jorge/plee-the-bear/issues/3 -# is fixed -BuildRequires: SDL_mixer-devel SDL-devel # Build is totally broken on ppc64 ExcludeArch: %{power64} @@ -39,11 +28,8 @@ Plee the Bear is a 2D platform game in the spirit of 1990s console games. %prep -%setup -q -n %{name}-%{version}-light -%autopatch -p0 - -# delete bundled bear version -rm -rf bear/ +%setup -q -n %{name}-%{version} +%autopatch -p1 %build # plee the bear uses some private libs which it builds as unversioned .so files @@ -127,8 +113,8 @@ EOF %postun -p /sbin/ldconfig %files -f %{name}.lang -%license plee-the-bear/LICENSE plee-the-bear/license/GPL plee-the-bear/license/CCPL -%doc plee-the-bear/README.md +%license LICENSE license/GPL license/CCPL +%doc README.md %{_bindir}/%{name} %{_libdir}/lib*.so %{_libexecdir}/%{name} @@ -141,6 +127,9 @@ EOF %changelog +* Tue Jul 10 2018 Tom Callaway - 0.7.1-1 +- update to 0.7.1 + * Fri Feb 09 2018 Fedora Release Engineering - 0.7.0-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild diff --git a/ptb-docbook2man.patch b/ptb-docbook2man.patch index 784415d..9b478c0 100644 --- a/ptb-docbook2man.patch +++ b/ptb-docbook2man.patch @@ -9,17 +9,6 @@ "Plee the Bear are not generated.") endif(DOCBOOK_TO_MAN_FOUND) endif( PTB_NO_MANPAGES ) ---- plee-the-bear/desktop/man/plee-the-bear.sgml.orig 2016-12-23 14:17:33.991730700 +0100 -+++ plee-the-bear/desktop/man/plee-the-bear.sgml 2016-12-23 14:20:45.845740272 +0100 -@@ -26,7 +26,7 @@ - 6"> - julien.jorge@gamned.org"> - -- PLEE-THE-BEAR"> -+ plee-the-bear"> - - - Debian"> --- plee-the-bear/desktop/man/plee-the-bear.sgml.orig 2017-01-17 17:13:12.611353775 +0100 +++ plee-the-bear/desktop/man/plee-the-bear.sgml 2017-01-17 17:14:35.580795056 +0100 @@ -1,18 +1,18 @@ diff --git a/sources b/sources index 4912f9c..f5ec3c0 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -d6f6b2c4c51021747398eaaff3b6031c plee-the-bear_0.7.0-light.tar.gz +SHA512 (0.7.1.tar.gz) = 27822864a395697f0e7e201c7b97bd061c632ece38e055dd124c944cace1abab391dcc5e02d8ae9f9a5119ab1e164093891e875a0d43d772119045b8b3555536