tuxpaint-stamps-vl.spec 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. Name: tuxpaint-stamps
  2. Version: 2014.08.23
  3. Release: 1%{?_dist_release}
  4. Summary: Extra stamp files for tuxpaint
  5. Summary(ja): tuxpaint 用の追加のスタンプファイル
  6. Group: Applications/Multimedia
  7. License: GPL+ and GFDL and CC-BY-SA and Public Domain
  8. URL: http://www.tuxpaint.org/
  9. Source0: http://dl.sourceforge.net/tuxpaint/tuxpaint-stamps-%{version}.tar.gz
  10. BuildArch: noarch
  11. BuildRequires: python gettext
  12. Requires: tuxpaint
  13. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  14. Packager: kazutaka
  15. %description
  16. This package is a collection of 'rubber stamps' for Tux Paint's
  17. "Stamp" tool.
  18. %description -l ja
  19. このパッケージは Tux Paint の"はんこ"ツール用の'ゴム製スタンプ'
  20. のコレクションです。
  21. %prep
  22. %setup -q
  23. %build
  24. (cd po && sh ./createpo.sh)
  25. (cd po && ./createtxt.sh)
  26. %install
  27. rm -rf $RPM_BUILD_ROOT
  28. install -d $RPM_BUILD_ROOT%{_datadir}/tuxpaint/stamps
  29. make install-all PREFIX=$RPM_BUILD_ROOT%{_prefix}
  30. pushd po
  31. for file in *.po ; do
  32. loc=`echo $file | sed -e 's/tuxpaint-stamps-\(.*\).po/\1/'`
  33. mkdir -p $RPM_BUILD_ROOT%{_datadir}/locale/$loc/LC_MESSAGES
  34. msgfmt -o $RPM_BUILD_ROOT%{_datadir}/locale/$loc/LC_MESSAGES/tuxpaint-stamps.mo $file
  35. done
  36. popd
  37. # License is bad on this file, Creative Commons Sampling Plus 1.0 is non-free.
  38. rm -rf $RPM_BUILD_ROOT%{_datadir}/tuxpaint/stamps/vehicles/emergency/firetruck.ogg
  39. %find_lang %{name}
  40. %clean
  41. rm -rf $RPM_BUILD_ROOT
  42. %files -f %{name}.lang
  43. %defattr(-,root,root,-)
  44. %doc docs/*.txt
  45. %lang(el) %doc docs/el
  46. %lang(es) %doc docs/es
  47. %lang(fr) %doc docs/fr
  48. %lang(hu) %doc docs/hu
  49. %defattr(0644,root,root,0755)
  50. %{_datadir}/tuxpaint/stamps/*
  51. %changelog
  52. * Sun Mar 15 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2014.08.23-1
  53. - update to 2014.08.23
  54. * Sun Feb 05 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2009.06.28-1
  55. - update to 2009.06.28
  56. * Thu May 21 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 2008.06.30-1
  57. - initial build for Vine Linux based of fedora development
  58. - add japanese summary and description
  59. * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2008.06.30-2
  60. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  61. * Mon Sep 8 2008 Tom "spot" Callaway <tcallawa@redhat.com> 2008.06.30-1
  62. - fix license tag
  63. - update to 2008.06.30.
  64. * Sat Jul 07 2007 Steven Pritchard <steve@kspei.com> 2007.07.01-1
  65. - Update to 2007.07.01.
  66. * Tue Oct 24 2006 Steven Pritchard <steve@kspei.com> 2006.10.21-1
  67. - Update to 2006.10.21.
  68. - Remove a little extra whitespace in the spec.
  69. - Just include docs/*.txt.
  70. - Use version macro in Source0 URL.
  71. - Use "install-all" target.
  72. * Mon Aug 28 2006 Wart <wart at kobold dot org> 2005.11.25-1
  73. - Initial Fedora Extras package