Репозиторий Sisyphus
Последнее обновление: 27 февраля 2020 | Пакетов: 17504 | Посещений: 17535610
en ru br
Репозитории ALT
S:0.8.2-alt1.qa3
5.1: 0.8.2-alt1
www.altlinux.org/Changes

Группа :: Игры/Аркады
Пакет: netpanzer

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Name: netpanzer
Version: 0.8.2
Release: alt1.qa3
Summary: An Online Multiplayer Tactical Warfare Game

Group: Games/Arcade
License: GPLv2+
Url: http://netpanzer.berlios.de
Packager: Ilya Mashkin <oddity at altlinux.ru>
Source0: http://download.berlios.de/netpanzer/netpanzer-%version.tar.bz2
Patch0: netpanzer-desktop.patch
Patch1: netpanzer-0.8.2-Pallette-memory.patch
Patch2: netpanzer-0.8.2-ColorTable-memory.patch
Patch3: netpanzer-0.8.2-Log-algorithm.patch
Patch4: netpanzer-0.8.2-MapSelectionView-memory.patch

BuildRequires: jam, libphysfs-devel, desktop-file-utils, doxygen, gcc, gcc-c++
BuildRequires: libSDL-devel >= 1.2.5, libSDL_mixer-devel >= 1.2, libSDL_image-devel >= 1.2
Obsoletes: netpanzer-data <= 0.8
Provides: netpanzer-data = %version-%release
Requires(post): coreutils
Requires(postun): coreutils

%description
netPanzer is an online multiplayer tactical warfare game designed for FAST
ACTION combat. Gameplay concentrates on the core -- no resource management is
needed. The game is based on quick tactical action and unit management in
real-time. Battles progress quickly and constantly as destroyed players respawn
with a set of new units. Players can join or leave multiplayer games at any
time.

%prep
%setup -q

# Strip \r from RELNOTES file

sed -i 's/\r//' RELNOTES

#Correct .desktop file

%patch0 -p0

%patch1 -p0
%patch2 -p0
%patch3 -p0
%patch4 -p0

%build
%add_optflags -fpermissive
%configure
jam %{?_smp_mflags}

%install
export DESTDIR=$RPM_BUILD_ROOT
jam install

# Install desktop item

rm -f $RPM_BUILD_ROOT%_datadir/applications/netpanzer.desktop
rm -f $RPM_BUILD_ROOT%_datadir/pixmaps/netpanzer.xpm

mkdir -p $RPM_BUILD_ROOT%_datadir/icons/hicolor/48x48/apps
mv $RPM_BUILD_ROOT%_datadir/pixmaps/netpanzer.png \
  $RPM_BUILD_ROOT%_datadir/icons/hicolor/48x48/apps

desktop-file-install --vendor fedora \
--dir $RPM_BUILD_ROOT%_datadir/applications \
--add-category X-Fedora \
netpanzer.desktop

%files
%doc ChangeLog COPYING README RELNOTES TODO docs/serverhowto.html docs/tipofday.txt
%_bindir/netpanzer
%_datadir/applications/fedora-netpanzer.desktop
%_datadir/icons/hicolor/48x48/apps/netpanzer.png
%_datadir/netpanzer

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin