Group :: Games/Arcade
RPM: sdl_sopwith
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
%define __name sopwith
%define _name sdl-%__name
Name: sdl_%__name
Version: 2.3.0
Release: alt1
Summary: Classic scrolling shoot'em
License: GPLv2+
Group: Games/Arcade
Url: https://github.com/fragglet/sdl-sopwith
Vcs: https://github.com/fragglet/sdl-sopwith.git
Source: %url/releases/download/%_name-%version/%_name-%version.tar.gz
Source1: sopwith.png
Source2: sopwith.desktop
BuildRequires: libSDL2-devel >= 2.0.7 /usr/bin/convert
%description
This is a port of the classic computer game "Sopwith".
%prep
%setup -n %_name-%version
%build
export orig_CFLAGS="%(getconf LFS_CFLAGS)"
%autoreconf
%configure
%make_build
%install
%makeinstall_std
install -pD -m644 icon.png %buildroot%_pixmapsdir/%__name.png
install -pD -m644 %SOURCE2 %buildroot%_desktopdir/%__name.desktop
%files
%_bindir/%__name
%_man5dir/%__name.cfg.*
%_man6dir/%__name.*
%_pixmapsdir/%__name.png
%_desktopdir/%__name.desktop
%doc NEWS* README* doc/origdoc.txt
%exclude %_docdir/%_name
%changelog
…
Full changelog you can see here
%define _name sdl-%__name
Name: sdl_%__name
Version: 2.3.0
Release: alt1
Summary: Classic scrolling shoot'em
License: GPLv2+
Group: Games/Arcade
Url: https://github.com/fragglet/sdl-sopwith
Vcs: https://github.com/fragglet/sdl-sopwith.git
Source: %url/releases/download/%_name-%version/%_name-%version.tar.gz
Source1: sopwith.png
Source2: sopwith.desktop
BuildRequires: libSDL2-devel >= 2.0.7 /usr/bin/convert
%description
This is a port of the classic computer game "Sopwith".
%prep
%setup -n %_name-%version
%build
export orig_CFLAGS="%(getconf LFS_CFLAGS)"
%autoreconf
%configure
%make_build
%install
%makeinstall_std
install -pD -m644 icon.png %buildroot%_pixmapsdir/%__name.png
install -pD -m644 %SOURCE2 %buildroot%_desktopdir/%__name.desktop
%files
%_bindir/%__name
%_man5dir/%__name.cfg.*
%_man6dir/%__name.*
%_pixmapsdir/%__name.png
%_desktopdir/%__name.desktop
%doc NEWS* README* doc/origdoc.txt
%exclude %_docdir/%_name
%changelog
…
Full changelog you can see here