commit 390d06f062b06ef17a619a211c3b0189326b5fc5
Author: Alexandre Detiste <alexandre.detiste(a)gmail.com>
Date: Tue Oct 18 23:16:48 2016 +0200
new upstream release
.gitignore | 1 +
game-data-packager.spec | 41 +++++++++++++++++++++++++++++++----------
sources | 2 +-
3 files changed, 33 insertions(+), 11 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 0bc2a12..0466510 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/game-data-packager_45.tar.xz
+/game-data-packager_46.tar.xz
diff --git a/game-data-packager.spec b/game-data-packager.spec
index a72feae..c953e34 100644
--- a/game-data-packager.spec
+++ b/game-data-packager.spec
@@ -7,8 +7,8 @@
%endif
Name: game-data-packager
-Version: 45
-Release: 2%{?gver}%{?dist}
+Version: 46
+Release: 1%{?gver}%{?dist}
Summary: Installer for game data files
License: GPLv2 and GPLv2+
Url:
https://wiki.debian.org/Games/GameDataPackager
@@ -25,6 +25,8 @@ BuildRequires: python3
BuildRequires: python3-PyYAML
BuildRequires: python3-pyflakes
BuildRequires: zip
+# just for one test
+BuildRequires: lha
Requires: python3-PyYAML
# download
Recommends: lgogdownloader
@@ -56,16 +58,16 @@ data which cannot be distributed (such as commercial game data).
Summary: "Master Levels for Doom II" launcher
Requires: python3-gobject-base
Requires: gobject-introspection
+Provides: game-data-packager-runtime
%description -n doom2-masterlevels
This GUI let you select a WAD to play &
show it's description.
%prep
%autosetup
-rm data/*.svg -v
-sed -i '/out\/memento-mori.png/d' Makefile
-sed -i 's|out/memento-mori-2.svg||g' Makefile
-sed -i '/install -m0644 out\/\*.svgz/d' Makefile
+# id-shr-extract is not packaged
+sed -i '/wolf3d/d' tests/integration.py
+
%build
make %{?_smp_mflags}
@@ -74,13 +76,29 @@ make %{?_smp_mflags}
make check
%install
-make DESTDIR=$RPM_BUILD_ROOT bindir=/usr/bin datadir=/usr/share install
-find $RPM_BUILD_ROOT/usr/share/game-data-packager/game_data_packager -name '*.py'
-exec chmod 755 {} \;
+make DESTDIR=$RPM_BUILD_ROOT install
+find $RPM_BUILD_ROOT/usr/share/games/game-data-packager/game_data_packager -name
'*.py' -exec chmod 755 {} \;
#E: python-bytecode-inconsistent-mtime
-python3 -m compileall
$RPM_BUILD_ROOT/usr/share/game-data-packager/game_data_packager/version.py
+python3 -m compileall
$RPM_BUILD_ROOT/usr/share/games/game-data-packager/game_data_packager/version.py
find $RPM_BUILD_ROOT/etc/game-data-packager -empty -exec sh -c "echo '# we need
more mirrors' > {}" \;
rm -rvf $RPM_BUILD_ROOT/etc/apparmor.d
+# why does these end there ???
+# also configure.mk got wrong contents
+mv $RPM_BUILD_ROOT/usr/games $RPM_BUILD_ROOT/usr/bin
+
+# throw away src:quake stuff for now
+rm -v $RPM_BUILD_ROOT/usr/bin/etqw*
+rm -v $RPM_BUILD_ROOT/usr/bin/quake*
+rm -vr $RPM_BUILD_ROOT/usr/lib
+rm -v $RPM_BUILD_ROOT/usr/share/applications/etqw.desktop
+rm -v $RPM_BUILD_ROOT/usr/share/applications/quake*.desktop
+rm -rv $RPM_BUILD_ROOT/usr/share/games/game-data-packager-runtime/
+rm -rv $RPM_BUILD_ROOT/usr/share/games/quake*
+rm -rv $RPM_BUILD_ROOT/usr/share/icons
+rm -v $RPM_BUILD_ROOT/usr/share/man/man6/etqw*.6
+rm -v $RPM_BUILD_ROOT/usr/share/man/man6/quake*.6
+
%files
%doc doc/adding_a_game.mdwn
%{_mandir}/man6/game-data-packager.*
@@ -89,7 +107,7 @@ rm -rvf $RPM_BUILD_ROOT/etc/apparmor.d
%config(noreplace) %attr(644, root, root) /etc/game-data-packager/*
/usr/bin/game-data-packager
/usr/share/bash-completion/completions/game-data-packager
-/usr/share/game-data-packager
+/usr/share/games/game-data-packager
%license COPYING
%files -n doom2-masterlevels
@@ -100,6 +118,9 @@ rm -rvf $RPM_BUILD_ROOT/etc/apparmor.d
%license COPYING
%changelog
+* Tue Oct 18 2016 Alexandre Detiste <alexandre.detiste(a)gmail.com> - 46-1
+- new upstream release
+
* Sat Jul 23 2016 Alexandre Detiste <alexandre.detiste(a)gmail.com> - 45-2
- Inkscape is currently uninstallable, temporary strip out .svg from build
diff --git a/sources b/sources
index 4a5def2..0cfdec3 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-c6d3d37c99e8f012426b3d53041d24ca game-data-packager_45.tar.xz
+9249c68d9aedf9366b6cc9ea5292bf1f game-data-packager_46.tar.xz