moovida-plugins-bad-vl.spec 7.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220
  1. %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")
  2. Summary: Bad Plugins for the Moovida Media Center
  3. Summary(ja): Moovida メディアセンター用 Bad プラグイン
  4. Name: moovida-plugins-bad
  5. Version: 1.0.9
  6. Release: 1%{?_dist_release}
  7. Source0: http://www.moovida.com/media/public/%{name}-%{version}.tar.gz
  8. #Source1: elisa-plugin-database.po
  9. #Source2: elisa-plugin-favorites.po
  10. #Source3: elisa-plugin-poblesec.po
  11. #Source4: elisa-plugin-dvd.po
  12. Source101: elisa-plugin-database-ja.po
  13. Source102: elisa-plugin-dvd-ja.po
  14. Source103: elisa-plugin-poblesec-ja.po
  15. License: GPLv3
  16. Group: Applications/Multimedia
  17. URL: http://www.moovida.com/
  18. Requires: python
  19. Requires: moovida = %{version}
  20. BuildRequires: python, python-devel
  21. BuildRequires: moovida-base = %{version}
  22. BuildRequires: gettext
  23. # Plugin requirements, in order, only once each
  24. # amazon, amp, avahi
  25. Requires: dbus-python, avahi-tools
  26. # coherence
  27. Requires: python-Coherence
  28. # daap
  29. Requires: python-twisted-web2
  30. ## drop python-storm-sqlite dependency for Vine Linux. Is this still required?
  31. # database
  32. # Requires: python-storm-sqlite
  33. ## drop ipython dependency for Vine Linux. Is this still required?
  34. # favorites
  35. # Requires: ipython
  36. # filtered_shares, gstreamer
  37. Requires: gstreamer-python, gstreamer-plugins-good, python-imaging
  38. ## drop python-gpod dependency. python binding is not included in libgpod yet.
  39. # ipod
  40. # Requires: python-gpod
  41. # pigment
  42. Requires: pigment-python, pygtk2
  43. # poblesec (gst.element_factory_make('libvisual_jess'))
  44. ## dropped libvisual dependency for Vine Linux. Is this really usefull?
  45. # Requires: libvisual-plugins
  46. Requires: pygtk2, dbus-python
  47. # yesfm
  48. Requires: python-simplejson
  49. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  50. BuildArch: noarch
  51. Obsoletes: elisa-plugins-bad
  52. Packager: kazutaka
  53. %description
  54. This package contains the bad set of plugins for the Moovida
  55. Media Center, plugins which are not considered feature complete
  56. or polished enough to be in the good set of plugins, but do
  57. not present any licensing issues.
  58. %description -l ja
  59. このパッケージは Moovida メディアセンター用のプラグインのセットを
  60. 含んでいます。ここに含まれるプラグインはすべての機能を備えていないか、
  61. Good プラグインに入れられるほど洗練されていませんが、特許等の問題は
  62. 抱えていません。
  63. %prep
  64. %setup -q -n elisa-plugins-bad-%{version}
  65. %build
  66. %{__python} setup.py build
  67. %install
  68. %{__rm} -rf ${RPM_BUILD_ROOT}
  69. %{__python} setup.py install \
  70. --single-version-externally-managed \
  71. --root ${RPM_BUILD_ROOT}
  72. # remove Windows only plugins
  73. %{__rm} -rf ${RPM_BUILD_ROOT}%{python_sitelib}/elisa/plugins/elisa_updater/ \
  74. ${RPM_BUILD_ROOT}%{python_sitelib}/elisa_plugin_elisa_updater* \
  75. ${RPM_BUILD_ROOT}%{python_sitelib}/elisa/plugins/smbwin32/ \
  76. ${RPM_BUILD_ROOT}%{python_sitelib}/elisa_plugin_smb_win32* \
  77. ${RPM_BUILD_ROOT}%{python_sitelib}/elisa/plugins/winremote/ \
  78. ${RPM_BUILD_ROOT}%{python_sitelib}/elisa_plugin_winremote* \
  79. ${RPM_BUILD_ROOT}%{python_sitelib}/elisa/plugins/wmd/ \
  80. ${RPM_BUILD_ROOT}%{python_sitelib}/elisa_plugin_wmd*
  81. # install japanese message catalog
  82. %{__mkdir_p} ${RPM_BUILD_ROOT}%{python_sitelib}/elisa/plugins/database/i18n/ja/LC_MESSAGES
  83. %{__mkdir_p} ${RPM_BUILD_ROOT}%{python_sitelib}/elisa/plugins/dvd/i18n/ja/LC_MESSAGES
  84. %{__mkdir_p} ${RPM_BUILD_ROOT}%{python_sitelib}/elisa/plugins/poblesec/i18n/ja/LC_MESSAGES
  85. %{__cp} %{SOURCE101} ${RPM_BUILD_ROOT}%{python_sitelib}/elisa/plugins/database/i18n/ja.po
  86. %{__cp} %{SOURCE102} ${RPM_BUILD_ROOT}%{python_sitelib}/elisa/plugins/dvd/i18n/ja.po
  87. %{__cp} %{SOURCE103} ${RPM_BUILD_ROOT}%{python_sitelib}/elisa/plugins/poblesec/i18n/ja.po
  88. msgfmt %{SOURCE101} -o ${RPM_BUILD_ROOT}%{python_sitelib}/elisa/plugins/database/i18n/ja/LC_MESSAGES/elisa-plugin-database.mo
  89. msgfmt %{SOURCE102} -o ${RPM_BUILD_ROOT}%{python_sitelib}/elisa/plugins/dvd/i18n/ja/LC_MESSAGES/elisa-plugin-dvd.mo
  90. msgfmt %{SOURCE103} -o ${RPM_BUILD_ROOT}%{python_sitelib}/elisa/plugins/poblesec/i18n/ja/LC_MESSAGES/elisa-plugin-poblesec.mo
  91. %clean
  92. %{__rm} -rf ${RPM_BUILD_ROOT}
  93. %files
  94. %defattr(-,root,root)
  95. %{python_sitelib}/elisa/plugins/amazon/
  96. %{python_sitelib}/elisa/plugins/amp/
  97. %{python_sitelib}/elisa/plugins/avahi/
  98. %{python_sitelib}/elisa/plugins/coherence/
  99. %{python_sitelib}/elisa/plugins/daap/
  100. %{python_sitelib}/elisa/plugins/database/
  101. %{python_sitelib}/elisa/plugins/discogs/
  102. %{python_sitelib}/elisa/plugins/dvd/
  103. #%{python_sitelib}/elisa/plugins/favorites/
  104. %{python_sitelib}/elisa/plugins/filtered_shares/
  105. %{python_sitelib}/elisa/plugins/gstreamer/
  106. %{python_sitelib}/elisa/plugins/http_client/
  107. %{python_sitelib}/elisa/plugins/ipod/
  108. %{python_sitelib}/elisa/plugins/lastfm/
  109. %{python_sitelib}/elisa/plugins/osso/
  110. %{python_sitelib}/elisa/plugins/pigment/
  111. %{python_sitelib}/elisa/plugins/poblesec/
  112. %{python_sitelib}/elisa/plugins/rss/
  113. %{python_sitelib}/elisa/plugins/search/
  114. #%{python_sitelib}/elisa/plugins/shelf/
  115. %{python_sitelib}/elisa/plugins/themoviedb/
  116. %{python_sitelib}/elisa/plugins/thetvdb/
  117. #%{python_sitelib}/elisa/plugins/yesfm/
  118. %{python_sitelib}/elisa_plugin_*
  119. %changelog
  120. * Sat Dec 05 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 1.0.9-1
  121. - new upstream release
  122. * Sun Nov 22 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 1.0.8-1
  123. - new upstream release
  124. - drop old translations
  125. - add new translations as Source101,102 and 103 (export from launchpad)
  126. * Thu Sep 24 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 1.0.7-2
  127. - update Source1&3: fix wrong translations
  128. * Fri Sep 18 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 1.0.7-1
  129. - new upstream release
  130. - update japanese translation (Source3)
  131. - drop obsolete plugin 'favorites' & its translation (Source2)
  132. - add new translation for dvd plugin (Source4)
  133. * Mon Aug 10 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 1.0.6-1
  134. - new upstream release
  135. * Sat Jun 20 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 1.0.3-1
  136. - new upstream release with new name
  137. - add Obsoletes: elisa-plugins-bad
  138. * Fri May 01 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.5.37-1
  139. - new upstream release
  140. * Thu Apr 23 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.5.36-1
  141. - new upstream release
  142. * Thu Apr 09 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.5.35-1
  143. - new upstream release
  144. * Wed Apr 01 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.5.34-1
  145. - new upstream release
  146. * Tue Mar 17 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.5.32-1
  147. - new upstream release
  148. * Fri Mar 13 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.5.31-1
  149. - new upstream release
  150. * Sun Mar 01 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.5.29-1
  151. - new upstream release
  152. * Fri Feb 20 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.5.28-1
  153. - new upstream release
  154. - update translation of Source1 (elisa-plugin-database.po)
  155. * Fri Feb 06 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.5.26-1
  156. - new upstream release
  157. - update source3 (poblesec japanese translation catalog)
  158. * Tue Jan 27 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.5.25-1
  159. - new upstream release
  160. * Wed Jan 21 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.5.24.1-1
  161. - new upstream release
  162. * Sun Jan 11 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.5.22-3
  163. - fix poblesec japanese message catalog installtion (wrong file name)
  164. - drop patch1 (fixed in upstream)
  165. * Tue Dec 30 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.5.22-2
  166. - add japanese message catalogs as Source1 to Source3
  167. - add patch1 to fix strftime error on utf-8 environment
  168. * Wed Dec 24 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.5.22-1
  169. - new upstream release
  170. * Thu Dec 04 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.5.20-1
  171. - new upstream release
  172. * Sun Nov 16 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.5.17-1
  173. - initial build for Vine Linux