elisa-vl.spec 5.9 KB

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