Compare commits
10 Commits
b944b96a02
...
d51b07d3ad
Author | SHA256 | Date | |
---|---|---|---|
d51b07d3ad | |||
1fbdd01922 | |||
b2063a603b | |||
934450c4ec | |||
56d8ed5324 | |||
d1162abb6c | |||
46cfc5235c | |||
e2a2be5770 | |||
3e5b525c67 | |||
11115f0e03 |
2
.gitattributes
vendored
2
.gitattributes
vendored
@@ -21,5 +21,3 @@
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
||||
## Specific LFS patterns
|
||||
jag-icons.tar filter=lfs diff=lfs merge=lfs -text
|
||||
|
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:2a24f56c6fc22654ca8d14599dcf719c6daea4903d2dfd7d303c35971407f49e
|
||||
size 6919644
|
3
jag-0.3.8.tar.bz2
Normal file
3
jag-0.3.8.tar.bz2
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:fc983629753cdb1b619eece7b89a0457950d574eb69bda95125c19dea76a2b22
|
||||
size 2961977
|
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:2a119ce90eb10998b13444345eb33c3531f81653a9c79fe2a5c3d68acd83530d
|
||||
size 430080
|
39
jag.changes
39
jag.changes
@@ -1,3 +1,42 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 16 17:21:50 UTC 2021 - Christophe Giboudeaux <christophe@krop.fr>
|
||||
|
||||
- Stop owning directories provided by the filesystem package (boo#1184786)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 8 10:39:17 UTC 2020 - Christophe Giboudeaux <christophe@krop.fr>
|
||||
|
||||
- Update to 0.3.8
|
||||
* Warning and deprecated functions fixed in GCC.
|
||||
* game.pro: Changed to '-std=gnu++17' review.
|
||||
* src/editor/jag-editor.pro: Changed to '-std=gnu++17' review.
|
||||
* All themes have been removed, except the default theme for reasons that
|
||||
are "freeware", but with additional Fasticon restrictions.
|
||||
* Game configuration path changed.
|
||||
* Changed the position of the XCloseDisplay line.
|
||||
* About: Added contributor nickname.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri May 29 16:17:10 UTC 2020 - Christophe Giboudeaux <christophe@krop.fr>
|
||||
|
||||
- Update to 0.3.7
|
||||
* Fixed integrated qmake support for pkg-config
|
||||
* jag-editor: Removing extra file after running the compiled binary.
|
||||
- Update URL.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 31 13:05:23 UTC 2020 - Christophe Giboudeaux <christophe@krop.fr>
|
||||
|
||||
- Update to 0.3.6
|
||||
* Project files cleanup
|
||||
* Renamed PNG image from editor.
|
||||
* Added manpage and desktop files
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Dec 7 11:08:41 UTC 2019 - Christophe Giboudeaux <christophe@krop.fr>
|
||||
|
||||
- Add the missing xrandr build dependency.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri May 3 21:08:59 UTC 2019 - Christophe Giboudeaux <christophe@krop.fr>
|
||||
|
||||
|
37
jag.spec
37
jag.spec
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package jag
|
||||
#
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -17,15 +17,14 @@
|
||||
|
||||
|
||||
Name: jag
|
||||
Version: 0.3.5
|
||||
Version: 0.3.8
|
||||
Release: 0
|
||||
Summary: Arcade and Puzzle 2D Game in which you have to break all the target pieces
|
||||
# jag.xlabsoft.com is down
|
||||
License: GPL-3.0-or-later
|
||||
Group: Amusements/Games/Logic
|
||||
# jag.xlabsoft.com is down
|
||||
URL: https://salsa.debian.org/games-team/jag
|
||||
Source0: https://salsa.debian.org/games-team/jag/-/archive/%{version}/%{name}-%{version}.tar.bz2
|
||||
Source1: %{name}-icons.tar
|
||||
URL: https://gitlab.com/coringao/jag
|
||||
Source0: https://gitlab.com/coringao/jag/-/archive/%{version}/%{name}-%{version}.tar.bz2
|
||||
Source2: %{name}.appdata.xml
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: hicolor-icon-theme
|
||||
@@ -38,6 +37,7 @@ BuildRequires: pkgconfig(Qt5X11Extras)
|
||||
BuildRequires: pkgconfig(Qt5Xml)
|
||||
BuildRequires: pkgconfig(SDL2_mixer)
|
||||
BuildRequires: pkgconfig(sdl2)
|
||||
BuildRequires: pkgconfig(xrandr)
|
||||
Requires: %{name}-data
|
||||
%if 0%{?suse_version}
|
||||
BuildRequires: update-desktop-files
|
||||
@@ -77,11 +77,11 @@ have beaten the last level and won the game.
|
||||
This package contains the level editor for JAG.
|
||||
|
||||
%prep
|
||||
%setup -q -a1
|
||||
%setup -q
|
||||
|
||||
# qmake...
|
||||
sed -i 's#target.path = %{_prefix}/games/#target.path = %{_bindir}#' game.pro
|
||||
sed -i 's#target.path = %{_prefix}/games/#target.path = %{_bindir}#' src/editor/editor.pro
|
||||
sed -i 's#target.path = %{_prefix}/games/#target.path = %{_bindir}#' src/editor/jag-editor.pro
|
||||
|
||||
%build
|
||||
%qmake5
|
||||
@@ -100,28 +100,25 @@ pushd src/editor
|
||||
%qmake5_install
|
||||
popd
|
||||
|
||||
# install icons
|
||||
for i in 22 32 48 64 72 96 128 256 ; do
|
||||
install -Dm 0644 icons/%{name}_${i}x${i}.png %{buildroot}%{_datadir}/icons/hicolor/${i}x${i}/apps/%{name}.png
|
||||
install -Dm 0644 icons/%{name}-editor_${i}x${i}.png %{buildroot}%{_datadir}/icons/hicolor/${i}x${i}/apps/%{name}-editor.png
|
||||
done
|
||||
|
||||
# install Desktop files
|
||||
install -Dm 0644 debian/%{name}.desktop %{buildroot}%{_datadir}/applications/%{name}.desktop
|
||||
# Install the desktop files
|
||||
install -Dm 0644 src/jag.desktop %{buildroot}%{_datadir}/applications/%{name}.desktop
|
||||
|
||||
%suse_update_desktop_file -c %{name}-editor "JAG Level Editor" JAG jag-editor jag-editor "Game;LogicGame;"
|
||||
|
||||
# install software gallery metadata
|
||||
# Install icons for applications menus
|
||||
install -Dm 0644 src/images/jag.png %{buildroot}%{_datadir}/pixmaps/jag.png
|
||||
install -Dm 0644 src/editor/jag-editor.png %{buildroot}%{_datadir}/pixmaps/jag-editor.png
|
||||
|
||||
# Install software gallery metadata
|
||||
install -Dm 0644 %{SOURCE2} %{buildroot}%{_datadir}/appdata/%{name}.appdata.xml
|
||||
|
||||
%files
|
||||
%license LICENSE
|
||||
%doc CHANGELOG README.md
|
||||
%dir %{_datadir}/appdata/
|
||||
%{_bindir}/%{name}
|
||||
%{_datadir}/appdata/%{name}.appdata.xml
|
||||
%{_datadir}/applications/%{name}.desktop
|
||||
%{_datadir}/icons/hicolor/*/apps/%{name}.png
|
||||
%{_datadir}/pixmaps/jag.png
|
||||
|
||||
%files data
|
||||
%license LICENSE
|
||||
@@ -134,6 +131,6 @@ install -Dm 0644 %{SOURCE2} %{buildroot}%{_datadir}/appdata/%{name}.appdata.xml
|
||||
%{_bindir}/jag-editor
|
||||
%{_datadir}/applications/jag-editor.desktop
|
||||
%{_datadir}/games/%{name}/editor/
|
||||
%{_datadir}/icons/hicolor/*/apps/%{name}-editor.png
|
||||
%{_datadir}/pixmaps/jag-editor.png
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user