Accepting request 261865 from home:nemysis
Please accept this new RPM. OBS-URL: https://build.opensuse.org/request/show/261865 OBS-URL: https://build.opensuse.org/package/show/games/pongix?expand=0&rev=1
This commit is contained in:
commit
ef8b4458c1
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
3
pongix-0.4.tar.gz
Normal file
3
pongix-0.4.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:b72060ded5446f60e187aff1a35eb727484a3b2f798134dc920a16c75b09175e
|
||||||
|
size 207490
|
10
pongix.changes
Normal file
10
pongix.changes
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Nov 16 00:24:47 UTC 2014 - nemysis@gmx.ch
|
||||||
|
|
||||||
|
- Add pongix.changes, forgotten in previous commit
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Nov 16 00:22:58 UTC 2014 - nemysis@gmx.ch
|
||||||
|
|
||||||
|
- Initial package creation
|
||||||
|
|
9
pongix.desktop
Normal file
9
pongix.desktop
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
[Desktop Entry]
|
||||||
|
Name=Pongix
|
||||||
|
GenericName=Pong
|
||||||
|
Comment=Free Pong-like game
|
||||||
|
Icon=pongix
|
||||||
|
Exec=pongix
|
||||||
|
Type=Application
|
||||||
|
Categories=Game;ArcadeGame;LogicGame;
|
||||||
|
StartupNotify=false
|
3
pongix.png
Normal file
3
pongix.png
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:7ac78d4bd0083e22275c26d6433c26e5bd5f798898721bb4e32fa785d183b0c1
|
||||||
|
size 2387
|
78
pongix.spec
Normal file
78
pongix.spec
Normal file
@ -0,0 +1,78 @@
|
|||||||
|
#
|
||||||
|
# spec file for package pongix
|
||||||
|
#
|
||||||
|
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
|
#
|
||||||
|
# All modifications and additions to the file contributed by third parties
|
||||||
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
|
# upon. The license for this file, and modifications and additions to the
|
||||||
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
|
# license for the pristine package is not an Open Source License, in which
|
||||||
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
Name: pongix
|
||||||
|
Version: 0.4
|
||||||
|
Release: 0
|
||||||
|
Summary: Free Pong-like game
|
||||||
|
License: GPL-2.0
|
||||||
|
Group: Amusements/Games/Arcade/Logic
|
||||||
|
Url: http://www.losersjuegos.com.ar/juegos/pongix
|
||||||
|
# Not exist good SourceUrl link
|
||||||
|
Source0: %{name}-%{version}.tar.gz
|
||||||
|
Source1: %{name}.desktop
|
||||||
|
Source2: %{name}.png
|
||||||
|
%if 0%{?suse_version}
|
||||||
|
BuildRequires: fdupes
|
||||||
|
BuildRequires: update-desktop-files
|
||||||
|
%endif
|
||||||
|
BuildRequires: pkgconfig(SDL_image)
|
||||||
|
BuildRequires: pkgconfig(SDL_net)
|
||||||
|
BuildRequires: pkgconfig(sdl)
|
||||||
|
|
||||||
|
%description
|
||||||
|
Pongix is a free game based on the classical Pong game with
|
||||||
|
support for net game.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q
|
||||||
|
|
||||||
|
# Fix int to main
|
||||||
|
sed -i 's|int paleta_|void paleta_|' src/paleta.c
|
||||||
|
|
||||||
|
# Correct bad code, add -lm
|
||||||
|
sed -i 's|-lSDL $LIBS|-lSDL $LIBS -lm|' configure
|
||||||
|
|
||||||
|
%build
|
||||||
|
|
||||||
|
%configure
|
||||||
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
|
%install
|
||||||
|
%make_install
|
||||||
|
|
||||||
|
# install icon
|
||||||
|
install -Dm 0644 %{S:2} %{buildroot}%{_datadir}/pixmaps/%{name}.png
|
||||||
|
|
||||||
|
# install Desktop file
|
||||||
|
install -Dm 0644 %{S:1} %{buildroot}%{_datadir}/applications/%{name}.desktop
|
||||||
|
|
||||||
|
%if 0%{?suse_version}
|
||||||
|
%suse_update_desktop_file %{name}
|
||||||
|
%fdupes -s %{buildroot}%{_prefix}
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%doc AUTHORS COPYING README
|
||||||
|
%attr(0755,root,games) %{_bindir}/%{name}
|
||||||
|
%{_datadir}/applications/%{name}.desktop
|
||||||
|
%{_datadir}/pixmaps/%{name}.png
|
||||||
|
%{_datadir}/%{name}
|
||||||
|
|
||||||
|
%changelog
|
Loading…
Reference in New Issue
Block a user