moovida-vl.spec 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204
  1. %{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
  2. Summary: Moovida Media Center
  3. Summary(ja): Moovida メディアセンター
  4. Name: moovida
  5. Version: 1.0.9
  6. Release: 1%{?_dist_release}
  7. Source0: http://www.moovida.com/media/public/%{name}-%{version}.tar.gz
  8. Source1: moovida.desktop
  9. Patch0: moovida-1.0.7-disable-auto-update.patch
  10. License: GPLv3 and MIT
  11. Group: Applications/Multimedia
  12. URL: http://www.moovida.com/
  13. Requires: gstreamer-python, pygtk2, pigment, python-cssutils
  14. # Base, split off the required files to build the plugins to avoid a dependency loop
  15. Requires: moovida-base = %{version}-%{release}
  16. # Plugins. The bad are actually mandatory (they contain the GUI for instance)
  17. Requires: moovida-plugins-good = %{version}
  18. Requires: moovida-plugins-bad = %{version}
  19. Requires: moovida-plugins-ugly = %{version}
  20. # Intentionally dropped. Is this really usefull? I don't like it...
  21. #Requires: libvisual, libvisual-plugins
  22. BuildRequires: glib2-devel, gtk2-devel, python-devel, pygtk2-devel
  23. BuildRequires: python-twisted, python-setuptools
  24. BuildRequires: gstreamer-devel, gstreamer-plugins-base-devel
  25. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  26. Buildarch: noarch
  27. Obsoletes: elisa
  28. Packager: kazutaka
  29. %description
  30. Moovida is an open source cross-platform media center solution designed
  31. to be simple for people not particularly familiar with computers. With
  32. Moovida you can enjoy:
  33. - Watch your pictures with previews and nicely animated slideshows.
  34. - Watch your movies and video clips as well as online ones.
  35. - Manage your music collection by artists or albums covers.
  36. - Moovida finds automatically medias on your network, from network
  37. drives, ITunes, Windows Mediaplayer, Rhythmbox, etc.
  38. - Detects automatically iPods, cameras, USB hard drives, etc.
  39. %description -l ja
  40. Moovida は PC が得意ではない人でも使えるようシンプルにデザインされた、
  41. オープンソースのクロス・プラットフォームなメディアセンター・アプリ
  42. ケーションです。
  43. Moovida でできること:
  44. - プレビューやきれいなアニメーション付きのスライドショーで写真を楽しむ。
  45. - ストレージ上やウェブ上にある映画やビデオクリップを楽しむ。
  46. - アーティスト名やアルバム名で音楽のコレクションを管理する。
  47. - Moovida は ネットワークドライブや ITunes、Windows メディアプレイヤー、
  48. Rhythmbox 等の LAN 上のメディアを自動的に見つけます。
  49. - iPods やデジカメ、USB ハードディスク等を自動的に検出します。
  50. #-----------------------------------------------------------------------------
  51. %package base
  52. Summary: Base files for the Moovida Media Center
  53. Summary(ja): Moovida メディアセンター用の基本ファイル
  54. Group: Applications/Multimedia
  55. Requires: python-setuptools, python-imaging, gnome-python-extras
  56. Requires: python-twisted, pyxdg, xdg-user-dirs
  57. Obsoletes: elisa-base
  58. # The whole point of having this base package is to split off the basic files
  59. # which are required to build the plugins, since those plugins are runtime
  60. # required by the main "moovida" package (avoid a dependency loop)
  61. %description base
  62. Base files for the Moovida Media Center.
  63. %description base -l ja
  64. Moovida メディアセンター用の基本ファイルです。
  65. #-----------------------------------------------------------------------------
  66. %prep
  67. %setup -q -n elisa-%{version}
  68. %patch0 -p1 -b .disable-auto-update
  69. %build
  70. %{__python} setup.py build
  71. %install
  72. %{__rm} -rf ${RPM_BUILD_ROOT}
  73. %{__python} setup.py install \
  74. --single-version-externally-managed \
  75. --root ${RPM_BUILD_ROOT}
  76. # install desktop file
  77. %{__install} -m 644 -D %{SOURCE1} ${RPM_BUILD_ROOT}%{_datadir}/applications
  78. # create empty plugins directory
  79. %{__mkdir_p} ${RPM_BUILD_ROOT}%{python_sitelib}/elisa/plugins
  80. # create sym link for elisa -> moovida as temporary workaround
  81. %{__ln_s} elisa ${RPM_BUILD_ROOT}/%{_bindir}/moovida
  82. # remove Windows only utility
  83. %{__rm} -rf ${RPM_BUILD_ROOT}%{python_sitelib}/elisa/core/utils/mswin32
  84. %clean
  85. %{__rm} -rf ${RPM_BUILD_ROOT}
  86. %files
  87. %defattr(-,root,root)
  88. %doc AUTHORS FAQ FIRST_RUN NEWS README RELEASE TRANSLATORS
  89. #%doc docs/*.txt
  90. %{_bindir}/elisa
  91. %{_bindir}/moovida
  92. %{_datadir}/applications/moovida-mobile.desktop
  93. %{_datadir}/applications/moovida.desktop
  94. %{_datadir}/dbus-1/services/com.fluendo.elisa.service
  95. %{_datadir}/icons/moovida.png
  96. %{_datadir}/pixmaps/moovida.png
  97. %{_mandir}/man1/moovida.1.gz
  98. %files base
  99. %defattr(-,root,root)
  100. %doc COPYING LICENSE*
  101. %{python_sitelib}/elisa/
  102. %{python_sitelib}/elisa-*.egg-info/
  103. %{python_sitelib}/elisa-*-nspkg.pth
  104. %changelog
  105. * Sat Dec 05 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 1.0.9-1
  106. - new upstream release
  107. * Sun Nov 22 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 1.0.8-1
  108. - new upstream release
  109. * Fri Sep 18 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 1.0.7-1
  110. - new upstream release
  111. - update patch0 against latest release
  112. * Mon Aug 10 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 1.0.6-1
  113. - new upstream release
  114. * Sun Jun 21 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 1.0.3-2
  115. - fix typo in Obsoletes: for moovida-base
  116. * Sat Jun 20 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 1.0.3-1
  117. - new upstream release with new name
  118. - add Obsoletes: elisa, elisa-base
  119. - add Source1: moovida.desktop with japanese tranlation
  120. * Fri May 01 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.5.37-1
  121. - new upstream release
  122. * Thu Apr 23 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.5.36-1
  123. - new upstream release
  124. * Thu Apr 09 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.5.35-1
  125. - new upstream release
  126. * Wed Apr 01 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.5.34-1
  127. - new upstream release
  128. * Tue Mar 17 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.5.32-1
  129. - new upstream release
  130. * Fri Mar 13 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.5.31-1
  131. - new upstream release
  132. * Sun Mar 01 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.5.29-1
  133. - new upstream release
  134. * Fri Feb 20 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.5.28-1
  135. - new upstream release
  136. * Fri Feb 06 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.5.26-1
  137. - new upstream release
  138. - add patch0 to disable automatic plugin update
  139. * Tue Jan 27 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.5.25-1
  140. - new upstream release
  141. * Wed Jan 21 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.5.24.1-1
  142. - new upstream release
  143. * Sat Jan 17 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.5.23-1
  144. - new upstream release
  145. - add Requires: elisa-plugins-guly (is mandatory now)
  146. * Sat Dec 27 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.5.22-2
  147. - update dependency information
  148. * Wed Dec 24 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.5.22-1
  149. - new upstream release
  150. * Thu Dec 04 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.5.20-1
  151. - new upstream release
  152. * Mon Oct 27 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.5.17-1
  153. - initial build for Vine Linux