Репозиторий Sisyphus
Последнее обновление: 15 сентября 2019 | Пакетов: 17432 | Посещений: 15101564
en ru br
Репозитории ALT
S:0.7.6-alt2.1
5.1: 0.7.2-alt3
4.1: 0.7.2-alt1
4.0: 0.7.0-alt0.1cvs20060721
3.0: 0.6.0-alt6
www.altlinux.org/Changes

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

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

%define snapshot_date 20060721
%define srcname %name-%version

Name: pingus
Version: 0.7.0
Release: alt0.1cvs%snapshot_date


Summary: A free Lemmings clone
Summary(ru_RU.KOI8-R): Свободный клон Lemmings
License: GPL
Group: Games/Arcade
Url: http://pingus.seul.org
Packager: Ilya Mashkin <oddity at altlinux.ru>

Source: %name-%snapshot_date.tar.gz
Source1: %name.16.xpm
Source2: %name.32.xpm
Source3: %name.48.xpm
Source4: %name.menu

Source6:        pingus.desktop
Source7:        pingus.png


#Patch1: pingus-0.6.0-alt-gcc33.patch

#Patch2: pingus-0.6.0-alt-gcc34.patch
Patch3:         pingus-20060721-gettext.patch
Patch4:         pingus-20060721-datapath.patch


#BuildPreReq: gcc3.2-c++

Requires: clanlib0.8 clanlib0.8-sdl clanlib0.8-gui clanlib0.8-mikmod clanlib0.8-sound clanlib0.8-vorbis libxml2 zlib

# Automatically added by buildreq on Tue Oct 07 2003

BuildRequires: xorg-x11-libs xorg-x11-devel clanlib0.8-devel clanlib0.8-gui clanlib0.8-sdl clanlib0.8-mikmod clanlib0.8-sound clanlib0.8-vorbis gcc-c++ libjpeg libmikmod-devel libogg libpng-devel libstdc++-devel libvorbis libxml2-devel zlib-devel gettext

%description
Pingus is a free Lemmings clone covered under the GPL. Pingus uses ClanLib,
which should make it portable over a lot of operating systems in the future. At
the moment the main target is Linux. It is possible to play Pingus in a X
window or in fullscreen using DGA or fbdev.

%description -l ru_RU.KOI8-R
Pingus - свободный клон Lemmings, выпускаемый под GPL. Pingus использует
Clanlib, что должно сделать его портируемым на множество других операционных
систем в будущем. На данный момент главная цель - Linux. В Pingus возможно
играть в X в окне или в полноэкранном режиме, используя DGA или fbdev.

%prep
%setup -q -n %name-%snapshot_date
#patch3 -p1
#patch4 -p1

%build
%define _optlevel 3
%add_optflags %optflags_kernel  %optflags_fastmath

rm -rf config.cache
aclocal
autoheader
automake --add-missing
autoconf

%configure --bindir=%_gamesbindir --disable-dependency-tracking --disable-rpath --with-included-gettext
%make_build

%install
%makeinstall bindir=$RPM_BUILD_ROOT%_gamesbindir
# (gc) remove by hand some themes that make the program segfault
#rm -f RPM_BUILD_ROOT%_datadir/games/%name/themes/{desert.plt,newlevs.plt,playable.plt,playable2.plt}

install -pD -m644 %SOURCE1 $RPM_BUILD_ROOT%_miconsdir/%name.xpm
install -pD -m644 %SOURCE2 $RPM_BUILD_ROOT%_niconsdir/%name.xpm
install -pD -m644 %SOURCE3 $RPM_BUILD_ROOT%_liconsdir/%name.xpm
install -pD -m644 %SOURCE4 $RPM_BUILD_ROOT%_menudir/%name

mkdir -p $RPM_BUILD_ROOT%_datadir/games/%name/
mkdir -p $RPM_BUILD_ROOT%_datadir/games/%name/po/
mkdir -p $RPM_BUILD_ROOT%_datadir/games/%name/metamap/

mv $RPM_BUILD_ROOT%_datadir/%name/*.po $RPM_BUILD_ROOT%_datadir/games/%name/po/

install -m 644 data/metamap/metamap.xml \
 $RPM_BUILD_ROOT%_datadir/games/%name/metamap


#tar jxvf SOURCE5 -C RPM_BUILD_ROOT%_datadir/games/%name/

#rm -f RPM_BUILD_ROOT%_datadir/games/%name/*/.cvsignore
# (gc) very rough
##( cd RPM_BUILD_ROOT%_datadir/games/%name/ && mv pingus-music-0.4 music )

#rm -f $RPM_BUILD_ROOT%_datadir/games/%name/README


#for i in demos images levels music sounds themes worldmaps; do

#%%__ln_s ../$i $RPM_BUILD_ROOT%_datadir/games/%name/data/$i
#done



%find_lang %name

%post
%update_menus

%postun
%clean_menus

%files -f %name.lang
%_gamesbindir/*
%_man6dir/*
%_menudir/%name
%_miconsdir/%name.xpm
%_niconsdir/%name.xpm
%_liconsdir/%name.xpm
%_datadir/games/*
%doc ABOUT-NLS AUTHORS ChangeLog NEWS README README.languages TODO

%changelog

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

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