Репозитории ALT
S: | 2.9-alt0.2 |
5.1: | 2.0-alt0.M51.1 |
4.1: | 1.0.3-alt1 |
4.0: | 1.0.3-alt1 |
Группа :: Игры/Стратегия
Пакет: lincity-ng
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Name: lincity-ng
Version: 2.0
Release: alt0.M51.1
Summary: LinCity-NG is a city simulation game. It is a polished and improved version of the classic LinCity game.
Summary(ru_RU.UTF-8): LinCity-NG - я█я┌п╬ п╦пЁя─п╟-я│п╦п╪я┐п╩я▐я┌п╬я─ пЁп╬я─п╬п╢п╟. п·п╫п╟ п©я─п╣п╢я│я┌п╟п╡п╩я▐п╣я┌ я│п╬п╠п╬п╧ я┐п╩я┐я┤я┬п╣п╫п╫я┐я▌ п╡п╣я─я│п╦я▌ п╨п╩п╟я│я│п╦я┤п╣я│п╨п╬п╧ п╦пЁя─я▀ LinCity.
License: GPLv2
Group: Games/Strategy
Url: http://lincity-ng.berlios.de
Packager: Anton Chernyshov <ach at altlinux.org>
Source0: %name-%version.tar.bz2
BuildPreReq: gcc-c++
BuildPreReq: jam
BuildPreReq: libxml2-devel
BuildPreReq: libGL-devel
BuildPreReq: libSDL-devel
BuildPreReq: libSDL_mixer-devel
BuildPreReq: libSDL_image-devel
BuildPreReq: libSDL_ttf-devel
BuildPreReq: libSDL_gfx-devel
BuildPreReq: physfs-devel
BuildPreReq: vorbis-tools
BuildPreReq: zlib-devel
%description
LinCity-NG is a city simulation game. It is a polished and improved
version of the classic LinCity game. In the game, you are required
to build and maintain a city. You can win the game either by building
a sustainable economy or by evacuating all citizens with spaceships.
%description -l ru_RU.UTF-8
LinCity-NG - п╦пЁя─п╟-я│п╦п╪я┐п╩я▐я┌п╬я─ пЁп╬я─п╬п╢п╟. п╜я┌п╬ я┐п╩я┐я┤я┬п╣п╫п╫п╟я▐ п╦ п╢п╬я─п╟п╠п╬я┌п╟п╫п╫п╟я▐
п╡п╣я─я│п╦я▐, я│я┌п╟п╡я┬п╣п╧ п╨п╩п╟я│я│п╦п╨п╬п╧ LinCity. п▓ я█я┌п╬п╧ п╦пЁя─п╣ п╡п╟п╪ п╫п╟п╢п╬ п╠я┐п╢п╣я┌
п©п╬я│я┌я─п╬п╦я┌я▄ п╦ я─п╟п╥п╡п╦п╡п╟я┌я▄ пЁп╬я─п╬п╢. п▓я▀п╦пЁя─п╟я┌я▄ п╡ п╦пЁя─п╣ п╪п╬п╤п╫п╬ п╢п╡я┐п╪я▐ я│п©п╬я│п╬п╠п╟п╪п╦.
п÷п╣я─п╡я▀п╧ - я█я┌п╬ п©п╬я│я┌я─п╬п╦я┌я▄ я┐я│я┌я─п╬п╧я┤п╦п╡я┐я▌ я█п╨п╬п╫п╬п╪п╦п╨я┐. п▓я┌п╬я─п╬п╧ я│п©п╬я│п╬п╠ -
п©п╬я│я┌я─п╬п╦я┌я▄ п╨п╬я│п╪п╦я┤п╣я│п╨п╦п╧ п╨п╬я─п╟п╠п╩я▄ п╦ п╬я┌п©я─п╟п╡п╦я┌я▄ п╫п╟ п╫п╣п╪ п╡я│п╣я┘ п╤п╦я┌п╣п╩п╣п╧ п╡
п╨п╬я│п╪п╬я│.
п²п╟ п╬я└п╦я├п╦п╟п╩я▄п╫п╬п╧ п╡п╦п╨п╦ п╦пЁя─я▀, п╫п╟я┘п╬п╢я▐я┴п╣п╧я│я▐ п©п╬ п╟п╢я─п╣я│я┐: http://lincity-ng.berlios.de
п╪п╬п╤п╫п╬ п©п╬п╩я┐я┤п╦я┌я▄ п╠п╬п╩п╣п╣ п©п╬п╢я─п╬п╠п╫я┐я▌ п╦п╫я└п╬я─п╪п╟я├п╦я▌ п╬п╠ п╦пЁя─п╬п╡п╬п╪ п©я─п╬я├п╣я│я│п╣,
я─п╟п╥я─п╟п╠п╬я┌я┤п╦п╨п╟я┘ п╦пЁя─я▀, п©п╬я│п╪п╬я┌я─п╣я┌я▄ я│п╨я─п╦п╫я┬п╬я┌я▀.
%prep
%setup
%build
%configure --datadir=%_gamesdatadir
jam
%install
# game wants to install to /usr, but we don't want it
# thanks SUSE for idea how to do it
sed -i -e s+^prefix.*+prefix\ ?=\ \"%buildroot/usr\"\ \;+g \
-e s+^bindir.*+bindir\ ?=\ \"%buildroot/%_bindir\"\ \;+g \
-e s+^exec_prefix.*+exec_prefix\ ?=\ \"%buildroot/usr\"\ \;+g \
-e s+^datadir.*+datadir\ ?=\ \"%buildroot/%_gamesdatadir\"\ \;+g \
-e s+^oldincludedir.*+oldincludedir\ ?=\ \"%buildroot/usr/include\"\ \;+g \
Jamconfig
jam install
# compress wav files to ogg
for i in %buildroot/%_gamesdatadir/%name/sounds/*.wav; do
oggenc --quiet $i && rm $i
done
# move some game files to appropriate location
%__mkdir_p %buildroot/{%_defaultdocdir,%_desktopdir,%_pixmapsdir}
%__mv %buildroot/%_gamesdatadir/doc %buildroot/%_datadir/
%__mv %buildroot/%_gamesdatadir/applications %buildroot/%_datadir/
%__mv %buildroot/%_gamesdatadir/pixmaps %buildroot/%_datadir/
%find_lang %name
%files -f %name.lang
%_bindir/*
%_desktopdir/*
%doc %_defaultdocdir/%name-%version/*
%_pixmapsdir/*
%_gamesdatadir/%name/*
%changelog
…
Полный changelog можно просмотреть здесь
Version: 2.0
Release: alt0.M51.1
Summary: LinCity-NG is a city simulation game. It is a polished and improved version of the classic LinCity game.
Summary(ru_RU.UTF-8): LinCity-NG - я█я┌п╬ п╦пЁя─п╟-я│п╦п╪я┐п╩я▐я┌п╬я─ пЁп╬я─п╬п╢п╟. п·п╫п╟ п©я─п╣п╢я│я┌п╟п╡п╩я▐п╣я┌ я│п╬п╠п╬п╧ я┐п╩я┐я┤я┬п╣п╫п╫я┐я▌ п╡п╣я─я│п╦я▌ п╨п╩п╟я│я│п╦я┤п╣я│п╨п╬п╧ п╦пЁя─я▀ LinCity.
License: GPLv2
Group: Games/Strategy
Url: http://lincity-ng.berlios.de
Packager: Anton Chernyshov <ach at altlinux.org>
Source0: %name-%version.tar.bz2
BuildPreReq: gcc-c++
BuildPreReq: jam
BuildPreReq: libxml2-devel
BuildPreReq: libGL-devel
BuildPreReq: libSDL-devel
BuildPreReq: libSDL_mixer-devel
BuildPreReq: libSDL_image-devel
BuildPreReq: libSDL_ttf-devel
BuildPreReq: libSDL_gfx-devel
BuildPreReq: physfs-devel
BuildPreReq: vorbis-tools
BuildPreReq: zlib-devel
%description
LinCity-NG is a city simulation game. It is a polished and improved
version of the classic LinCity game. In the game, you are required
to build and maintain a city. You can win the game either by building
a sustainable economy or by evacuating all citizens with spaceships.
%description -l ru_RU.UTF-8
LinCity-NG - п╦пЁя─п╟-я│п╦п╪я┐п╩я▐я┌п╬я─ пЁп╬я─п╬п╢п╟. п╜я┌п╬ я┐п╩я┐я┤я┬п╣п╫п╫п╟я▐ п╦ п╢п╬я─п╟п╠п╬я┌п╟п╫п╫п╟я▐
п╡п╣я─я│п╦я▐, я│я┌п╟п╡я┬п╣п╧ п╨п╩п╟я│я│п╦п╨п╬п╧ LinCity. п▓ я█я┌п╬п╧ п╦пЁя─п╣ п╡п╟п╪ п╫п╟п╢п╬ п╠я┐п╢п╣я┌
п©п╬я│я┌я─п╬п╦я┌я▄ п╦ я─п╟п╥п╡п╦п╡п╟я┌я▄ пЁп╬я─п╬п╢. п▓я▀п╦пЁя─п╟я┌я▄ п╡ п╦пЁя─п╣ п╪п╬п╤п╫п╬ п╢п╡я┐п╪я▐ я│п©п╬я│п╬п╠п╟п╪п╦.
п÷п╣я─п╡я▀п╧ - я█я┌п╬ п©п╬я│я┌я─п╬п╦я┌я▄ я┐я│я┌я─п╬п╧я┤п╦п╡я┐я▌ я█п╨п╬п╫п╬п╪п╦п╨я┐. п▓я┌п╬я─п╬п╧ я│п©п╬я│п╬п╠ -
п©п╬я│я┌я─п╬п╦я┌я▄ п╨п╬я│п╪п╦я┤п╣я│п╨п╦п╧ п╨п╬я─п╟п╠п╩я▄ п╦ п╬я┌п©я─п╟п╡п╦я┌я▄ п╫п╟ п╫п╣п╪ п╡я│п╣я┘ п╤п╦я┌п╣п╩п╣п╧ п╡
п╨п╬я│п╪п╬я│.
п²п╟ п╬я└п╦я├п╦п╟п╩я▄п╫п╬п╧ п╡п╦п╨п╦ п╦пЁя─я▀, п╫п╟я┘п╬п╢я▐я┴п╣п╧я│я▐ п©п╬ п╟п╢я─п╣я│я┐: http://lincity-ng.berlios.de
п╪п╬п╤п╫п╬ п©п╬п╩я┐я┤п╦я┌я▄ п╠п╬п╩п╣п╣ п©п╬п╢я─п╬п╠п╫я┐я▌ п╦п╫я└п╬я─п╪п╟я├п╦я▌ п╬п╠ п╦пЁя─п╬п╡п╬п╪ п©я─п╬я├п╣я│я│п╣,
я─п╟п╥я─п╟п╠п╬я┌я┤п╦п╨п╟я┘ п╦пЁя─я▀, п©п╬я│п╪п╬я┌я─п╣я┌я▄ я│п╨я─п╦п╫я┬п╬я┌я▀.
%prep
%setup
%build
%configure --datadir=%_gamesdatadir
jam
%install
# game wants to install to /usr, but we don't want it
# thanks SUSE for idea how to do it
sed -i -e s+^prefix.*+prefix\ ?=\ \"%buildroot/usr\"\ \;+g \
-e s+^bindir.*+bindir\ ?=\ \"%buildroot/%_bindir\"\ \;+g \
-e s+^exec_prefix.*+exec_prefix\ ?=\ \"%buildroot/usr\"\ \;+g \
-e s+^datadir.*+datadir\ ?=\ \"%buildroot/%_gamesdatadir\"\ \;+g \
-e s+^oldincludedir.*+oldincludedir\ ?=\ \"%buildroot/usr/include\"\ \;+g \
Jamconfig
jam install
# compress wav files to ogg
for i in %buildroot/%_gamesdatadir/%name/sounds/*.wav; do
oggenc --quiet $i && rm $i
done
# move some game files to appropriate location
%__mkdir_p %buildroot/{%_defaultdocdir,%_desktopdir,%_pixmapsdir}
%__mv %buildroot/%_gamesdatadir/doc %buildroot/%_datadir/
%__mv %buildroot/%_gamesdatadir/applications %buildroot/%_datadir/
%__mv %buildroot/%_gamesdatadir/pixmaps %buildroot/%_datadir/
%find_lang %name
%files -f %name.lang
%_bindir/*
%_desktopdir/*
%doc %_defaultdocdir/%name-%version/*
%_pixmapsdir/*
%_gamesdatadir/%name/*
%changelog
…
Полный changelog можно просмотреть здесь