Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37569173
en ru br
ALT Linux repos
S:1.1-alt1_11

Group :: Games/Other
RPM: avoision

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

# BEGIN SourceDeps(oneline):
BuildRequires: /usr/bin/desktop-file-install
# END SourceDeps(oneline)
# see https://bugzilla.altlinux.org/show_bug.cgi?id=10382
%define _localstatedir %{_var}
Name: avoision
Version: 1.1
Release: alt1_11
Summary: Arcade style game of evade and capture
Group: Games/Other
# Code is GPLv2+, music and graphics are CC-BY-SA
License: GPLv2+ and CC-BY-SA
URL: http://avsn.sourceforge.net/
Source0: http://downloads.sourceforge.net/project/avsn/%{name}-%{version}.tar.gz
Source1: %{name}.png
Source2: %{name}.desktop
BuildRequires: radius-engine-devel >= 1.1, desktop-file-utils, zip
Source44: import.info

%description
Avoision is a straightforward, yet captivating distillation of vintage arcade
entertainment requiring strategy, precision, and perseverance with a singular
objective: capture the red square while evading innumerable cruel, spiteful
white squares.

%prep
%setup -q
chmod -x License.txt ChangeLog *.c

%build
%configure
%make_build

%install
make install DESTDIR=%{buildroot}
mkdir -p %{buildroot}%{_datadir}/pixmaps/
install -m 0644 %{SOURCE1} %{buildroot}%{_datadir}/pixmaps/

mkdir -p %{buildroot}%{_datadir}/applications
desktop-file-install --dir %{buildroot}%{_datadir}/applications %{SOURCE2}

%files
%doc License.txt ChangeLog
%{_bindir}/%{name}
%{_datadir}/%{name}/
%{_datadir}/applications/*.desktop
%{_datadir}/pixmaps/%{name}.png

%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