144 lines
4.7 KiB
RPMSpec
144 lines
4.7 KiB
RPMSpec
Name: tuxpaint
|
|
Version: 0.9.32
|
|
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: 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: libSDL2-devel
|
|
BuildRequires: libcairo-devel
|
|
BuildRequires: libfontconfig-devel
|
|
BuildRequires: libfreetype-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: libsdl2_ttf-devel
|
|
BuildRequires: libz-devel
|
|
## AUTOBUILDREQ-END
|
|
BuildRequires: libfreetype-devel
|
|
BuildRequires: gettext-devel
|
|
BuildRequires: libnetpbm-devel
|
|
|
|
%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
|
|
|
|
%build
|
|
%make -j1 \
|
|
PREFIX=%{_prefix} \
|
|
%ifarch x86_64 aarch64
|
|
LIBDIRSUFFIX=64
|
|
%endif
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
|
%makeinstall \
|
|
PREFIX=%{_prefix} \
|
|
ARCH_INSTALL="install-man install-importscript install-bash-completion" \
|
|
%ifarch x86_64 aarch64
|
|
LIBDIRSUFFIX=64
|
|
%endif
|
|
|
|
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} --with-man --all-name
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
|
|
|
%files -f %{name}.lang
|
|
%defattr(-,root,root)
|
|
%config(noreplace) %{_sysconfdir}/tuxpaint/tuxpaint.conf
|
|
%{_sysconfdir}/bash_completion.d/tuxpaint-completion.bash
|
|
%{_bindir}/tuxpaint*
|
|
%{_bindir}/tp-magic-config
|
|
%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}/*
|
|
%{_mandir}/man1/*
|
|
%doc docs/COPYING.txt
|
|
|
|
%changelog
|
|
* Wed Jan 31 2024 Automatic Build System <autodist@openmamba.org> 0.9.32-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sat Jul 22 2023 Automatic Build System <autodist@mambasoft.it> 0.9.31-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* 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
|
|
|
|
* Mon Oct 13 2014 Automatic Build System <autodist@mambasoft.it> 0.9.22-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sun Apr 06 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.21-2mamba
|
|
- added build patch against libpng 1.5
|
|
|
|
* Thu Jul 09 2009 Automatic Build System <autodist@mambasoft.it> 0.9.21-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Tue Jul 15 2008 gil <puntogil@libero.it> 0.9.20-1mamba
|
|
- update to 0.9.20
|
|
- removed ARCH_LINKS="-lpng12" option
|
|
|
|
* Mon Jan 21 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.18-1mamba
|
|
- update to 0.9.18
|
|
|
|
* Fri Feb 09 2007 Davide Madrisan <davide.madrisan@qilinux.it> 0.9.16-1qilnx
|
|
- update to version 0.9.16 by autospec
|
|
- do not install X11 icon
|
|
- do not install a desktop file for gnome
|
|
- dropped security patch for tempdir setting (fixed upstream)
|
|
|
|
* Tue Jan 17 2006 Alessandro Ramazzina <alessandro.ramazzina@qilinux.it> 0.9.14-3qilnx
|
|
- Added patch for tuxpaint tempdir
|
|
|
|
* Wed Nov 30 2005 Davide Madrisan <davide.madrisan@qilinux.it> 0.9.14-2qilnx
|
|
- fixed package group
|
|
- do not include all the documentation
|
|
- CVS directories removed from package
|
|
|
|
* Thu Jul 07 2005 Alessandro Ramazzina <alessandro.ramazzina@qilinux.it> 0.9.14-1qilnx
|
|
- package created by autospec
|