moovida-plugins-ugly-vl.spec 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145
  1. %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")
  2. Summary: Ugly Plugins for the Moovida Media Center
  3. Summary(ja): Moovida メディアセンター用 Ugly プラグイン
  4. Name: moovida-plugins-ugly
  5. Version: 1.0.9
  6. Release: 1%{?_dist_release}
  7. Source0: http://www.moovida.com/media/public/%{name}-%{version}.tar.gz
  8. Source101: elisa-plugin-flickr-ja.po
  9. Source102: elisa-plugin-shoutcast-ja.po
  10. Source103: elisa-plugin-youtube-ja.po
  11. License: GPLv3
  12. Group: Applications/Multimedia
  13. URL: http://www.moovida.com/
  14. Requires: python
  15. Requires: moovida = %{version}
  16. BuildRequires: python, python-devel
  17. # Plugin requirements, in order, only once each
  18. # flickr
  19. Requires: python-twill, python-twisted-web2
  20. # lirc
  21. Requires: lirc
  22. # shoutcast
  23. #Requires: python-twisted-web2
  24. # youtube
  25. #Requires: python-twisted-web2
  26. #Requires: gstreamer-plugins-ugly (but it should not depends non-free package...)
  27. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  28. BuildArch: noarch
  29. Obsoletes: elisa-plugins-ugly
  30. Packager: kazutaka
  31. %description
  32. This package contains the ugly set of plugins for the Moovida
  33. Media Center, plugins which are ugly quality but do not
  34. present any licensing issues.
  35. %description -l ja
  36. このパッケージは Moovida メディアセンター用のプラグインのセットを
  37. 含んでいます。ここに含まれるプラグインは品質は悪いですが、特許等
  38. の問題は抱えていません。
  39. %prep
  40. %setup -q -n elisa-plugins-ugly-%{version}
  41. %build
  42. %{__python} setup.py build
  43. %install
  44. %{__rm} -rf ${RPM_BUILD_ROOT}
  45. %{__python} setup.py install \
  46. --single-version-externally-managed \
  47. --root ${RPM_BUILD_ROOT}
  48. # install japanese message catalog
  49. %{__mkdir_p} ${RPM_BUILD_ROOT}%{python_sitelib}/elisa/plugins/flickr/i18n/ja/LC_MESSAGES
  50. %{__mkdir_p} ${RPM_BUILD_ROOT}%{python_sitelib}/elisa/plugins/shoutcast/i18n/ja/LC_MESSAGES
  51. %{__mkdir_p} ${RPM_BUILD_ROOT}%{python_sitelib}/elisa/plugins/youtube/i18n/ja/LC_MESSAGES
  52. %{__cp} %{SOURCE101} ${RPM_BUILD_ROOT}%{python_sitelib}/elisa/plugins/flickr/i18n/ja.po
  53. %{__cp} %{SOURCE102} ${RPM_BUILD_ROOT}%{python_sitelib}/elisa/plugins/shoutcast/i18n/ja.po
  54. %{__cp} %{SOURCE103} ${RPM_BUILD_ROOT}%{python_sitelib}/elisa/plugins/youtube/i18n/ja.po
  55. msgfmt %{SOURCE101} -o ${RPM_BUILD_ROOT}%{python_sitelib}/elisa/plugins/flickr/i18n/ja/LC_MESSAGES/elisa-plugin-flickr.mo
  56. msgfmt %{SOURCE102} -o ${RPM_BUILD_ROOT}%{python_sitelib}/elisa/plugins/shoutcast/i18n/ja/LC_MESSAGES/elisa-plugin-shoutcast.mo
  57. msgfmt %{SOURCE103} -o ${RPM_BUILD_ROOT}%{python_sitelib}/elisa/plugins/youtube/i18n/ja/LC_MESSAGES/elisa-plugin-youtube.mo
  58. %clean
  59. %{__rm} -rf ${RPM_BUILD_ROOT}
  60. %files
  61. %defattr(-,root,root)
  62. %{python_sitelib}/elisa/plugins/flickr/
  63. %{python_sitelib}/elisa/plugins/lirc/
  64. %{python_sitelib}/elisa/plugins/shoutcast/
  65. %{python_sitelib}/elisa/plugins/youtube/
  66. %{python_sitelib}/elisa_plugin_*
  67. %changelog
  68. * Sat Dec 05 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 1.0.9-1
  69. - new upstream release
  70. * Sun Nov 22 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 1.0.8-1
  71. - new upstream release
  72. - add japanese translations as Source101,102 and 103 (export from launchpad)
  73. * Fri Sep 18 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 1.0.7-1
  74. - new upstream release
  75. * Mon Aug 10 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 1.0.6-1
  76. - new upstream release
  77. * Sat Jun 20 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 1.0.3-1
  78. - new upstream release with new name
  79. - add Obsoletes: elisa-plugins-ugly
  80. * Fri May 01 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.5.37-1
  81. - new upstream release
  82. * Thu Apr 23 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.5.36-1
  83. - new upstream release
  84. * Thu Apr 09 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.5.35-1
  85. - new upstream release
  86. * Wed Apr 01 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.5.34-1
  87. - new upstream release
  88. * Tue Mar 17 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.5.32-1
  89. - new upstream release
  90. * Fri Mar 13 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.5.31-1
  91. - new upstream release
  92. * Sun Mar 01 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.5.29-1
  93. - new upstream release
  94. * Fri Feb 20 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.5.28-1
  95. - new upstream release
  96. * Fri Feb 06 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.5.26-1
  97. - new upstream release
  98. * Tue Jan 27 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.5.25-1
  99. - new upstream release
  100. * Wed Jan 21 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.5.24.1-1
  101. - new upstream release
  102. * Sat Jan 17 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.5.23-1
  103. - new upstream release
  104. * Sun Dec 28 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.5.22-1
  105. - initial build for Vine Linux