2024-01-05 18:45:24 +01:00
|
|
|
Name: tuxtype
|
2024-01-05 18:45:25 +01:00
|
|
|
Version: 1.8.3
|
|
|
|
Release: 1mamba
|
2024-01-05 18:45:24 +01:00
|
|
|
Summary: Tux Typing is an educational typing tutor for children.
|
|
|
|
Group: Graphical Desktop/Applications/Educational
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
2024-01-05 18:45:25 +01:00
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: http://tux4kids.alioth.debian.org/
|
|
|
|
Source: https://github.com/tux4kids/tuxtype.git/upstream%2f%{version}/tuxtype-%{version}.tar.bz2
|
2024-01-05 18:45:24 +01:00
|
|
|
Patch0: %{name}2-1.5.3-settings.patch
|
|
|
|
Patch1: %{name}2-1.5.3-it.patch
|
|
|
|
License: GPL
|
|
|
|
BuildRequires: ImageMagick
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libSDL-devel
|
2024-01-05 18:45:25 +01:00
|
|
|
BuildRequires: libSDL_Pango-devel
|
2024-01-05 18:45:24 +01:00
|
|
|
BuildRequires: libSDL_image-devel
|
|
|
|
BuildRequires: libSDL_mixer-devel
|
2024-01-05 18:45:25 +01:00
|
|
|
BuildRequires: libSDL_net-devel
|
|
|
|
BuildRequires: libcairo-devel
|
|
|
|
BuildRequires: libgdk-pixbuf-devel
|
|
|
|
BuildRequires: libglib-devel
|
|
|
|
BuildRequires: libharfbuzz-devel
|
|
|
|
BuildRequires: libpango-devel
|
|
|
|
BuildRequires: librsvg-devel
|
|
|
|
BuildRequires: libt4kcommon-devel
|
|
|
|
BuildRequires: libxml2-devel
|
2024-01-05 18:45:24 +01:00
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
|
|
|
|
%description
|
|
|
|
Tux Typing is an educational typing tutor for children. It features several different types of gameplay, at a variety of difficulty levels.
|
|
|
|
|
2024-01-05 18:45:25 +01:00
|
|
|
%debug_package
|
|
|
|
|
2024-01-05 18:45:24 +01:00
|
|
|
%prep
|
2024-01-05 18:45:25 +01:00
|
|
|
%setup -q
|
|
|
|
#-D -T
|
|
|
|
#:<< _EOF
|
|
|
|
#%patch0 -p1
|
|
|
|
#%patch1 -p1
|
|
|
|
sed -i "\,chown root:games,d" Makefile.*
|
|
|
|
|
|
|
|
autoreconf -f -i
|
2024-01-05 18:45:24 +01:00
|
|
|
|
|
|
|
%build
|
2024-01-05 18:45:25 +01:00
|
|
|
#:<< _EOF
|
2024-01-05 18:45:24 +01:00
|
|
|
%configure
|
|
|
|
%make LDFLAGS="-lm"
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
|
|
|
|
|
|
|
%makeinstall
|
|
|
|
|
2024-01-05 18:45:25 +01:00
|
|
|
convert -geometry 48x48 tuxtype.ico %{name}-48.png
|
2024-01-05 18:45:24 +01:00
|
|
|
install -D -m 644 %{name}-48.png %{buildroot}%{_datadir}/pixmaps/%{name}.png
|
|
|
|
|
|
|
|
# Create the system menu entry
|
|
|
|
mkdir -p %{buildroot}%{_datadir}/applications
|
|
|
|
cat > %{buildroot}%{_datadir}/applications/%{name}.desktop << EOF
|
|
|
|
[Desktop Entry]
|
|
|
|
Name=Tuxtyping
|
|
|
|
GenericName=Educational typing tutor for children
|
|
|
|
GenericName[it]=Gioco sulle parole con Tux
|
|
|
|
Comment=educational typing tutor for children
|
2024-01-05 18:45:25 +01:00
|
|
|
Exec=tuxtype -w
|
2024-01-05 18:45:24 +01:00
|
|
|
Icon=%{_datadir}/pixmaps/tuxtype.png
|
|
|
|
Terminal=false
|
|
|
|
Type=Application
|
|
|
|
Categories=Game;KidsGame;
|
|
|
|
X-KDE-StartupNotify=false
|
|
|
|
EOF
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/*
|
2024-01-05 18:45:25 +01:00
|
|
|
%dir %{_datadir}/tuxtype
|
|
|
|
%{_datadir}/tuxtype/*
|
2024-01-05 18:45:24 +01:00
|
|
|
%{_datadir}/applications/tuxtype.desktop
|
|
|
|
%{_datadir}/pixmaps/tuxtype.png
|
2024-01-05 18:45:25 +01:00
|
|
|
%dir %{_docdir}/tuxtype
|
|
|
|
%{_docdir}/tuxtype/*
|
2024-01-05 18:45:24 +01:00
|
|
|
%doc AUTHORS COPYING
|
|
|
|
#%doc ChangeLog INSTALL README README.Win32 TODO
|
|
|
|
|
|
|
|
%changelog
|
2024-01-05 18:45:25 +01:00
|
|
|
* Sat Nov 26 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 1.8.3-1mamba
|
|
|
|
- update to 1.8.3
|
|
|
|
|
2024-01-05 18:45:24 +01:00
|
|
|
* Tue Aug 27 2013 Automatic Build System <autodist@mambasoft.it> 1.5.3-7mamba
|
|
|
|
- automatic rebuild by autodist
|
|
|
|
|
|
|
|
* Fri Aug 29 2008 Tiziana Ferro <tiziana.ferro@email.it> 1.5.3-6mamba
|
|
|
|
- update system menu entry, vendor, distribution, packager
|
|
|
|
- added buildrequirements list
|
|
|
|
|
|
|
|
* Tue Nov 15 2005 Alessandro Ramazzina <alessandro.ramazzina@qilinux.it> 1.5.3-5qilnx
|
|
|
|
- modified desktop file
|
|
|
|
|
|
|
|
* Mon Nov 14 2005 Alessandro Ramazzina <alessandro.ramazzina@qilinux.it> 1.5.3-4qilnx
|
|
|
|
- added patch for italian translation
|
|
|
|
|
|
|
|
* Fri Oct 21 2005 Alessandro Ramazzina <alessandro.ramazzina@qilinux.it> 1.5.3-3qilnx
|
|
|
|
- added -w parameter to the exec file
|
|
|
|
|
|
|
|
* Tue Aug 30 2005 Massimo Pintore <massimo.pintore@qilinux.it> 1.5.3-2qilnx
|
|
|
|
- package created by autospec
|
|
|
|
- patched to starts with italian language
|
|
|
|
|
|
|
|
* Mon Jul 11 2005 Alessandro Ramazzina <alessandro.ramazzina@qilinux.it> 1.5.3-1qilnx
|
|
|
|
- package created by autospec
|