[521] | 1 | Summary: Drawing program designed for young children |
---|
| 2 | Summary(ja): 子供向けのお絵かきソフトウェア |
---|
| 3 | Name: tuxpaint |
---|
[9139] | 4 | Version: 0.9.22 |
---|
| 5 | Release: 1%{?_dist_release} |
---|
[521] | 6 | Source0: http://dl.sf.net/%{name}/%{name}-%{version}.tar.gz |
---|
| 7 | Patch0: tuxpaint-utf8.patch |
---|
| 8 | Patch1: tuxpaint-0.9.20-fix-desktop-file.patch |
---|
| 9 | License: GPLv2+ |
---|
| 10 | Group: Applications/Multimedia |
---|
| 11 | URL: http://www.tuxpaint.org/ |
---|
| 12 | |
---|
| 13 | BuildRequires: SDL-devel >= 1.2.4 |
---|
| 14 | BuildRequires: SDL_image-devel |
---|
| 15 | BuildRequires: SDL_mixer-devel |
---|
| 16 | BuildRequires: SDL_ttf-devel |
---|
| 17 | BuildRequires: SDL_Pango-devel |
---|
| 18 | BuildRequires: desktop-file-utils |
---|
| 19 | BuildRequires: freetype2-devel >= 2.0 |
---|
| 20 | BuildRequires: gettext |
---|
| 21 | BuildRequires: libpaper-devel |
---|
| 22 | BuildRequires: libpng-devel |
---|
| 23 | BuildRequires: librsvg2-devel |
---|
| 24 | BuildRequires: netpbm-devel |
---|
| 25 | BuildRequires: fribidi-devel |
---|
[9139] | 26 | BuildRequires: gperf |
---|
[521] | 27 | |
---|
| 28 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 29 | |
---|
| 30 | Packager: kazutaka |
---|
| 31 | |
---|
| 32 | %description |
---|
| 33 | "Tux Paint" is a free drawing program designed for young children |
---|
| 34 | (kids ages 3 and up). It has a simple, easy-to-use interface, |
---|
| 35 | fun sound effects, and a cartoon mascot who helps you along. |
---|
| 36 | |
---|
| 37 | %description -l ja |
---|
| 38 | タックスペイントは、3歳から12歳の子供向けの、フリーのお絵かき |
---|
| 39 | プログラムです。簡単な操作と楽しい効果音を兼ね備え、マスコット |
---|
| 40 | キャラクターが、プログラムを使ってお絵かきをする子供たちの案 |
---|
| 41 | 内役を務めます。 |
---|
| 42 | |
---|
| 43 | 日本語環境で使用する場合は、ボタンの文字や説明文などは、全て |
---|
| 44 | ひらがなやカタカナのみで表示されます。 |
---|
| 45 | |
---|
| 46 | %package devel |
---|
| 47 | Summary: Development files for tuxpaint extensions/plugins |
---|
| 48 | Group: Development/Libraries |
---|
| 49 | Requires: %{name} = %{version}-%{release} |
---|
| 50 | |
---|
| 51 | %description devel |
---|
| 52 | Development files for tuxpaint extensions/plugins |
---|
| 53 | |
---|
| 54 | %description devel -l ja |
---|
| 55 | tuxpaint 用の extensions/plugins 開発に必要なファイルです。 |
---|
| 56 | |
---|
| 57 | %prep |
---|
| 58 | %setup -q |
---|
| 59 | %patch0 -p1 |
---|
| 60 | %patch1 -p1 -b .fixdesktopfile |
---|
| 61 | |
---|
| 62 | sed -i -e '/\/gnome\/apps\/Graphics/d' Makefile |
---|
| 63 | find docs -type f -exec perl -pi -e 's/\r\n/\n/' {} \; |
---|
| 64 | find docs -type f -perm +100 -exec chmod a-x {} \; |
---|
| 65 | |
---|
| 66 | make PREFIX=/usr MAGIC_PREFIX=%{_libdir}/tuxpaint/plugins tp-magic-config |
---|
| 67 | |
---|
| 68 | %build |
---|
| 69 | make %{?_smp_mflags} \ |
---|
| 70 | PREFIX=/usr \ |
---|
| 71 | CFLAGS="$RPM_OPT_FLAGS" \ |
---|
| 72 | MAGIC_PREFIX=%{_libdir}/tuxpaint/plugins |
---|
| 73 | |
---|
| 74 | %install |
---|
| 75 | rm -rf $RPM_BUILD_ROOT |
---|
| 76 | mkdir -p $RPM_BUILD_ROOT/%{_bindir} |
---|
| 77 | mkdir -p $RPM_BUILD_ROOT/%{_datadir}/%{name} |
---|
| 78 | make install PKG_ROOT=$RPM_BUILD_ROOT PREFIX=%{_usr} \ |
---|
| 79 | X11_ICON_PREFIX=$RPM_BUILD_ROOT%{_datadir}/pixmaps/ \ |
---|
| 80 | GNOME_PREFIX=/usr \ |
---|
| 81 | KDE_PREFIX="" \ |
---|
| 82 | KDE_ICON_PREFIX=/usr/share/icons \ |
---|
| 83 | MAGIC_PREFIX=$RPM_BUILD_ROOT%{_libdir}/tuxpaint/plugins |
---|
| 84 | find $RPM_BUILD_ROOT -type d|xargs chmod 0755 |
---|
| 85 | %find_lang %{name} |
---|
| 86 | |
---|
| 87 | desktop-file-install --dir $RPM_BUILD_ROOT/%{_datadir}/applications \ |
---|
| 88 | --vendor vine \ |
---|
| 89 | --add-category KidsGame \ |
---|
| 90 | --delete-original \ |
---|
| 91 | $RPM_BUILD_ROOT%{_datadir}/applications/tuxpaint.desktop |
---|
| 92 | |
---|
| 93 | rm -rf $RPM_BUILD_ROOT%{_docdir}/%{name} |
---|
| 94 | |
---|
| 95 | %clean |
---|
| 96 | rm -rf $RPM_BUILD_ROOT |
---|
| 97 | |
---|
| 98 | %files -f %{name}.lang |
---|
| 99 | %defattr(-,root,root,-) |
---|
| 100 | %dir %{_sysconfdir}/%{name} |
---|
| 101 | %config(noreplace) %{_sysconfdir}/%{name}/%{name}.conf |
---|
| 102 | %doc docs |
---|
[9139] | 103 | %{_sysconfdir}/bash_completion.d/tuxpaint-completion.bash |
---|
[521] | 104 | %{_bindir}/* |
---|
| 105 | %{_datadir}/%{name} |
---|
| 106 | %{_datadir}/applications/* |
---|
| 107 | %{_datadir}/pixmaps/* |
---|
| 108 | %{_datadir}/icons/*/*/apps/* |
---|
| 109 | %{_libdir}/%{name}/ |
---|
| 110 | %{_mandir}/man1/* |
---|
| 111 | %{_mandir}/*/man1/* |
---|
| 112 | |
---|
| 113 | %files devel |
---|
| 114 | %defattr(-,root,root,-) |
---|
| 115 | %doc %{_datadir}/doc/%{name}-dev/ |
---|
| 116 | %{_includedir}/tuxpaint/ |
---|
| 117 | |
---|
| 118 | %changelog |
---|
[9139] | 119 | * Sun Dec 07 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.22-1 |
---|
| 120 | - new upstream release |
---|
| 121 | - remove Patch2,3,4 |
---|
| 122 | - add BuildRequires: gperf |
---|
| 123 | |
---|
[8846] | 124 | * Sun Jul 20 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.21-2 |
---|
| 125 | - rebuild with libpng-1.6.12 |
---|
| 126 | - add Patch3 (tuxpaint-0.9.21-png15.patch) from fedora |
---|
| 127 | - add Patch4 (tuxpaint-0.9.21-makefile.patch) |
---|
| 128 | |
---|
[521] | 129 | * Sat Oct 10 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.9.21-1 |
---|
| 130 | - new upstream release |
---|
| 131 | - add BuildRequires: fribidi-devel |
---|
| 132 | - add patch2 to fix puzzle plugin error |
---|
| 133 | |
---|
| 134 | * Thu May 21 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.9.20-1 |
---|
| 135 | - initial build for Vine Linux based of fedora development |
---|
| 136 | - add japanese summary and description |
---|
| 137 | - add patch2 to fix puzzle plugin |
---|
| 138 | |
---|
| 139 | * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.9.20-3 |
---|
| 140 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
| 141 | |
---|
| 142 | * Mon Dec 01 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 1:0.9.20-2 |
---|
| 143 | - Rebuild for Python 2.6 |
---|
| 144 | |
---|
| 145 | * Mon Sep 8 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1:0.9.20-1 |
---|
| 146 | - update to 0.9.20 |
---|
| 147 | |
---|
| 148 | * Mon Sep 8 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1:0.9.17-4 |
---|
| 149 | - fix license tag |
---|
| 150 | |
---|
| 151 | * Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1:0.9.17-3 |
---|
| 152 | - Autorebuild for GCC 4.3 |
---|
| 153 | |
---|
| 154 | * Wed Aug 29 2007 Fedora Release Engineering <rel-eng at fedoraproject dot org> - 1:0.9.17-2 |
---|
| 155 | - Rebuild for selinux ppc32 issue. |
---|
| 156 | |
---|
| 157 | * Sat Jul 07 2007 Steven Pritchard <steve@kspei.com> 1:0.9.17-1 |
---|
| 158 | - Update to 0.9.17. |
---|
| 159 | - BR librsvg2-devel and libpaper-devel. |
---|
| 160 | - Add include path for glibconfig.h to CFLAGS. |
---|
| 161 | |
---|
| 162 | * Tue Jan 30 2007 Steven Pritchard <steve@kspei.com> 1:0.9.16-4 |
---|
| 163 | - Honor $RPM_OPT_FLAGS. |
---|
| 164 | - Fix various rpmlint warnings: |
---|
| 165 | - Expand tabs in spec. |
---|
| 166 | - Convert tuxpaint.1 to UTF-8. |
---|
| 167 | - Get rid of DOS line endings in docs. |
---|
| 168 | - Nothing in docs should be executable. |
---|
| 169 | |
---|
| 170 | * Fri Oct 27 2006 Steven Pritchard <steve@kspei.com> 1:0.9.16-3 |
---|
| 171 | - Fix category in tuxpaint.desktop. |
---|
| 172 | |
---|
| 173 | * Thu Oct 26 2006 Steven Pritchard <steve@kspei.com> 1:0.9.16-2 |
---|
| 174 | - Drop "--add-category X-Fedora". |
---|
| 175 | |
---|
| 176 | * Tue Oct 24 2006 Steven Pritchard <steve@kspei.com> 1:0.9.16-1 |
---|
| 177 | - Update to 0.9.16. |
---|
| 178 | |
---|
| 179 | * Thu Oct 05 2006 Christian Iseli <Christian.Iseli@licr.org> 0.9.15b-4 |
---|
| 180 | - rebuilt for unwind info generation, broken in gcc-4.1.1-21 |
---|
| 181 | |
---|
| 182 | * Thu Sep 21 2006 Steven Pritchard <steve@kspei.com> 1:0.9.15b-3 |
---|
| 183 | - Explicitly link libpng. |
---|
| 184 | |
---|
| 185 | * Mon Aug 28 2006 Steven Pritchard <steve@kspei.com> 1:0.9.15b-2 |
---|
| 186 | - Rebuild. |
---|
| 187 | - Update URL. |
---|
| 188 | |
---|
| 189 | * Fri Jun 02 2006 Steven Pritchard <steve@kspei.com> 1:0.9.15b-1 |
---|
| 190 | - Update to 0.9.15b |
---|
| 191 | - Convert tuxpaint.desktop to UTF-8 |
---|
| 192 | - Drop gnome-libs-devel and kdelibs build dependencies by providing |
---|
| 193 | appropriate variables to "make install" |
---|
| 194 | - Add docs properly |
---|
| 195 | - Indirectly require hicolor-icon-theme (so that directories are |
---|
| 196 | owned and have proper permissions) |
---|
| 197 | |
---|
| 198 | * Mon Mar 13 2006 Steven Pritchard <steve@kspei.com> 1:0.9.15-1 |
---|
| 199 | - Update to 0.9.15 |
---|
| 200 | - Drop destdir patch |
---|
| 201 | |
---|
| 202 | * Sun May 22 2005 Jeremy Katz <katzj@redhat.com> - 1:0.9.13-3 |
---|
| 203 | - rebuild on all arches |
---|
| 204 | |
---|
[8846] | 205 | * Thu Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net> |
---|
[521] | 206 | - rebuilt |
---|
| 207 | |
---|
| 208 | * Wed Jun 09 2004 Warren Togami <wtogami@redhat.com> 1:0.9.13-0.fdr.1 |
---|
| 209 | - Epoch bump to override old k12ltsp package |
---|
| 210 | |
---|
| 211 | * Mon May 31 2004 Panu Matilainen <pmatilai@welho.com> 0:0.9.13-0.fdr.1 |
---|
| 212 | - update to 0.9.13 |
---|
| 213 | - take a private copy of desktop file and fix it.. |
---|
| 214 | |
---|
| 215 | * Sun May 30 2004 Panu Matilainen <pmatilai@welho.com> 0:0.9.12-0.fdr.3 |
---|
| 216 | - add missing buildrequires desktop-file-utils (#1667) |
---|
| 217 | |
---|
| 218 | * Fri Oct 03 2003 Panu Matilainen <pmatilai@welho.com> 0:0.9.12-0.fdr.2 |
---|
| 219 | - add missing buildreq's: kdelibs, gnome-libs-devel, SDL_mixer-devel |
---|
| 220 | - remove CVS directories from rpm |
---|
| 221 | |
---|
| 222 | * Tue Aug 26 2003 Panu Matilainen <pmatilai@welho.com> 0:0.9.12-0.fdr.1 |
---|
| 223 | - Initial RPM release. |
---|