From ebe7b5d8811c62c0560c87b2d7731c503acd3571 Mon Sep 17 00:00:00 2001 From: Pete Walter Date: Dec 28 2018 09:59:08 +0000 Subject: Update to 0.6.0 - Drop opengl-game-wrapper.sh use --- diff --git a/.gitignore b/.gitignore index d10994e..dd9eaf7 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,4 @@ supertux-0.3.3.tar.bz2 /SuperTux-v0.5.0-rc.4-Source.tar.gz /SuperTux-v0.5.0-Source.tar.gz /SuperTux-v0.5.1-Source.tar.gz +/SuperTux-v0.6.0-Source.tar.gz diff --git a/sources b/sources index f282854..432e72d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -b8b678362e3c5c9e366fb1fb3550a2e0 SuperTux-v0.5.1-Source.tar.gz +SHA512 (SuperTux-v0.6.0-Source.tar.gz) = 7e313f1af1131e83ec658fee12803542d59075fa94a0a79a9182382335dc1b10a9f75092562555acf875dd03b15b336b40772fb8cdd81a82fa5802deb51b610b diff --git a/supertux-0.4.0-desktop.patch b/supertux-0.4.0-desktop.patch deleted file mode 100644 index 536dd68..0000000 --- a/supertux-0.4.0-desktop.patch +++ /dev/null @@ -1,14 +0,0 @@ -diff -urN supertux-0.4.0.old/supertux2.desktop supertux-0.4.0/supertux2.desktop ---- supertux-0.4.0.old/supertux2.desktop 2013-07-09 00:03:39.000000000 +0100 -+++ supertux-0.4.0/supertux2.desktop 2014-11-11 08:52:37.179130299 +0000 -@@ -36,8 +35,8 @@ - Comment[pt]=Joga este clássico de plataformas 2D - Comment[pt_BR]=Encarne o pinguin Tux neste jogo inspirado em clássicos de Pular&Correr - Comment[hu]=Egy klasszikus 2D-s oldalnézeti játék --Icon=supertux.png --Exec=supertux2 -+Icon=supertux -+Exec=supertux2-wrapper - Terminal=false - StartupNotify=false - Categories=Game;ArcadeGame; diff --git a/supertux.spec b/supertux.spec index c259082..c8a355a 100644 --- a/supertux.spec +++ b/supertux.spec @@ -1,15 +1,14 @@ %global _tarname SuperTux-v%{version}-Source Name: supertux -Version: 0.5.1 -Release: 13%{?dist} +Version: 0.6.0 +Release: 1%{?dist} Summary: Jump'n run like game Group: Amusements/Games License: GPLv2+ URL: http://supertux.lethargik.org/ Source0: https://github.com/SuperTux/%{name}/releases/download/v%{version}/%{_tarname}.tar.gz -Patch0: supertux-0.4.0-desktop.patch # tinygettext fails to build on ppc64le. # https://bugzilla.redhat.com/show_bug.cgi?id=1299151 @@ -19,19 +18,21 @@ BuildRequires: pkgconfig(sdl2) >= 2.0.1 BuildRequires: pkgconfig(SDL2_image) >= 2.0.0 BuildRequires: zlib-devel BuildRequires: desktop-file-utils +BuildRequires: freetype-devel BuildRequires: libGLU-devel BuildRequires: openal-devel BuildRequires: libvorbis-devel BuildRequires: glew-devel BuildRequires: boost-devel BuildRequires: libcurl-devel +BuildRequires: libpng-devel BuildRequires: gettext BuildRequires: flex BuildRequires: bison BuildRequires: cmake BuildRequires: sed BuildRequires: /usr/bin/appstream-util -Requires: opengl-games-utils hicolor-icon-theme +Requires: hicolor-icon-theme # Bundled and forked physfs. Provides: bundled(physfs) = 2.1.0.20160502git @@ -48,7 +49,6 @@ Grabbing power-ups and other stuff on the way. %prep %setup -qn %{_tarname} -%patch0 -p1 -b .desktop %build @@ -61,7 +61,6 @@ make VERBOSE=1 %{?_smp_mflags} %install make install DESTDIR=%{buildroot} rm -r %{buildroot}/usr/share/doc/supertux2 -ln -snf opengl-game-wrapper.sh %{buildroot}%{_bindir}/supertux2-wrapper # Desktop file and icon stuff desktop-file-install --vendor "" \ @@ -69,29 +68,34 @@ desktop-file-install --vendor "" \ %{buildroot}%{_datadir}/applications/supertux2.desktop mkdir -p %{buildroot}%{_datadir}/icons/hicolor/48x48/apps mv %{buildroot}%{_datadir}/pixmaps/supertux.png \ - %{buildroot}%{_datadir}/icons/hicolor/48x48/apps + %{buildroot}%{_datadir}/icons/hicolor/48x48/apps/supertux2.png rm %{buildroot}%{_datadir}/pixmaps/supertux.xpm install -Dpm 644 man/man6/supertux2.6 %{buildroot}%{_mandir}/man6/supertux2.6 %check -appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/appdata/supertux2.appdata.xml +appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/metainfo/supertux2.appdata.xml desktop-file-validate %{buildroot}%{_datadir}/applications/supertux2.desktop %files %doc README.md NEWS.md %license LICENSE.txt -%{_bindir}/supertux2* +%{_bindir}/supertux2 %{_datadir}/supertux2 -%{_datadir}/appdata/supertux2.appdata.xml %{_datadir}/applications/supertux2.desktop -%{_datadir}/icons/hicolor/48x48/apps/supertux.png +%{_datadir}/icons/hicolor/48x48/apps/supertux2.png +%{_datadir}/icons/hicolor/scalable/apps/supertux2.svg +%{_datadir}/metainfo/supertux2.appdata.xml %{_mandir}/man6/supertux2.6* %changelog +* Fri Dec 28 2018 Pete Walter - 0.6.0-1 +- Update to 0.6.0 +- Drop opengl-game-wrapper.sh use + * Thu Aug 23 2018 Nicolas Chauvet - 0.5.1-13 - Rebuilt for glew 2.1.0