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
Version: 0.9.23
Version: 0.9.30
Release: 1mamba
Summary: Free drawing program designed for young children
Group: Graphical Desktop/Applications/Educational
Vendor: openmamba
Distribution: openmamba
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
Patch0: tuxpaint-0.9.21-libpng-1.5.patch
License: GPL
## 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: libSDL2-devel
BuildRequires: libSDL2_ttf-devel
BuildRequires: libcairo-devel
BuildRequires: libfribidi-devel
BuildRequires: libgdk-pixbuf-devel
BuildRequires: libglib-devel
BuildRequires: libharfbuzz-devel
BuildRequires: libimagequant-devel
BuildRequires: libpango-devel
BuildRequires: libpaper-devel
BuildRequires: libpng-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
BuildRequires: libfreetype-devel
BuildRequires: gettext-devel
BuildRequires: libnetpbm-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%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.
%debug_package
%prep
%setup -q
#%patch0 -p1
find -type d -name CVS | xargs rm -fr
%build
%make -j1 PREFIX=%{_prefix}
%make -j1 \
PREFIX=%{_prefix} \
%ifarch x86_64 aarch64
LIBDIRSUFFIX=64
%endif
%install
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
%makeinstall \
PKG_ROOT=%{buildroot} \
PREFIX=%{_prefix} \
KDE_PREFIX=%{_datadir}/applications \
KDE_ICON_PREFIX=%{_datadir}/icons \
GNOME_PREFIX=. \
X11_ICON_PREFIX=.
PREFIX=%{_prefix} \
ARCH_INSTALL="install-man install-importscript install-bash-completion" \
%ifarch x86_64 aarch64
LIBDIRSUFFIX=64
%endif
#mkdir -p %{buildroot}%{_datadir}/applications
#cp %{buildroot}%{_kdedatadir}/applnk/Graphics/tuxpaint.desktop \
# %{buildroot}%{_datadir}/applications/
#rm -rf %{buildroot}%{_kdedatadir}/applnk/Graphics/
install -D -m0644 src/tuxpaint.desktop %{buildroot}%{_datadir}/applications/tuxpaint.desktop
for size in 16 22 32 48 64 96 128 192; do
install -D -m0644 data/images/icon${size}x${size}.png \
%{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
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
@ -67,24 +77,27 @@ X11_ICON_PREFIX=.
%{_sysconfdir}/bash_completion.d/tuxpaint-completion.bash
%{_bindir}/tuxpaint*
%{_bindir}/tp-magic-config
%dir %{_prefix}/lib/tuxpaint
%{_prefix}/lib/tuxpaint/plugins/*.so
%{_includedir}/tuxpaint/tp_magic_api.h
%dir %{_libdir}/tuxpaint
%{_libdir}/tuxpaint/plugins/*.so
%{_datadir}/applications/tuxpaint.desktop
%{_datadir}/icons/hicolor/*/apps/tuxpaint.png
%{_datadir}/icons/hicolor/scalable/apps/tuxpaint.svg
%{_datadir}/pixmaps/*
%dir %{_datadir}/tuxpaint
%{_datadir}/tuxpaint/*
%{_includedir}/tuxpaint/tp_magic_api.h
%dir %{_datadir}/doc/tuxpaint-%{version}
%{_datadir}/doc/tuxpaint-%{version}/*
#%dir %{_docdir}/tuxpaint
#%{_docdir}/tuxpaint/*
%{_mandir}/man1/*
%lang (pl) %{_mandir}/pl/man1/*
%doc docs/COPYING.txt
%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
- automatic version update by autodist