tuxpaint-stamps-vl.spec 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. Name: tuxpaint-stamps
  2. Version: 2008.06.30
  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 && ./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. * Thu May 21 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 2008.06.30-1
  53. - initial build for Vine Linux based of fedora development
  54. - add japanese summary and description
  55. * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2008.06.30-2
  56. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  57. * Mon Sep 8 2008 Tom "spot" Callaway <tcallawa@redhat.com> 2008.06.30-1
  58. - fix license tag
  59. - update to 2008.06.30.
  60. * Sat Jul 07 2007 Steven Pritchard <steve@kspei.com> 2007.07.01-1
  61. - Update to 2007.07.01.
  62. * Tue Oct 24 2006 Steven Pritchard <steve@kspei.com> 2006.10.21-1
  63. - Update to 2006.10.21.
  64. - Remove a little extra whitespace in the spec.
  65. - Just include docs/*.txt.
  66. - Use version macro in Source0 URL.
  67. - Use "install-all" target.
  68. * Mon Aug 28 2006 Wart <wart at kobold dot org> 2005.11.25-1
  69. - Initial Fedora Extras package