Репозитории ALT
Последнее обновление в Чт, 06 мая 2021, 01:37:50 +0000 | Пакетов: 11695
en ru
Исходные пакеты в ветвях
свернуть окно
Группа :: Игры/Стратегии
Исходный пакет: lgeneral
Необработанный spec-файл

%define beta beta-13
#define unpack tar

Name: lgeneral
Summary: Turn-based strategy inspired by Panzer General
Version: 1.2
Release: alt5
License: GPL
Group: Games/Strategy
URL: http://lgames.sf.net
Packager: Mikhail Pokidko <pma at altlinux.org>
Source: %name-%version%beta.tar.gz
Source2: %name.NOTES.ALT
Source3: scenarios.tar.bz2
Source4: nicolas.zip
Source5: newcampaign.zip
Source6: APP-6A.zip
Patch0: %name.patch
Patch1: %name.build.patch

Obsoletes: pg-data

# Automatically added by buildreq on Wed Aug 29 2007

BuildRequires: libSDL-devel libSDL_mixer-devel unzip

%description
LGeneral is a turn-based strategy engine heavily inspired by Panzer General.
Original data files can be downloaed from http://lgames.sourceforge.net/index.php?project=LGeneral

%prep
%setup -q -n %name-%version%beta
%patch0 -p2
%patch1 -p1

%build
%configure


make

%install
mkdir -p %buildroot%_datadir/games/%name/pg-data
make install DESTDIR="%buildroot"
tar xvfj %SOURCE3
mv scenarios/* %buildroot%_datadir/games/%name/scenarios/
unzip %SOURCE4
cp -pr nicolas/* %buildroot%_datadir/games/%name/
unzip %SOURCE5
cp -pr NewCampaign/* %buildroot%_datadir/games/%name/
unzip %SOURCE6 -d APP
cp -pr APP/* %buildroot%_datadir/games/%name/
#cp -pr APP/sounds/* %buildroot%_datadir/games/%name/

#cp -pr APP/units/* %buildroot%_datadir/games/%name/



cp %SOURCE2 %buildroot%_datadir/games/%name/NOTES.ALT

#post

#/usr/bin/lgc-pg -s /usr/share/games/lgeneral/pg-data -d /usr/share/games/lgeneral


%files
#attr(0755,-,-)

%_bindir/*
%_datadir/games/%name/*
%_datadir/locale/de/*
%_datadir/locale/en/*
%_man1dir/lgc-pg.*
%_man6dir/lgeneral.*


%changelog
* Wed Dec 10 2008 Mikhail Pokidko <pma at altlinux.org> 1.2-alt5
- fixed build for x86_64

* Wed Dec 10 2008 Mikhail Pokidko <pma at altlinux.org> 1.2-alt4
- fixed NATO mod path

* Wed Dec 10 2008 Mikhail Pokidko <pma at altlinux.org> 1.2-alt3
- beta13 version.
+ Added NATO mod.

* Tue Aug 28 2007 Pokidko Mikhail <pma at altlinux.org> 1.2-alt2
- Additional scenarios and 2 campains packed.
Original data files can be downloaed from http://lgames.sourceforge.net/index.php?project=LGeneral

* Tue Mar 13 2007 Mikhail Pokidko <pma at altlinux.ru> 1.2-alt1
- initial ALT build

 
Проект Geyser основан на коде из проекта Prometheus 2.0, который был доступен по лицензии MIT