Группа :: Игры/Прочее
Пакет: avoision
Главная Изменения Спек Патчи Sources Загрузить 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
…
Полный changelog можно просмотреть здесь
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
…
Полный changelog можно просмотреть здесь