Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37513765
en ru br
Репозитории 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
www.altlinux.org/Changes

Группа :: Игры/Стратегия
Пакет: lincity-ng

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

%define prerel beta

Name: lincity-ng
Version: 2.9
Release: alt0.2

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://code.google.com/p/%name

# use makerelease.sh in git tree to build tarball

Source: %name-%version.%prerel.tar.bz2

Requires: %name-data = %version-%release

BuildPreReq: gcc-c++
BuildPreReq: jam
BuildPreReq: libxml2-devel
BuildPreReq: libGL-devel
BuildPreReq: libGLU-devel
BuildPreReq: libSDL-devel
BuildPreReq: libSDL_mixer-devel
BuildPreReq: libSDL_image-devel
BuildPreReq: libSDL_ttf-devel
BuildPreReq: libSDL_gfx-devel
BuildPreReq: libphysfs-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. п▓ я█я┌п╬п╧ п╦пЁя─п╣ п╡п╟п╪ п╫п╟п╢п╬ п╠я┐п╢п╣я┌
п©п╬я│я┌я─п╬п╦я┌я▄ п╦ я─п╟п╥п╡п╦п╡п╟я┌я▄ пЁп╬я─п╬п╢. п▓я▀п╦пЁя─п╟я┌я▄ п╡ п╦пЁя─п╣ п╪п╬п╤п╫п╬ п╢п╡я┐п╪я▐ я│п©п╬я│п╬п╠п╟п╪п╦.
п÷п╣я─п╡я▀п╧ - я█я┌п╬ п©п╬я│я┌я─п╬п╦я┌я▄ я┐я│я┌я─п╬п╧я┤п╦п╡я┐я▌ я█п╨п╬п╫п╬п╪п╦п╨я┐. п▓я┌п╬я─п╬п╧ я│п©п╬я│п╬п╠ -
п©п╬я│я┌я─п╬п╦я┌я▄ п╨п╬я│п╪п╦я┤п╣я│п╨п╦п╧ п╨п╬я─п╟п╠п╩я▄ п╦ п╬я┌п©я─п╟п╡п╦я┌я▄ п╫п╟ п╫п╣п╪ п╡я│п╣я┘ п╤п╦я┌п╣п╩п╣п╧ п╡
п╨п╬я│п╪п╬я│.
п²п╟ п╬я└п╦я├п╦п╟п╩я▄п╫п╬п╧ п╡п╦п╨п╦ п╦пЁя─я▀, п╫п╟я┘п╬п╢я▐я┴п╣п╧я│я▐ п©п╬ п╟п╢я─п╣я│я┐: %url
п╪п╬п╤п╫п╬ п©п╬п╩я┐я┤п╦я┌я▄ п╠п╬п╩п╣п╣ п©п╬п╢я─п╬п╠п╫я┐я▌ п╦п╫я└п╬я─п╪п╟я├п╦я▌ п╬п╠ п╦пЁя─п╬п╡п╬п╪ п©я─п╬я├п╣я│я│п╣,
я─п╟п╥я─п╟п╠п╬я┌я┤п╦п╨п╟я┘ п╦пЁя─я▀, п©п╬я│п╪п╬я┌я─п╣я┌я▄ я│п╨я─п╦п╫я┬п╬я┌я▀.

%package data
Summary: Data files needed to run lincity-ng
# data bits are dual licensed GPLv2+ or CC-BY-SA
License: GPLv2+ or CC-BY-SA
Group: Games/Strategy
Requires: %name = %version-%release
Requires: fonts-ttf-dejavu
BuildArch: noarch

%description data
This package contains the data files (graphics, models, audio) necessary to
play Lincity-NG.

%define _pkgdocdir %_docdir/%name-%version

%prep
%setup -n %name-%version.%prerel

sed -i "s/CFLAGS += -O3 -g -Wall/CFLAGS += $RPM_OPT_FLAGS/" Jamrules
sed -i "s/CXXFLAGS += -O3 -g -Wall/CXXFLAGS += $RPM_OPT_FLAGS/" Jamrules
sed -i 's|lincity-ng.png|lincity-ng|g' lincity-ng.desktop

%build
%configure
jam

%install
DESTDIR=%buildroot jam -sappdocdir=%_pkgdocdir install

# Make a symlink to system font, rather than include a copy of DejaVu Sans

ln -fs %_datadir/fonts/ttf/dejavu/DejaVuSans.ttf %buildroot%_datadir/%name/fonts/sans.ttf

# compress wav files to ogg

for i in %buildroot/%_datadir/%name/sounds/*.wav; do
 oggenc --quiet $i && rm $i
done
# and fix sounds.xml
subst 's/\.wav/.ogg/' %buildroot/%_datadir/%name/sounds/sounds.xml

%find_lang %name

%files -f %name.lang
%_bindir/*

%files data
%_desktopdir/*
%_pixmapsdir/*
%_datadir/%name/*
%doc %_pkgdocdir/

%changelog

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

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