Группа :: Игры/Обучающие
Пакет: tuxwordsmith
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%define oname TuxWordSmith
%define pkgdata %_gamesdatadir/%oname
Name: tuxwordsmith
Version: 0.6.7
Release: alt1
Summary: Scrabble like game for young children
Packager: Vitaly Lipatov <lav at altlinux.ru>
Group: Games/Educational
License: GPL
Url: http://www.asymptopia.org/staticpages/index.php?page=TuxWordSmith
Source: %oname-%version.tgz
Source1: %oname.desktop
Source2: %oname.png
Patch: %name.patch
# Automatically added by buildreq on Mon Jul 07 2008
BuildRequires: python-base
%description
TuxWordSmith is similar to the classic word game "Scrabble", but with unicode
support for multiple languages and character sets. The game is currently
distributed with forty-two (42) dictionary resources for playing
Language[i]-Language[j] "Scrabble".
For example, if configured to use the French-German dictionary, then the
distribution of available tiles will be computed based on frequency of
occurance of each character of Language[i] (French), and for each submission
the corresponding definition will be given in Language[j] (German).
The latest release includes support for the Greek and Cyrillic (Russian,
Ukranian) character sets, thus making it possible to play Scrabble in Greek,
Russian and Ukranian, as well as a host of other languages which use latin
characters.
%prep
%setup -q -n %oname
%patch
#find -type d -name .svn -print0 | xargs -0 rm -rf {} \;
%install
mkdir -p %buildroot%_bindir
mkdir -p %buildroot%python_sitelibdir/
mkdir -p %buildroot%pkgdata
cp -R Globals %buildroot%pkgdata
cp -R Font %buildroot%pkgdata
cp -R xdxf %buildroot%pkgdata
#cp -R %oname %buildroot%pkgdata
# install binfile
install -m755 %name %buildroot%_bindir/%name
cp -R %oname %buildroot/%python_sitelibdir/
# install EduApp modules
#cp -r asymptopia_0_1_3 %buildroot/%python_sitelibdir/
# below is the desktop file and icon stuff.
install -Dm 644 %SOURCE1 %buildroot%_desktopdir/%name.desktop
install -Dm 644 %SOURCE2 %buildroot%_pixmapsdir/%name.png
#mkdir -p /var/games/%oname/Globals/globals/
#>/var/games/%oname/Globals/globals/config
%files
%doc README* VERSION CHANGES LICENSE VERSION
%_bindir/%name
%python_sitelibdir/%oname/
#%python_sitelibdir/asymptopia_0_1_3
%_desktopdir/%name.desktop
%_pixmapsdir/%name.png
#%config(noreplace) /var/games/%oname/Globals/globals/config
%pkgdata/
%changelog
…
Полный changelog можно просмотреть здесь
%define pkgdata %_gamesdatadir/%oname
Name: tuxwordsmith
Version: 0.6.7
Release: alt1
Summary: Scrabble like game for young children
Packager: Vitaly Lipatov <lav at altlinux.ru>
Group: Games/Educational
License: GPL
Url: http://www.asymptopia.org/staticpages/index.php?page=TuxWordSmith
Source: %oname-%version.tgz
Source1: %oname.desktop
Source2: %oname.png
Patch: %name.patch
# Automatically added by buildreq on Mon Jul 07 2008
BuildRequires: python-base
%description
TuxWordSmith is similar to the classic word game "Scrabble", but with unicode
support for multiple languages and character sets. The game is currently
distributed with forty-two (42) dictionary resources for playing
Language[i]-Language[j] "Scrabble".
For example, if configured to use the French-German dictionary, then the
distribution of available tiles will be computed based on frequency of
occurance of each character of Language[i] (French), and for each submission
the corresponding definition will be given in Language[j] (German).
The latest release includes support for the Greek and Cyrillic (Russian,
Ukranian) character sets, thus making it possible to play Scrabble in Greek,
Russian and Ukranian, as well as a host of other languages which use latin
characters.
%prep
%setup -q -n %oname
%patch
#find -type d -name .svn -print0 | xargs -0 rm -rf {} \;
%install
mkdir -p %buildroot%_bindir
mkdir -p %buildroot%python_sitelibdir/
mkdir -p %buildroot%pkgdata
cp -R Globals %buildroot%pkgdata
cp -R Font %buildroot%pkgdata
cp -R xdxf %buildroot%pkgdata
#cp -R %oname %buildroot%pkgdata
# install binfile
install -m755 %name %buildroot%_bindir/%name
cp -R %oname %buildroot/%python_sitelibdir/
# install EduApp modules
#cp -r asymptopia_0_1_3 %buildroot/%python_sitelibdir/
# below is the desktop file and icon stuff.
install -Dm 644 %SOURCE1 %buildroot%_desktopdir/%name.desktop
install -Dm 644 %SOURCE2 %buildroot%_pixmapsdir/%name.png
#mkdir -p /var/games/%oname/Globals/globals/
#>/var/games/%oname/Globals/globals/config
%files
%doc README* VERSION CHANGES LICENSE VERSION
%_bindir/%name
%python_sitelibdir/%oname/
#%python_sitelibdir/asymptopia_0_1_3
%_desktopdir/%name.desktop
%_pixmapsdir/%name.png
#%config(noreplace) /var/games/%oname/Globals/globals/config
%pkgdata/
%changelog
…
Полный changelog можно просмотреть здесь