Summary: A drawing program for young children Name: tuxpaint Version: 0.9.35 Release: 1%{?dist} Epoch: 1 License: GPL Group: Multimedia/Graphics URL: https://tuxpaint.org/ Source0: https://downloads.sourceforge.net/%{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root Requires: SDL2 >= 2.0 SDL2_image SDL2_mixer SDL2_ttf SDL2_Pango SDL2_gfx libpaper fribidi xdg-utils libimagequant BuildRequires: SDL2-devel >= 2.0 SDL2_image-devel SDL2_mixer-devel SDL2_ttf-devel SDL2_Pango-devel SDL2_gfx-devel BuildRequires: librsvg2-devel libpaper-devel fribidi-devel gperf gettext >= 0.19.7 ImageMagick xdg-utils libimagequant-devel %description "Tux Paint" is a drawing program for young children. It provides a simple interface and fixed canvas size, and provides access to previous images using a thumbnail browser (e.g., no access to the underlying file-system). Unlike popular drawing programs like "The GIMP," it has a very limited tool-set. However, it provides a much simpler interface, and has entertaining, child-oriented additions such as sound effects. %package devel Summary: development files for tuxpaint plugins. Group: Development/Libraries Requires: tuxpaint = %{version} Requires: SDL2-devel >= 2.0 SDL2_image-devel SDL2_mixer-devel SDL2_ttf-devel SDL2_Pango-devel SDL2_gfx-devel Requires: librsvg2-devel libpaper-devel fribidi-devel gperf %description devel development files for tuxpaint plugins. %prep %setup -q %build make PREFIX=%{_prefix} DOC_PREFIX=%{_docdir}/tuxpaint linux_ARCH_CFLAGS='-I/usr/include/imagequant -I/usr/include/freetype2' %install rm -rf $RPM_BUILD_ROOT make PACKAGE_ONLY=yes \ PREFIX=%{_prefix} DESTDIR=$RPM_BUILD_ROOT \ DOC_PREFIX=$RPM_BUILD_ROOT%{_docdir}/tuxpaint \ DEVDOC_PREFIX=$RPM_BUILD_ROOT%{_docdir}/tuxpaint/devel \ install # Scripts in this directory force dependency on python2 and fontforge rm -rf $RPM_BUILD_ROOT%{_datadir}/tuxpaint/fonts/locale/zh_tw_docs %post update-desktop-database %postun update-desktop-database %clean rm -rf $RPM_BUILD_ROOT %files %defattr(755,root,root,755) %{_bindir}/tuxpaint %{_bindir}/tuxpaint-import %{_prefix}/lib/tuxpaint/* %defattr(644,root,root,755) %config(noreplace) %{_sysconfdir}/tuxpaint/tuxpaint.conf %{_sysconfdir}/bash_completion.d/010_tuxpaint-completion.bash %{_docdir}/tuxpaint/* %{_datadir}/tuxpaint/* %{_datadir}/applications/tuxpaint*.desktop %{_datadir}/icons/hicolor/*/apps/tuxpaint.png %{_datadir}/metainfo/org.tuxpaint.Tuxpaint.appdata.xml %{_datadir}/locale/*/LC_MESSAGES/tuxpaint.mo %{_mandir}/man1/tuxpaint*.* %{_mandir}/*/man1/tuxpaint*.* %exclude %{_docdir}/tuxpaint/*/MAGIC-API.txt %exclude %{_docdir}/tuxpaint/*/tp_magic_example.c %exclude %{_docdir}/tuxpaint/*/html/MAGIC-API.html %exclude %{_docdir}/tuxpaint/*/html/tp_magic_example.c %files devel %attr(755,root,root) %{_bindir}/tp-magic-config %defattr(644,root,root,755) %{_includedir}/tuxpaint/tp_magic_api.h %{_mandir}/man1/tp-magic-config.* %{_docdir}/tuxpaint/*/MAGIC-API.txt %{_docdir}/tuxpaint/*/tp_magic_example.c %{_docdir}/tuxpaint/*/html/MAGIC-API.html %{_docdir}/tuxpaint/*/html/tp_magic_example.c %changelog * Fri Nov 15 2024 - - Set version number 0.9.35 * Fri Jul 26 2024 - - Set version number 0.9.34 * Thu Feb 29 2024 - - Set version number 0.9.33 * Tue Nov 21 2023 - - Set version number 0.9.32 * Sat Jul 08 2023 - - Use PACKAGE_ONLY=yes for desktop icon installation * Wed Jun 07 2023 - - Added fullscreen launcher icon. * Sat May 20 2023 - - Set version number 0.9.31 * Tue Apr 04 2023 - - Set version number 0.9.30 * Wed Mar 22 2023 - Removed suffix "-sdl2" from the release tar ball. * Fri Mar 10 2023 - Magic docs to go the main package - Magic devel docs to go the devel package - Excluded outdated docs. * Sun Dec 11 2022 - - Updated URL to HTTPS * Wed Jun 29 2022 - - Changed library requirements from SDL to SDL2 - Adapted to the change of naming rule of tar ball. * Wed Jun 29 2022 - - Set minimum version requirement for gettext * Tue Jun 14 2022 - - Set version number 0.9.29 * Wed Dec 01 2021 - - Set version number 0.9.28 * Thu Oct 07 2021 - - Set version number 0.9.27 - doc/Makefile no longer installed * Sun Dec 27 2020 - - Set version number 0.9.26 * Mon Jun 22 2020 - - Set version number 0.9.25 * Fri May 1 2020 - - Enabled using xdg-utils for installing icons. - Wrong date in %changelog - Re-organized %files section - Correct path for 'tp-magic-config --plugindocprefix' * Sat Mar 14 2020 - - Disable target "install-xdg". Add ImageMagick for BuildReq. * Thu Sep 26 2019 - - Set version number 0.9.24 * Sun Aug 19 2018 - - Set version number 0.9.23 * Mon Aug 20 2012 - - Corrected 'Requires' and 'BuildRequires' * Wed Dec 07 2011 - - Added bash-completion file * Wed Jul 1 2009 - - Set version number 0.9.22 * Sun May 24 2009 - - For 0.9.21 - Added dependency for fribidi * Tue Jun 17 2008 - - Actually set Epoch number * Sat Apr 26 2008 - - DESTDIR is the standard name, not PKG_ROOT * Fri Mar 21 2008 - - Set version number 0.9.20 - Set Epoch number - Requirements added for -devel package. * Sun Mar 02 2008 - - 0.9.19 - Requires SDL_Pango - Included magic tools - Separated devel package * Fri Jun 01 2007 - - Requires librsvg2 and libpaper * Fri Sep 08 2006 - - New offical URL for tuxpaint (http://www.tuxpaint.org/). * Mon Aug 07 2006 - - "DESTDIR" patch is no longer needed. * Thu Nov 03 2005 Richard June - - Do not force install desktop icons when Gnome and/or KDE are not installed. * Sun Mar 27 2005 - - Some hicolor icons not installed were removed from file list * Fri Jan 14 2005 - - Changed Group from Amusements/Games to Multimedia/Graphics * Tue Sep 21 2004 - - Initial build for version 0.9.14