Репозитории ALT
5.1: | 0.9a-alt5 |
4.1: | 0.9a-alt4.1 |
4.0: | 0.9a-alt3 |
3.0: | 0.9a-alt2 |
Группа :: Игры/Аркады
Пакет: zephulor
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Name: zephulor
Version: 0.9a
Release: alt4.1
Summary: Zephulor - game written in Python
License: LGPL
Group: Games/Arcade
Url: http://www.hollowworks.com/apz/
Packager: Vitaly Lipatov <lav at altlinux.ru>
Source: http://www.hollowworks.com/downloads/adventuresonplanetzephulor/files/%name-source.tar.bz2
Patch: %name.patch
%setup_python_module %name
%add_python_lib_path %_gamesdatadir/%name
BuildArchitectures: noarch
%description
Planet Zephulor is a side scrolling platform arcade game under development.
Currently the game spans 15 levels.
%prep
%setup -q -n %name-source
%patch
%__subst "s|!/bin/env|!/usr/bin/env|" *.py
%build
%install
mkdir -p %buildroot/%_gamesdatadir/%name
cp -pr ./ %buildroot/%_gamesdatadir/%name
mkdir -p %buildroot%_desktopdir
cat >%buildroot%_desktopdir/%name.desktop <<EOF
[Desktop Entry]
Encoding=UTF-8
Type=Application
Name=Zephulor
GenericName=
Comment=Planet Zephulor
Icon=zephulor.png
Exec=%_gamesbindir/%name
Terminal=false
Categories=Game;ArcadeGame;
EOF
%__mkdir_p %buildroot%_gamesbindir
cat >%buildroot%_gamesbindir/%name <<EOF
#!/bin/sh
cd %_gamesdatadir/%name
./%name.py
EOF
%post
%update_menus
%postun
%clean_menus
%files
%attr (0755, root root) %_gamesbindir/*
%_gamesdatadir/%name
#%_iconsdir/*
%_desktopdir/%name.desktop
%changelog
…
Полный changelog можно просмотреть здесь
Version: 0.9a
Release: alt4.1
Summary: Zephulor - game written in Python
License: LGPL
Group: Games/Arcade
Url: http://www.hollowworks.com/apz/
Packager: Vitaly Lipatov <lav at altlinux.ru>
Source: http://www.hollowworks.com/downloads/adventuresonplanetzephulor/files/%name-source.tar.bz2
Patch: %name.patch
%setup_python_module %name
%add_python_lib_path %_gamesdatadir/%name
BuildArchitectures: noarch
%description
Planet Zephulor is a side scrolling platform arcade game under development.
Currently the game spans 15 levels.
%prep
%setup -q -n %name-source
%patch
%__subst "s|!/bin/env|!/usr/bin/env|" *.py
%build
%install
mkdir -p %buildroot/%_gamesdatadir/%name
cp -pr ./ %buildroot/%_gamesdatadir/%name
mkdir -p %buildroot%_desktopdir
cat >%buildroot%_desktopdir/%name.desktop <<EOF
[Desktop Entry]
Encoding=UTF-8
Type=Application
Name=Zephulor
GenericName=
Comment=Planet Zephulor
Icon=zephulor.png
Exec=%_gamesbindir/%name
Terminal=false
Categories=Game;ArcadeGame;
EOF
%__mkdir_p %buildroot%_gamesbindir
cat >%buildroot%_gamesbindir/%name <<EOF
#!/bin/sh
cd %_gamesdatadir/%name
./%name.py
EOF
%post
%update_menus
%postun
%clean_menus
%files
%attr (0755, root root) %_gamesbindir/*
%_gamesdatadir/%name
#%_iconsdir/*
%_desktopdir/%name.desktop
%changelog
…
Полный changelog можно просмотреть здесь