SHA256
1
0
forked from pool/jag

Compare commits

...

10 Commits

Author SHA256 Message Date
d51b07d3ad Accepting request 886089 from games
- Stop owning directories provided by the filesystem package (boo#1184786)

OBS-URL: https://build.opensuse.org/request/show/886089
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/jag?expand=0&rev=5
2021-04-16 22:02:19 +00:00
1fbdd01922 - Stop owning directories provided by the filesystem package (boo#1184786)
OBS-URL: https://build.opensuse.org/package/show/games/jag?expand=0&rev=27
2021-04-16 17:22:18 +00:00
b2063a603b Accepting request 832957 from games
- 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.

OBS-URL: https://build.opensuse.org/request/show/832957
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/jag?expand=0&rev=4
2020-09-08 20:51:01 +00:00
934450c4ec 0.3.8
OBS-URL: https://build.opensuse.org/package/show/games/jag?expand=0&rev=25
2020-09-08 10:59:23 +00:00
56d8ed5324 Accepting request 810255 from games
- Update to 0.3.7
  * Fixed integrated qmake support for pkg-config
  * jag-editor: Removing extra file after running the compiled binary.
- Update URL.

OBS-URL: https://build.opensuse.org/request/show/810255
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/jag?expand=0&rev=3
2020-06-02 12:36:36 +00:00
d1162abb6c OBS-URL: https://build.opensuse.org/package/show/games/jag?expand=0&rev=23 2020-05-29 16:23:15 +00:00
46cfc5235c Accepting request 790255 from games
- Update to 0.3.6
  * Project files cleanup
  * Renamed PNG image from editor.
  * Added manpage and desktop files

OBS-URL: https://build.opensuse.org/request/show/790255
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/jag?expand=0&rev=2
2020-04-01 17:10:12 +00:00
e2a2be5770 0.3.6
OBS-URL: https://build.opensuse.org/package/show/games/jag?expand=0&rev=21
2020-03-31 15:44:20 +00:00
3e5b525c67 Accepting request 789748 from games
Add jag back to factory

OBS-URL: https://build.opensuse.org/request/show/789748
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/jag?expand=0&rev=1
2020-03-30 21:05:09 +00:00
11115f0e03 Accepting request 754908 from home:cgiboudeaux:branches:games
- Add the missing xrandr build dependency.

OBS-URL: https://build.opensuse.org/request/show/754908
OBS-URL: https://build.opensuse.org/package/show/games/jag?expand=0&rev=19
2019-12-07 12:55:12 +00:00
6 changed files with 59 additions and 28 deletions

2
.gitattributes vendored
View File

@@ -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

View File

@@ -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
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:fc983629753cdb1b619eece7b89a0457950d574eb69bda95125c19dea76a2b22
size 2961977

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2a119ce90eb10998b13444345eb33c3531f81653a9c79fe2a5c3d68acd83530d
size 430080

View File

@@ -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>

View File

@@ -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