update to 1.8.3 [release 1.8.3-1mamba;Sat Nov 26 2022]

This commit is contained in:
Silvan Calarco 2024-01-05 18:45:25 +01:00
parent 4769fa5056
commit 60e386cc10

View File

@ -1,35 +1,51 @@
Name: tuxtype
Version: 1.5.3
Release: 7mamba
Version: 1.8.3
Release: 1mamba
Summary: Tux Typing is an educational typing tutor for children.
Group: Graphical Desktop/Applications/Educational
Vendor: openmamba
Distribution: openmamba
Packager: Tiziana Ferro <tiziana.ferro@email.it>
URL: http://tuxtype.sourceforge.net/
Source: http://downloads.sourceforge.net/sourceforge/tuxtype/%{name}2-%{version}.tar.bz2
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
Patch0: %{name}2-1.5.3-settings.patch
Patch1: %{name}2-1.5.3-it.patch
License: GPL
BuildRoot: %{_tmppath}/%{name}-%{version}-root
BuildRequires: ImageMagick
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libSDL-devel
BuildRequires: libSDL_Pango-devel
BuildRequires: libSDL_image-devel
BuildRequires: libSDL_mixer-devel
BuildRequires: libSDL_ttf-devel
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
## 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.
%debug_package
%prep
%setup -q -n %{name}2-%{version}
%patch0 -p1
%patch1 -p1
%setup -q
#-D -T
#:<< _EOF
#%patch0 -p1
#%patch1 -p1
sed -i "\,chown root:games,d" Makefile.*
autoreconf -f -i
%build
#:<< _EOF
%configure
%make LDFLAGS="-lm"
@ -38,10 +54,7 @@ Tux Typing is an educational typing tutor for children. It features several diff
%makeinstall
mkdir -p %{buildroot}/usr/share/doc/tuxtype2
mv %{buildroot}/usr/doc/tuxtype2/* %{buildroot}/usr/share/doc/tuxtype2
convert -geometry 48x48 tuxtype2.ico %{name}-48.png
convert -geometry 48x48 tuxtype.ico %{name}-48.png
install -D -m 644 %{name}-48.png %{buildroot}%{_datadir}/pixmaps/%{name}.png
# Create the system menu entry
@ -52,7 +65,7 @@ Name=Tuxtyping
GenericName=Educational typing tutor for children
GenericName[it]=Gioco sulle parole con Tux
Comment=educational typing tutor for children
Exec=tuxtype2 -w
Exec=tuxtype -w
Icon=%{_datadir}/pixmaps/tuxtype.png
Terminal=false
Type=Application
@ -66,18 +79,19 @@ EOF
%files
%defattr(-,root,root)
%{_bindir}/*
%{_datadir}/doc/tuxtype2/*
%dir %{_datadir}/tuxtype2
%dir %{_datadir}/tuxtype2/data/
%{_datadir}/tuxtype2/data/*
%{_datadir}/tuxtype2/tuxtype2.ico
%{_datadir}/tuxtype2/autorun.inf
%dir %{_datadir}/tuxtype
%{_datadir}/tuxtype/*
%{_datadir}/applications/tuxtype.desktop
%{_datadir}/pixmaps/tuxtype.png
%dir %{_docdir}/tuxtype
%{_docdir}/tuxtype/*
%doc AUTHORS COPYING
#%doc ChangeLog INSTALL README README.Win32 TODO
%changelog
* Sat Nov 26 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 1.8.3-1mamba
- update to 1.8.3
* Tue Aug 27 2013 Automatic Build System <autodist@mambasoft.it> 1.5.3-7mamba
- automatic rebuild by autodist