Репозитории ALT
S: | 2.5-alt6 |
D: | 2.3-alt1.svn20071014.3 |
5.1: | 2.4-alt0.M51.1 |
4.0: | 2.1.1-alt1.4 |
Группа :: Игры/Стратегия
Пакет: ufoai
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Name: ufoai
Version: 2.1.1
Release: alt1.4
License: GPL
Packager: Alexey Shentzev <ashen at altlinux.org>
URL: http://ufoai.ninex.info/
Group: Games/Strategy
# Automatically added by buildreq on Fri Sep 14 2007 (-bi)
BuildRequires: libarts-devel libjpeg-devel libmesa-devel libSDL-devel libSDL_ttf-devel packages-info-i18n-common
Requires: ufoai-music = %version
Requires: ufoai-maps = %version
Requires: libarts libjpeg libmesa libSDL libSDL_ttf libvorbis libalsa libjpeg libogg packages-info-i18n-common
Summary: UFO:AI
Source0: %name-%version-source.tar.bz2
Source1: %name.png
Source2: %name.desktop
Source3: %name
#Patch0: ref_glx.patch
%description
UFO: ALIEN INVASION is a strategy game featuring tactical combat
against hostile alien forces which are about to infiltrate earth at
this very moment. You are in command of a small special unit which
has been founded to face the alien strike force. To be successful on
the long run, you will also have to have a research team study the
aliens and their technologies in order to learn as much as possible
about their technology, their goals and the aliens themselves.
%description -l ru_RU.UTF-8
UFO: ALIEN INVASION п©п╬я┬п╟пЁп╬п╡п╟я▐ я│я┌я─п╟я┌п╣пЁп╦я▐, п╠п╬я─я▄п╠п╟ я│ п╦п╫п╬п©п╩п╟п╫п╣я┌п╫я▀п╪
п╡я┌п╬я─п╤п╣п╫п╦п╣п╪ п╫п╟ п╪п╟я┌я┐я┬п╨я┐ п≈п╣п╪п╩я▌.
п▓я▀ я▐п╡п╩п╣п╣я┌п╣я│я▄ я┐я┤п╟я│я┌п╫п╦п╨п╬п╪ я│п©п╣я├п╨п╬п╪п╟п╫п╢я▀ п©п╬ п╠п╬я─я▄п╠п╣ я│ п╦п╫п╬п©п╩п╟п╫п╣я┌п╫я▀п╪ п╡я┌п╬я─п╤п╣п╫п╦п╣п╪
п╫п╟ п©п╩п╟п╫п╣я┌я┐ п≈п╣п╪п╩я▐, я│п╬п╥п╢п╟п╫п╫п╬п╧ п╢п╩я▐ п©я─п╬я┌п╦п╡п╬я│я┌п╬я▐п╫п╦я▐ п╫п╣п╦п╥п╡п╣я│я┌п╫п╬п╧ я┐пЁя─п╬п╥п╣.
п■п╩я▐ п╢п╬я│я┌п╦п╤п╣п╫п╦я▐ я┐я│п©п╣я┘п╟ п▓п╟п╪ п╫п╣п╬п╠я┘п╬п╢п╦п╪п╬ п╫п╣ я┌п╬п╩я▄п╨п╬ п╡я▀п╦пЁя─я▀п╡п╟я┌я▄ п╠п╦я┌п╡я▀, п╫п╬ п╦
п╦п╥я┐я┤п╟я┌я▄ п╦п╫п╬п©п╩п╟п╫п╣я┌я▐п╫, п╦я┘ я├п╣п╩п╦, я┌п╣я┘п╫п╬п╩п╬пЁп╦п╦, п╬я─я┐п╤п╦п╣.
%prep
%setup -n %name-%version-source
#%patch0 -p1
%build
%configure --prefix=/usr --sysconfdir=%_sysconfdir --with-alsa
make
make lang
%install
install -D -m 0755 ufo %buildroot%_bindir/ufo
install -D -m 0755 ufo %buildroot%_bindir/ufo2map
install -D -m 0755 ufo %buildroot%_bindir/ufoded
install -D -m 0755 ufo %buildroot%_bindir/ufomaster
install -D -m 0755 ufo %buildroot%_bindir/qdata
install -D -m 0644 %SOURCE1 %buildroot%_datadir/pixmaps/%name.png
install -D -m 0644 %SOURCE2 %buildroot%_datadir/applications/%name.desktop
install -D -m 0755 %SOURCE3 %buildroot%_bindir/%name
install -D -m 0755 snd_sdl.so %buildroot%_libdir/%name/snd_sdl.so
install -D -m 0755 snd_alsa.so %buildroot%_libdir/%name/snd_alsa.so
install -D -m 0755 snd_oss.so %buildroot%_libdir/%name/snd_oss.so
install -D -m 0755 snd_arts.so %buildroot%_libdir/%name/snd_arts.so
install -D -m 0755 ref_glx.so %buildroot%_libdir/%name/ref_glx.so
install -D -m 0755 ref_sdl.so %buildroot%_libdir/%name/ref_sdl.so
cp -pr base %buildroot%_libdir/%name
ln -s %_libdir/%name/base/i18n %buildroot%_libdir/%name/i18n
# menu
cat <<EOF > %buildroot%_desktopdir/%name.desktop
[Desktop Entry]
Encoding=UTF-8
Type=Application
Exec=ufo +set s_libdir %_libdir/ufoai +set fs_basedir %_libdir/ufoai +set vid_ref sdl
Patch=%_libdir/%name
Icon=%name
Terminal=false
Name=UFO: Alien Invasion
Comment=п÷п╬я┬п╟пЁп╬п╡п╟я▐ я│я┌я─п╟я┌п╣пЁп╦я▐
Categories=StrategyGame;Game
__MENU__
#%post
%update_menus
#%postun
%clean_menus
#%clean
rm -rf "$RPM_BUILD_ROOT"
%files
%defattr(-,root,root)
%doc README BUGS CONTRIBUTORS COPYING
%_bindir/ufo
%_bindir/ufomaster
%_bindir/ufo2map
%_bindir/ufoded
%_bindir/qdata
%_bindir/%name
%_datadir/pixmaps/%name.png
%_datadir/applications/%name.desktop
%_libdir/%name/*
%changelog
…
Полный changelog можно просмотреть здесь
Version: 2.1.1
Release: alt1.4
License: GPL
Packager: Alexey Shentzev <ashen at altlinux.org>
URL: http://ufoai.ninex.info/
Group: Games/Strategy
# Automatically added by buildreq on Fri Sep 14 2007 (-bi)
BuildRequires: libarts-devel libjpeg-devel libmesa-devel libSDL-devel libSDL_ttf-devel packages-info-i18n-common
Requires: ufoai-music = %version
Requires: ufoai-maps = %version
Requires: libarts libjpeg libmesa libSDL libSDL_ttf libvorbis libalsa libjpeg libogg packages-info-i18n-common
Summary: UFO:AI
Source0: %name-%version-source.tar.bz2
Source1: %name.png
Source2: %name.desktop
Source3: %name
#Patch0: ref_glx.patch
%description
UFO: ALIEN INVASION is a strategy game featuring tactical combat
against hostile alien forces which are about to infiltrate earth at
this very moment. You are in command of a small special unit which
has been founded to face the alien strike force. To be successful on
the long run, you will also have to have a research team study the
aliens and their technologies in order to learn as much as possible
about their technology, their goals and the aliens themselves.
%description -l ru_RU.UTF-8
UFO: ALIEN INVASION п©п╬я┬п╟пЁп╬п╡п╟я▐ я│я┌я─п╟я┌п╣пЁп╦я▐, п╠п╬я─я▄п╠п╟ я│ п╦п╫п╬п©п╩п╟п╫п╣я┌п╫я▀п╪
п╡я┌п╬я─п╤п╣п╫п╦п╣п╪ п╫п╟ п╪п╟я┌я┐я┬п╨я┐ п≈п╣п╪п╩я▌.
п▓я▀ я▐п╡п╩п╣п╣я┌п╣я│я▄ я┐я┤п╟я│я┌п╫п╦п╨п╬п╪ я│п©п╣я├п╨п╬п╪п╟п╫п╢я▀ п©п╬ п╠п╬я─я▄п╠п╣ я│ п╦п╫п╬п©п╩п╟п╫п╣я┌п╫я▀п╪ п╡я┌п╬я─п╤п╣п╫п╦п╣п╪
п╫п╟ п©п╩п╟п╫п╣я┌я┐ п≈п╣п╪п╩я▐, я│п╬п╥п╢п╟п╫п╫п╬п╧ п╢п╩я▐ п©я─п╬я┌п╦п╡п╬я│я┌п╬я▐п╫п╦я▐ п╫п╣п╦п╥п╡п╣я│я┌п╫п╬п╧ я┐пЁя─п╬п╥п╣.
п■п╩я▐ п╢п╬я│я┌п╦п╤п╣п╫п╦я▐ я┐я│п©п╣я┘п╟ п▓п╟п╪ п╫п╣п╬п╠я┘п╬п╢п╦п╪п╬ п╫п╣ я┌п╬п╩я▄п╨п╬ п╡я▀п╦пЁя─я▀п╡п╟я┌я▄ п╠п╦я┌п╡я▀, п╫п╬ п╦
п╦п╥я┐я┤п╟я┌я▄ п╦п╫п╬п©п╩п╟п╫п╣я┌я▐п╫, п╦я┘ я├п╣п╩п╦, я┌п╣я┘п╫п╬п╩п╬пЁп╦п╦, п╬я─я┐п╤п╦п╣.
%prep
%setup -n %name-%version-source
#%patch0 -p1
%build
%configure --prefix=/usr --sysconfdir=%_sysconfdir --with-alsa
make
make lang
%install
install -D -m 0755 ufo %buildroot%_bindir/ufo
install -D -m 0755 ufo %buildroot%_bindir/ufo2map
install -D -m 0755 ufo %buildroot%_bindir/ufoded
install -D -m 0755 ufo %buildroot%_bindir/ufomaster
install -D -m 0755 ufo %buildroot%_bindir/qdata
install -D -m 0644 %SOURCE1 %buildroot%_datadir/pixmaps/%name.png
install -D -m 0644 %SOURCE2 %buildroot%_datadir/applications/%name.desktop
install -D -m 0755 %SOURCE3 %buildroot%_bindir/%name
install -D -m 0755 snd_sdl.so %buildroot%_libdir/%name/snd_sdl.so
install -D -m 0755 snd_alsa.so %buildroot%_libdir/%name/snd_alsa.so
install -D -m 0755 snd_oss.so %buildroot%_libdir/%name/snd_oss.so
install -D -m 0755 snd_arts.so %buildroot%_libdir/%name/snd_arts.so
install -D -m 0755 ref_glx.so %buildroot%_libdir/%name/ref_glx.so
install -D -m 0755 ref_sdl.so %buildroot%_libdir/%name/ref_sdl.so
cp -pr base %buildroot%_libdir/%name
ln -s %_libdir/%name/base/i18n %buildroot%_libdir/%name/i18n
# menu
cat <<EOF > %buildroot%_desktopdir/%name.desktop
[Desktop Entry]
Encoding=UTF-8
Type=Application
Exec=ufo +set s_libdir %_libdir/ufoai +set fs_basedir %_libdir/ufoai +set vid_ref sdl
Patch=%_libdir/%name
Icon=%name
Terminal=false
Name=UFO: Alien Invasion
Comment=п÷п╬я┬п╟пЁп╬п╡п╟я▐ я│я┌я─п╟я┌п╣пЁп╦я▐
Categories=StrategyGame;Game
__MENU__
#%post
%update_menus
#%postun
%clean_menus
#%clean
rm -rf "$RPM_BUILD_ROOT"
%files
%defattr(-,root,root)
%doc README BUGS CONTRIBUTORS COPYING
%_bindir/ufo
%_bindir/ufomaster
%_bindir/ufo2map
%_bindir/ufoded
%_bindir/qdata
%_bindir/%name
%_datadir/pixmaps/%name.png
%_datadir/applications/%name.desktop
%_libdir/%name/*
%changelog
…
Полный changelog можно просмотреть здесь