Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37042135
en ru br
ALT Linux repos
S:0.1.1-alt3_20

Group :: Games/Other
RPM: ninvaders

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Group: Games/Other
# see https://bugzilla.altlinux.org/show_bug.cgi?id=10382
%define _localstatedir %{_var}
Name:           ninvaders
Version:        0.1.1
Release:        alt3_20
Summary:        Space Invaders clone written in ncurses for cli gaming
License:        GPLv2+
URL:            http://ninvaders.sourceforge.net/
Source0:        http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
Patch0:         ninvaders-0.1.1-fedora.patch
BuildRequires:  gcc
BuildRequires:  libncurses++-devel libncurses-devel libncursesw-devel libtic-devel libtinfo-devel
Source44: import.info

%description
Ever wanted to place space invaders when you can't find a GUI? Now you can!
ninvaders is a ncurses based space invaders clone to play from the command
line.

%prep
%setup -q
%patch0 -p0
iconv -f iso-8859-1 -t utf8 ChangeLog > ChangeLog.new && \
touch -r ChangeLog ChangeLog.new && mv ChangeLog.new ChangeLog
sed -i 's|-lncurses|-lncurses -Wl,--allow-multiple-definition|' Makefile

%build
%make_build

%install
install -Dp -m0755 nInvaders %{buildroot}%{_bindir}/nInvaders

%files
%doc ChangeLog README gpl.txt
%{_bindir}/nInvaders

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin