update to 0.9.30 [release 0.9.30-1mamba;Wed Jun 07 2023]

This commit is contained in:
Silvan Calarco 2024-01-05 18:44:16 +01:00
parent ce5585ae5f
commit ff5fe158ad

View File

@ -1,62 +1,72 @@
Name: tuxpaint Name: tuxpaint
Version: 0.9.23 Version: 0.9.30
Release: 1mamba Release: 1mamba
Summary: Free drawing program designed for young children Summary: Free drawing program designed for young children
Group: Graphical Desktop/Applications/Educational Group: Graphical Desktop/Applications/Educational
Vendor: openmamba Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.newbreedsoftware.com/tuxpaint/ URL: https://tuxpaint.org/
Source: http://downloads.sourceforge.net/sourceforge/tuxpaint/%{name}-%{version}.tar.gz Source: http://downloads.sourceforge.net/sourceforge/tuxpaint/%{name}-%{version}.tar.gz
Patch0: tuxpaint-0.9.21-libpng-1.5.patch Patch0: tuxpaint-0.9.21-libpng-1.5.patch
License: GPL License: GPL
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
BuildRequires: libSDL-devel BuildRequires: libSDL2-devel
BuildRequires: libSDL_Pango-devel BuildRequires: libSDL2_ttf-devel
BuildRequires: libSDL_image-devel
BuildRequires: libSDL_mixer-devel
BuildRequires: libSDL_ttf-devel
BuildRequires: libcairo-devel BuildRequires: libcairo-devel
BuildRequires: libfribidi-devel BuildRequires: libfribidi-devel
BuildRequires: libgdk-pixbuf-devel BuildRequires: libgdk-pixbuf-devel
BuildRequires: libglib-devel BuildRequires: libglib-devel
BuildRequires: libharfbuzz-devel
BuildRequires: libimagequant-devel
BuildRequires: libpango-devel
BuildRequires: libpaper-devel BuildRequires: libpaper-devel
BuildRequires: libpng-devel BuildRequires: libpng-devel
BuildRequires: librsvg-devel BuildRequires: librsvg-devel
BuildRequires: libsdl2_gfx-devel
BuildRequires: libsdl2_image-devel
BuildRequires: libsdl2_mixer-devel
BuildRequires: libsdl2_pango-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRequires: libfreetype-devel BuildRequires: libfreetype-devel
BuildRequires: gettext-devel BuildRequires: gettext-devel
BuildRequires: libnetpbm-devel BuildRequires: libnetpbm-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description %description
Tux Paint is a free drawing program designed for young children (kids ages 3 and up). It has a simple, easy-to-use interface, fun sound effects, and an encouraging cartoon mascot who helps guide children as they use the program. Tux Paint is a free drawing program designed for young children (kids ages 3 and up). It has a simple, easy-to-use interface, fun sound effects, and an encouraging cartoon mascot who helps guide children as they use the program.
%debug_package
%prep %prep
%setup -q %setup -q
#%patch0 -p1
find -type d -name CVS | xargs rm -fr
%build %build
%make -j1 PREFIX=%{_prefix} %make -j1 \
PREFIX=%{_prefix} \
%ifarch x86_64 aarch64
LIBDIRSUFFIX=64
%endif
%install %install
[ "%{buildroot}" != / ] && rm -rf %{buildroot} [ "%{buildroot}" != / ] && rm -rf %{buildroot}
%makeinstall \ %makeinstall \
PKG_ROOT=%{buildroot} \ PREFIX=%{_prefix} \
PREFIX=%{_prefix} \ ARCH_INSTALL="install-man install-importscript install-bash-completion" \
KDE_PREFIX=%{_datadir}/applications \ %ifarch x86_64 aarch64
KDE_ICON_PREFIX=%{_datadir}/icons \ LIBDIRSUFFIX=64
GNOME_PREFIX=. \ %endif
X11_ICON_PREFIX=.
#mkdir -p %{buildroot}%{_datadir}/applications install -D -m0644 src/tuxpaint.desktop %{buildroot}%{_datadir}/applications/tuxpaint.desktop
#cp %{buildroot}%{_kdedatadir}/applnk/Graphics/tuxpaint.desktop \ for size in 16 22 32 48 64 96 128 192; do
# %{buildroot}%{_datadir}/applications/ install -D -m0644 data/images/icon${size}x${size}.png \
#rm -rf %{buildroot}%{_kdedatadir}/applnk/Graphics/ %{buildroot}%{_datadir}/icons/hicolor/${size}x${size}/apps/tuxpaint.png
done
install -D -m0644 data/images/tuxpaint-icon.svg \
%{buildroot}%{_datadir}/icons/hicolor/scalable/apps/tuxpaint.svg
%{find_lang} %{name} %{find_lang} %{name} --with-man --all-name
%clean %clean
[ "%{buildroot}" != / ] && rm -rf %{buildroot} [ "%{buildroot}" != / ] && rm -rf %{buildroot}
@ -67,24 +77,27 @@ X11_ICON_PREFIX=.
%{_sysconfdir}/bash_completion.d/tuxpaint-completion.bash %{_sysconfdir}/bash_completion.d/tuxpaint-completion.bash
%{_bindir}/tuxpaint* %{_bindir}/tuxpaint*
%{_bindir}/tp-magic-config %{_bindir}/tp-magic-config
%dir %{_prefix}/lib/tuxpaint %dir %{_libdir}/tuxpaint
%{_prefix}/lib/tuxpaint/plugins/*.so %{_libdir}/tuxpaint/plugins/*.so
%{_includedir}/tuxpaint/tp_magic_api.h
%{_datadir}/applications/tuxpaint.desktop %{_datadir}/applications/tuxpaint.desktop
%{_datadir}/icons/hicolor/*/apps/tuxpaint.png %{_datadir}/icons/hicolor/*/apps/tuxpaint.png
%{_datadir}/icons/hicolor/scalable/apps/tuxpaint.svg %{_datadir}/icons/hicolor/scalable/apps/tuxpaint.svg
%{_datadir}/pixmaps/* %{_datadir}/pixmaps/*
%dir %{_datadir}/tuxpaint %dir %{_datadir}/tuxpaint
%{_datadir}/tuxpaint/* %{_datadir}/tuxpaint/*
%{_includedir}/tuxpaint/tp_magic_api.h
%dir %{_datadir}/doc/tuxpaint-%{version} %dir %{_datadir}/doc/tuxpaint-%{version}
%{_datadir}/doc/tuxpaint-%{version}/* %{_datadir}/doc/tuxpaint-%{version}/*
#%dir %{_docdir}/tuxpaint
#%{_docdir}/tuxpaint/*
%{_mandir}/man1/* %{_mandir}/man1/*
%lang (pl) %{_mandir}/pl/man1/* %doc docs/COPYING.txt
%changelog %changelog
* Wed Jun 07 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.30-1mamba
- update to 0.9.30
* Wed Jun 07 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.25-1mamba
- update to 0.9.25
* Fri Sep 28 2018 Automatic Build System <autodist@mambasoft.it> 0.9.23-1mamba * Fri Sep 28 2018 Automatic Build System <autodist@mambasoft.it> 0.9.23-1mamba
- automatic version update by autodist - automatic version update by autodist