Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
isv:hp:education
TuxWordSmith
TuxWordSmith.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File TuxWordSmith.spec of Package TuxWordSmith
# # spec file for package TuxWordSmith # # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # # norootforbuild Name: TuxWordSmith Summary: Scrabble like game for young children Version: 0.6.7 Release: 1 Group: Amusements/Games License: GPL Vendor: openSUSE-Education Url: http://www.asymptopia.org/staticpages/index.php?page=TuxWordSmith Source0: %{name}-%{version}.tar.bz2 Source1: %{name}.desktop Source2: %{name}.png Patch1: TuxWordSmith-0.6.7-use-localdir.patch Patch2: TuxWordSmith-0.6.7-asb.gif.patch Requires: python-pygame Requires: python-wxGTK Requires: SDL Recommends: TuxWordSmith-dictionaries BuildRequires: python %if 0%{?suse_version} BuildRequires: update-desktop-files %endif %if 0%{?suse_version} > 1020 BuildRequires: fdupes %endif BuildRoot: %{_tmppath}/%{name}-%{version}-build %{py_requires} %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. Author: ------- Charles B. Cosse %prep %setup -q -n %{name} %patch1 -p0 %patch2 -p0 find -type d -name .svn -print0 | xargs -0 rm -rf {} \; %build %install mkdir -p %buildroot%{_bindir} mkdir -p %buildroot%{py_sitedir} mkdir -p %buildroot/var/games/%{name} # config for i in Globals Font xdxf; do mv $i %buildroot/var/games/%{name}/ done sed -i "s|__PYSIDEDIR__|%{py_sitedir}|g" %buildroot/var/games/%{name}/Globals/globals/config # install binfile install -m755 tuxwordsmith %buildroot%{_bindir}/%{name} cp -r %{name} %buildroot/%py_sitedir/ # below is the desktop file and icon stuff. install -Dm 644 %SOURCE1 %buildroot%{_datadir}/applications/%{name}.desktop install -Dm 644 %SOURCE2 %buildroot%{_datadir}/pixmaps/%{name}.png %suse_update_desktop_file -n %{name} Education Math # save discspace: symlink duplicates %if 0%{?suse_version} > 1020 %fdupes -s %buildroot %endif %clean rm -rf %buildroot %files %defattr(-, root, root) %doc CHANGES LICENSE README VERSION %{_bindir}/%{name}* %py_sitedir/%{name} %{_datadir}/applications/%{name}.desktop %{_datadir}/pixmaps/%{name}.png %config(noreplace) /var/games/%{name}/Globals/globals/config /var/games/%{name} %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor