Accepting request 262869 from home:nemysis
Please accept this new RPM. OBS-URL: https://build.opensuse.org/request/show/262869 OBS-URL: https://build.opensuse.org/package/show/games/xgalaga-sdl?expand=0&rev=1
This commit is contained in:
commit
b795f6ee31
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
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
3
xgalaga-sdl-2.1.1.0-sdl.tar.bz2
Normal file
3
xgalaga-sdl-2.1.1.0-sdl.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:2bcafea534bc1901b736001e811dcbc1bc2d719de375ac4ebd609e55e14136bc
|
||||
size 464114
|
5
xgalaga-sdl.changes
Normal file
5
xgalaga-sdl.changes
Normal file
@ -0,0 +1,5 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 24 15:53:18 UTC 2014 - nemysis@gmx.ch
|
||||
|
||||
- Initial package creation
|
||||
|
9
xgalaga-sdl.desktop
Normal file
9
xgalaga-sdl.desktop
Normal file
@ -0,0 +1,9 @@
|
||||
[Desktop Entry]
|
||||
Name=XGalaga-SDL
|
||||
GenericName=Galaga
|
||||
Comment=Classic single screen vertical shoot em up SDL
|
||||
Icon=xgalaga-sdl
|
||||
Exec=xgalaga-sdl
|
||||
Type=Application
|
||||
Categories=Game;ActionGame;ArcadeGame;
|
||||
StartupNotify=false
|
3
xgalaga-sdl.png
Normal file
3
xgalaga-sdl.png
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:cc14035e06fafc78057db52376fe2f809fd8da3f946f7bdccfe4fd5b431c6287
|
||||
size 3232
|
84
xgalaga-sdl.spec
Normal file
84
xgalaga-sdl.spec
Normal file
@ -0,0 +1,84 @@
|
||||
#
|
||||
# spec file for package xgalaga-sdl
|
||||
#
|
||||
# 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: xgalaga-sdl
|
||||
Version: 2.1.1.0
|
||||
Release: 0
|
||||
Summary: Classic single screen vertical shoot em up SDL
|
||||
License: GPL-2.0
|
||||
Group: Amusements/Games/Action/Arcade/Shoot
|
||||
Url: http://sourceforge.net/projects/xgalaga-sdl/
|
||||
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}-sdl.tar.bz2
|
||||
Source1: %{name}.desktop
|
||||
Source2: %{name}.png
|
||||
%if 0%{?suse_version}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: update-desktop-files
|
||||
%endif
|
||||
BuildRequires: liberation-fonts
|
||||
BuildRequires: pkgconfig(SDL_gfx)
|
||||
BuildRequires: pkgconfig(SDL_image)
|
||||
BuildRequires: pkgconfig(SDL_mixer)
|
||||
BuildRequires: pkgconfig(SDL_ttf)
|
||||
BuildRequires: pkgconfig(sdl)
|
||||
|
||||
%description
|
||||
XGalaga-SDL is a port of the popular X11 game XGalaga,
|
||||
a clone of Galaga, using the SDL library.
|
||||
XGalaga was originally written by Joe Rumsey.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{version}-sdl
|
||||
|
||||
# Remove not needed files
|
||||
sed -i -e 's|CREDITS||' \
|
||||
-i -e 's|fonts/copyright||' Makefile.in
|
||||
|
||||
%build
|
||||
|
||||
%configure --datadir=%{_datadir}/%{name}
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
%make_install
|
||||
|
||||
# install icon
|
||||
install -Dm 0644 %{S:2} %{buildroot}/%{_datadir}/icons/hicolor/48x48/apps/%{name}.png
|
||||
|
||||
# install Desktop file
|
||||
install -Dm 0644 %{S:1} %{buildroot}%{_datadir}/applications/%{name}.desktop
|
||||
|
||||
# Use system fonts instead of bundling our own
|
||||
rm -f %{buildroot}%{_datadir}/%{name}/fonts/LiberationMono-Bold.ttf
|
||||
ln -s ../../fonts/truetype/LiberationMono-Bold.ttf %{buildroot}%{_datadir}/%{name}/fonts/LiberationMono-Bold.ttf
|
||||
|
||||
%if 0%{?suse_version}
|
||||
%suse_update_desktop_file %{name}
|
||||
%fdupes -s %{buildroot}%{_prefix}
|
||||
%endif
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc COPYING CREDITS README
|
||||
%{_bindir}/%{name}
|
||||
%{_mandir}/man6/%{name}.6x%{ext_man}
|
||||
%{_datadir}/applications/%{name}.desktop
|
||||
%{_datadir}/icons/hicolor/
|
||||
%{_datadir}/%{name}
|
||||
|
||||
%changelog
|
Loading…
x
Reference in New Issue
Block a user