Группа :: Игры/Обучающие
Пакет: tuxtype
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%define oname tuxtype_w_fonts
Name: tuxtype
Version: 1.7.0
Release: alt1
Summary: An educational typing tutor game starring Tux
Group: Games/Educational
License: GPL
Url: http://tux4kids.alioth.debian.org/
Packager: Vitaly Lipatov <lav at altlinux.ru>
Source: http://alioth.debian.org/frs/download.php/2686/%oname-%version.tar.gz
Source1: %name-48x48.xpm
Source2: %name-32x32.xpm
Source3: %name-16x16.xpm
# Automatically added by buildreq on Fri Jan 02 2009
BuildRequires: libSDL-devel libSDL_image-devel libSDL_mixer-devel libSDL_ttf-devel
%description
Educational typing tutor starring Tux, the Linux Penguin. Object of
the game is to catch fish as they drop from the top of the screen.
Each fish has a letter or a word written on it, and Tux eats the fish
by the player pressing the associated key or typing the appropriate
word. Intended to be cute and fun for children learning to type and
spell.
%prep
%setup -q -n %oname-%version
%build
%configure
%make_build
%install
%makeinstall_std fontsdir=%_datadir/%name/data/fonts
mkdir -p %buildroot%_desktopdir/
cat <<EOF > %buildroot%_desktopdir/%name.desktop
[Desktop Entry]
Name=Tux Typing
Comment=An educational typing tutor game starring Tux
Exec=%name
Icon=%name.xpm
Terminal=false
Type=Application
Encoding=UTF-8
Categories=Game;Application;
EOF
install -pD -m644 %SOURCE1 %buildroot%_liconsdir/%name.xpm
install -pD -m644 %SOURCE2 %buildroot%_iconsdir/%name.xpm
install -pD -m644 %SOURCE3 %buildroot%_miconsdir/%name.xpm
%find_lang %name
rm -rf %buildroot%_docdir/%name/
rm -rf %buildroot%_prefix/doc/
%files -f %name.lang
%doc README AUTHORS TODO ChangeLog doc/OFL
%_bindir/%name
%_datadir/%name/
%_iconsdir/%name.xpm
%_liconsdir/%name.xpm
%_miconsdir/%name.xpm
%_desktopdir/%name.desktop
%changelog
…
Полный changelog можно просмотреть здесь
Name: tuxtype
Version: 1.7.0
Release: alt1
Summary: An educational typing tutor game starring Tux
Group: Games/Educational
License: GPL
Url: http://tux4kids.alioth.debian.org/
Packager: Vitaly Lipatov <lav at altlinux.ru>
Source: http://alioth.debian.org/frs/download.php/2686/%oname-%version.tar.gz
Source1: %name-48x48.xpm
Source2: %name-32x32.xpm
Source3: %name-16x16.xpm
# Automatically added by buildreq on Fri Jan 02 2009
BuildRequires: libSDL-devel libSDL_image-devel libSDL_mixer-devel libSDL_ttf-devel
%description
Educational typing tutor starring Tux, the Linux Penguin. Object of
the game is to catch fish as they drop from the top of the screen.
Each fish has a letter or a word written on it, and Tux eats the fish
by the player pressing the associated key or typing the appropriate
word. Intended to be cute and fun for children learning to type and
spell.
%prep
%setup -q -n %oname-%version
%build
%configure
%make_build
%install
%makeinstall_std fontsdir=%_datadir/%name/data/fonts
mkdir -p %buildroot%_desktopdir/
cat <<EOF > %buildroot%_desktopdir/%name.desktop
[Desktop Entry]
Name=Tux Typing
Comment=An educational typing tutor game starring Tux
Exec=%name
Icon=%name.xpm
Terminal=false
Type=Application
Encoding=UTF-8
Categories=Game;Application;
EOF
install -pD -m644 %SOURCE1 %buildroot%_liconsdir/%name.xpm
install -pD -m644 %SOURCE2 %buildroot%_iconsdir/%name.xpm
install -pD -m644 %SOURCE3 %buildroot%_miconsdir/%name.xpm
%find_lang %name
rm -rf %buildroot%_docdir/%name/
rm -rf %buildroot%_prefix/doc/
%files -f %name.lang
%doc README AUTHORS TODO ChangeLog doc/OFL
%_bindir/%name
%_datadir/%name/
%_iconsdir/%name.xpm
%_liconsdir/%name.xpm
%_miconsdir/%name.xpm
%_desktopdir/%name.desktop
%changelog
…
Полный changelog можно просмотреть здесь