elisa-plugins-bad-vl.spec 6.8 KB

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