tuxpaint-vl.spec 7.1 KB

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