Name: tuxpaint Version: 0.9.32 Release: 1%{?dist} Epoch: 1 Summary: Drawing program designed for young children License: GPL-2.0-or-later URL: http://www.tuxpaint.org/ Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz Patch1: tuxpaint-import-eval.patch Patch2: tuxpaint-makefile.patch Patch3: tuxpaint-pango-cflags.patch BuildRequires: make BuildRequires: gcc BuildRequires: gcc-c++ BuildRequires: SDL2-devel BuildRequires: SDL2_image-devel BuildRequires: SDL2_mixer-devel BuildRequires: SDL2_ttf-devel BuildRequires: SDL2_gfx-devel BuildRequires: SDL2_Pango-devel BuildRequires: desktop-file-utils BuildRequires: libappstream-glib BuildRequires: freetype-devel >= 2.0 BuildRequires: gettext BuildRequires: libpaper-devel BuildRequires: libpng-devel BuildRequires: librsvg2-devel BuildRequires: netpbm-devel BuildRequires: fribidi-devel BuildRequires: gperf BuildRequires: ImageMagick BuildRequires: libimagequant-devel BuildRequires: xdg-utils # This should guarantee the proper permissions on # all of the /usr/share/icons/hicolor/* directories. Requires: hicolor-icon-theme %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 a cartoon mascot who helps you along. %package devel Summary: Development files for tuxpaint extensions/plugins Requires: %{name} = %{epoch}:%{version}-%{release} %description devel Development files for tuxpaint extensions/plugins %prep %autosetup -p1 sed -i -e '/\/gnome\/apps\/Graphics/d' Makefile find docs -type f -exec perl -pi -e 's/\r\n/\n/' {} \; find docs -type f -perm /100 -exec chmod a-x {} \; make PREFIX=%{_prefix} MAGIC_PREFIX=%{_libdir}/tuxpaint/plugins tp-magic-config %build %make_build \ PREFIX=%{_prefix} \ CFLAGS="%{optflags}" \ MAGIC_PREFIX=%{_libdir}/%{name}/plugins %install mkdir -p $RPM_BUILD_ROOT/%{_bindir} mkdir -p $RPM_BUILD_ROOT/%{_datadir}/%{name} make install PKG_ROOT=$RPM_BUILD_ROOT PREFIX=%{_prefix} \ COMPLETIONDIR=$RPM_BUILD_ROOT%{bash_completions_dir} \ X11_ICON_PREFIX=$RPM_BUILD_ROOT%{_datadir}/pixmaps/ \ GNOME_PREFIX=%{_prefix} \ KDE_PREFIX="" \ KDE_ICON_PREFIX=%{_datadir}/icons \ MAGIC_PREFIX=$RPM_BUILD_ROOT%{_libdir}/tuxpaint/plugins find $RPM_BUILD_ROOT -type d|xargs chmod 0755 %find_lang %{name} for d in 16x16 22x22 32x32 48x48 64x64 96x96 128x128 192x192; do install -D -m0644 data/images/icon${d}.png \ $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/${d}/apps/tuxpaint.png done desktop-file-install --dir $RPM_BUILD_ROOT/%{_datadir}/applications \ --add-category KidsGame \ --delete-original \ src/tuxpaint.desktop appstream-util validate-relax --nonet $RPM_BUILD_ROOT%{_metainfodir}/org.tuxpaint.Tuxpaint.appdata.xml #purge bundled fonts rm -rf $RPM_BUILD_ROOT%{_datadir}/tuxpaint/fonts/* ln -s /usr/share/fonts/dejavu-sans-fonts/DejaVuSans.ttf %{buildroot}%{_datadir}/tuxpaint/fonts/default_font.ttf rm -rf $RPM_BUILD_ROOT%{_docdir}/%{name} %files -f %{name}.lang %dir %{_sysconfdir}/%{name} %config(noreplace) %{_sysconfdir}/%{name}/%{name}.conf %doc docs %{_bindir}/* %{_datadir}/%{name} %{_datadir}/applications/* %{_datadir}/icons/hicolor/*/apps/tuxpaint.png %{_datadir}/pixmaps/* %{_libdir}/%{name}/ %{_mandir}/man1/* %{_mandir}/*/man1/* %{bash_completions_dir}/tuxpaint-completion.bash %{_metainfodir}/org.tuxpaint.Tuxpaint.appdata.xml %files devel %doc %{_datadir}/doc/%{name}-%{version}/ %{_includedir}/tuxpaint/ %changelog * Sun Mar 10 2024 Sérgio Basto - 1:0.9.32-1 - Update tuxpaint to 0.9.32 - add patches from build.opensuse.org/package/show/openSUSE%3AFactory/tuxpaint * Mon Jan 29 2024 Gwyn Ciesla - 1:0.9.29-4 - SDL2_Pango rebuild * Sat Jan 27 2024 Fedora Release Engineering - 1:0.9.29-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sat Jul 22 2023 Fedora Release Engineering - 1:0.9.29-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Mon Apr 03 2023 Gwyn Ciesla - 1:0.9.29-1 - 0.9.29 * Tue Mar 07 2023 Gwyn Ciesla - 1:0.9.28-8 - migrated to SPDX license * Sat Mar 04 2023 Sandro Mani - 1:0.9.28-7 - Rebuild (libimagequant) * Sat Jan 21 2023 Fedora Release Engineering - 1:0.9.28-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Sun Jan 8 2023 Tom Callaway - 1:0.9.28-5 - rebuild for new libpaper v2 * Wed Jan 04 2023 Gwyn Ciesla - 1:0.9.28-4 - Patch for fill tool crash. * Tue Sep 06 2022 Gwyn Ciesla - 1:0.9.28-3 - Build with SDL2_Pango * Sat Jul 23 2022 Fedora Release Engineering - 1:0.9.28-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Thu Jun 16 2022 Gwyn Ciesla - 1:0.9.28-1 - 0.9.28 * Wed Apr 20 2022 Sérgio Basto - 1:0.9.27-3 - Remove BR kdelibs as part of the plan of remove kde4 * Sat Jan 22 2022 Fedora Release Engineering - 1:0.9.27-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Wed Dec 01 2021 Gwyn Ciesla - 1:0.9.27-1 - 0.9.27 * Fri Jul 23 2021 Fedora Release Engineering - 1:0.9.26-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jun 29 2021 Gwyn Ciesla - 1:0.9.26-1 - 0.9.26 * Wed Jan 27 2021 Fedora Release Engineering - 1:0.9.25-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Mon Dec 28 2020 Gwyn Ciesla - 1:0.9.25-1 - 0.9.25 * Wed Jul 29 2020 Fedora Release Engineering - 1:0.9.24-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Sun May 31 2020 Gwyn Ciesla - 1:0.9.24-1 - 0.9.24 * Wed Feb 26 2020 Gwyn Ciesla - 1:0.9.23-1 - 0.9.23 * Fri Jan 31 2020 Fedora Release Engineering - 1:0.9.22-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Sat Jul 27 2019 Fedora Release Engineering - 1:0.9.22-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sun Feb 03 2019 Fedora Release Engineering - 1:0.9.22-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Mon Jul 16 2018 Colin B. Macdonald - 1:0.9.22-9 - Add dependency on gcc, gcc-c++ (see #1551327) - Replace unversioned python calls with python2 (see #1585626) * Sat Jul 14 2018 Fedora Release Engineering - 1:0.9.22-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Fri Feb 09 2018 Fedora Release Engineering - 1:0.9.22-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Aug 03 2017 Fedora Release Engineering - 1:0.9.22-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 1:0.9.22-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sat Feb 11 2017 Fedora Release Engineering - 1:0.9.22-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Fri Feb 05 2016 Fedora Release Engineering - 1:0.9.22-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Thu Jan 07 2016 Jon Ciesla - 1:0.9.22-2 - Drop bundled fonts, BZ 477471. * Thu Jan 07 2016 Jon Ciesla - 1:0.9.22-1 - 0.9.22. - Fixed bogus changelog dates. * Fri Jun 19 2015 Fedora Release Engineering - 1:0.9.21-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Thu Mar 26 2015 Richard Hughes - 1:0.9.21-15 - Add an AppData file for the software center * Mon Aug 18 2014 Fedora Release Engineering - 1:0.9.21-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sun Jun 08 2014 Fedora Release Engineering - 1:0.9.21-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Thu Aug 22 2013 Ralf Corsépius - 1:0.9.21-12 - Use find -perm / instead of obsolete + (FTBFS, RHBZ#992825). * Sun Aug 04 2013 Fedora Release Engineering - 1:0.9.21-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Tue Feb 12 2013 Jon Ciesla - 1:0.9.21-10 - Drop desktop vendor tag. * Sun Jul 22 2012 Fedora Release Engineering - 1:0.9.21-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Thu Mar 22 2012 Tom Callaway - 1:0.9.21-8 - fix compile against libpng15 * Sat Jan 14 2012 Fedora Release Engineering - 1:0.9.21-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Tue Dec 06 2011 Adam Jackson - 1:0.9.21-6 - Rebuild for new libpng * Wed Feb 09 2011 Fedora Release Engineering - 1:0.9.21-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Wed Aug 11 2010 David Malcolm - 1:0.9.21-4 - recompiling .py files against Python 2.7 (rhbz#623414) * Wed Mar 3 2010 Lubomir Rintel - 1:0.9.21-3 - Fix link with new linker - Fix incorrect memset() arguments - Fix parallel build * Thu Nov 19 2009 Jon Ciesla - 1:0.9.21-2 - Corrected icon requires, BZ 533965. * Fri Oct 23 2009 Jon Ciesla - 1:0.9.21-1 - New upstream. - Corrected desktop patch. * Sun Jul 26 2009 Fedora Release Engineering - 1:0.9.20-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Wed Feb 25 2009 Fedora Release Engineering - 1:0.9.20-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Mon Dec 01 2008 Ignacio Vazquez-Abrams - 1:0.9.20-2 - Rebuild for Python 2.6 * Mon Sep 8 2008 Tom "spot" Callaway - 1:0.9.20-1 - update to 0.9.20 * Mon Sep 8 2008 Tom "spot" Callaway - 1:0.9.17-4 - fix license tag * Tue Feb 19 2008 Fedora Release Engineering - 1:0.9.17-3 - Autorebuild for GCC 4.3 * Wed Aug 29 2007 Fedora Release Engineering - 1:0.9.17-2 - Rebuild for selinux ppc32 issue. * Sat Jul 07 2007 Steven Pritchard 1:0.9.17-1 - Update to 0.9.17. - BR librsvg2-devel and libpaper-devel. - Add include path for glibconfig.h to CFLAGS. * Tue Jan 30 2007 Steven Pritchard 1:0.9.16-4 - Honor $RPM_OPT_FLAGS. - Fix various rpmlint warnings: - Expand tabs in spec. - Convert tuxpaint.1 to UTF-8. - Get rid of DOS line endings in docs. - Nothing in docs should be executable. * Fri Oct 27 2006 Steven Pritchard 1:0.9.16-3 - Fix category in tuxpaint.desktop. * Thu Oct 26 2006 Steven Pritchard 1:0.9.16-2 - Drop "--add-category X-Fedora". * Tue Oct 24 2006 Steven Pritchard 1:0.9.16-1 - Update to 0.9.16. * Thu Oct 05 2006 Christian Iseli 0.9.15b-4 - rebuilt for unwind info generation, broken in gcc-4.1.1-21 * Thu Sep 21 2006 Steven Pritchard 1:0.9.15b-3 - Explicitly link libpng. * Mon Aug 28 2006 Steven Pritchard 1:0.9.15b-2 - Rebuild. - Update URL. * Fri Jun 02 2006 Steven Pritchard 1:0.9.15b-1 - Update to 0.9.15b - Convert tuxpaint.desktop to UTF-8 - Drop gnome-libs-devel and kdelibs build dependencies by providing appropriate variables to "make install" - Add docs properly - Indirectly require hicolor-icon-theme (so that directories are owned and have proper permissions) * Mon Mar 13 2006 Steven Pritchard 1:0.9.15-1 - Update to 0.9.15 - Drop destdir patch * Sun May 22 2005 Jeremy Katz - 1:0.9.13-3 - rebuild on all arches * Thu Apr 7 2005 Michael Schwendt - rebuilt * Wed Jun 09 2004 Warren Togami 1:0.9.13-0.fdr.1 - Epoch bump to override old k12ltsp package * Mon May 31 2004 Panu Matilainen 0:0.9.13-0.fdr.1 - update to 0.9.13 - take a private copy of desktop file and fix it.. * Sun May 30 2004 Panu Matilainen 0:0.9.12-0.fdr.3 - add missing buildrequires desktop-file-utils (#1667) * Fri Oct 03 2003 Panu Matilainen 0:0.9.12-0.fdr.2 - add missing buildreq's: kdelibs, gnome-libs-devel, SDL_mixer-devel - remove CVS directories from rpm * Tue Aug 26 2003 Panu Matilainen 0:0.9.12-0.fdr.1 - Initial RPM release.