Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.1
tuxtype
tuxtype.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File tuxtype.spec of Package tuxtype
# # spec file for package tuxtype (Version 1.5.17) # # Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: tuxtype Summary: Typing tutor for children Url: http://tuxtype.sf.net %define realname tuxtype_w_fonts License: GPL v2 or later Group: Amusements/Games/Action/Other Version: 1.5.17 Release: 61 Source: %realname-%version.tar.bz2 Source1: tuxtype-rpmlintrc Source2: tuxtype.desktop Patch0: tuxtype_w_fonts-1.5.17-printf.patch Patch1: tuxtype_w_fonts-1.5.17-uninitialized_variables.patch Patch2: tuxtype-1.5.17-german_keyboard.patch Patch3: tuxtype-1.5.17-german_language.patch Patch4: tuxtype-1.5.17-no-return-in-nonvoid-function.patch Patch5: tuxtype-1.5.17-missing-return-expressions.patch BuildRequires: SDL-devel SDL_Pango-devel SDL_image-devel SDL_mixer-devel dialog gcc-c++ gtk-devel %if 0%{?suse_version} < 1010 BuildRequires: SDL_ttf %else BuildRequires: SDL_ttf-devel > 2.0.8 %endif BuildRequires: ImageMagick update-desktop-files %if 0%{?suse_version} > 1020 BuildRequires: fdupes %endif BuildRoot: %{_tmppath}/%{name}-%{version}-build %description TuxTyping is an educational typing tutor for children. It is graphical and requires SDL. %prep %setup -q -n %realname-%version %patch0 -p1 %patch1 %patch2 -p1 %patch3 -p1 %patch4 -p1 %patch5 %build ## autoreconf --force --install %configure --docdir="%{_defaultdocdir}/%{name}" make %{?jobs:-j %jobs} %install %if 0%{?suse_version} < 1030 for i in $(find . -name Makefile ); do sed -i "s#MKDIR_P#mkdir_p#g" $i done %endif %makeinstall # remove unneeded data rm -rf %buildroot/usr/doc/tuxtype rm -rf %buildroot%_datadir/tuxtype/{autorun.inf,OFL.txt} # install desktop file and icon install -Dm644 %{SOURCE2} %buildroot%_datadir/applications/%name.desktop mkdir -p %buildroot%_datadir/pixmaps convert -scale 48x48 %name.ico %buildroot%_datadir/pixmaps/%name.png rm -rf %buildroot%_datadir/tuxtype/*.ico %suse_update_desktop_file %name Game KidsGame # save some discspace using symlinks %if %suse_version > 1020 %fdupes -s %buildroot %endif %clean rm -rf %buildroot %files %defattr(-,root,root) %doc README AUTHORS COPYING ChangeLog OFL.txt TODO %doc tuxtype/docs/en/*.html %doc tuxtype/data/sounds/README_SOUNDS.TXT %doc tuxtype/data/images/README_IMAGES.TXT %{_bindir}/tuxtype %dir %_datadir/tuxtype %dir %_datadir/tuxtype/data %_datadir/tuxtype/data/* %_datadir/applications/%name.desktop %_datadir/pixmaps/%name.png %changelog * Thu Nov 06 2008 pgajdos@suse.cz - fix missing return expressions [bnc#441179] (missing-return-expressions.patch) * Wed May 07 2008 lrupp@suse.de - fix nonvoid functions with no return values (tuxtype-1.5.17-no-return-in-nonvoid-function.patch) * Tue Apr 01 2008 lars@linux-schulserver.de - fixed german keyboard layout (thanks to Patrick Winnertz) (tuxtype-1.5.17-german_keyboard.patch) * Sat Mar 29 2008 lars@linux-schulserver.de - update to 1.5.17: + corrected Greek theme + Makefile updates to work correctly with automake + new Nepali theme contributed by Vikal Acharya and Shakeel Shrestha - splitted tuxtype.desktop file out of the specfile * Thu Jan 10 2008 lars@linux-schulserver.de - added tuxtype_w_fonts-1.5.16-printf.patch - added tuxtype_w_fonts-1.5.16-uninitialized_variables.patch * Fri Dec 28 2007 lars@linux-schulserver.de - update to 1.5.16: + added translations (czech, russian) + added Wolof theme by Issa Dominique Rochefort + updated Makefiles + possible bugfix that may have prevented recognition of chars beyond 255 in cascade and comet zap games - require correct SDL_ttf-devel version (for Education:desktop) - require SDL_Pango-devel - create desktop menu entry (use the *.ico => BReq: ImageMagick) * Mon Aug 13 2007 lrupp@suse.de - also require SDL_ttf for old distributions * Fri Jul 06 2007 meissner@suse.de - SDL_ttf-devel buildrequires, fdupes * Tue Oct 31 2006 meissner@suse.de - use RPM_OPT_FLAGS * Wed Jun 14 2006 dmueller@suse.de - build parallel * Wed Mar 29 2006 aj@suse.de - Remove pciutils from BuildRequires, its not needed. * Mon Jan 30 2006 lmichnovic@suse.cz - added gcc-c++ into BuildRequires * Wed Jan 25 2006 mls@suse.de - converted neededforbuild to BuildRequires * Tue May 31 2005 ltinkl@suse.cz - update to 1.5.3 * Wed Jan 14 2004 ltinkl@suse.cz - update to 1.5.2 * Sat Jan 10 2004 adrian@suse.de - add %%defattr * Tue Jul 15 2003 ltinkl@suse.cz - updated sources to version 1.5.1 - install data into /usr/share/tuxtype2 - throw unused patches away * Thu Jun 05 2003 ro@suse.de - remove unpackaged files from buildroot * Mon Nov 11 2002 ro@suse.de - changed neededforbuild <xshared> to <x-devel-packages> - changed neededforbuild <xdevel> to <> * Tue Apr 16 2002 tcrhak@suse.cz - added -lgcc_s to AC_CHECK_LIB(SDL_mixer, ...) * Fri Mar 15 2002 tcrhak@suse.cz - added dir %%{_prefix}/share/games/tuxtype to filelist * Tue Feb 19 2002 tcrhak@suse.cz - fixed moving /usr/games/tuxtype to /usr/share/games/tuxtype (bug #13563) - cleaned up patch * Fri Feb 01 2002 ro@suse.de - changed neededforbuild <libpng> to <libpng-devel-packages> * Wed Jan 16 2002 ro@suse.de - fixed to compile (no kde-ish libtool macros) * Fri Jan 11 2002 ro@suse.de - fixed automake/autoconf - moved /usr/games/tuxtype to /usr/share/games/tuxtype * Thu Nov 22 2001 schwab@suse.de - Add %%suse_update_config. * Tue Nov 20 2001 tcrhak@suse.cz - initial version 1.0.1
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