amarok-vl.spec 8.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259
  1. Name: amarok
  2. Version: 1.4.10
  3. Release: 4%{?_dist_release}
  4. Summary: a music player with an intuitive interface.
  5. Summary(ja): 直感的なインターフェースを備えた音楽プレイヤです。
  6. License: GPLv2
  7. Group: Applications/Multimedia
  8. URL: http://amarok.kde.org
  9. Source0: ftp://ftp.kddlabs.co.jp/pub/X11/kde/stable/%{name}/%{version}/src/%{name}-%{version}.tar.bz2
  10. Patch1: amarok-1.4.8-gcc43.patch
  11. Patch2: amarok-1.4.7-xdg.patch
  12. Patch3: workaround-missing-libfam.la-libidn.la.patch
  13. Patch4: amarok-1.4.10-fix-libmtp-0.3.0-API.patch
  14. Patch100: amarok-1.4.10-CVE-2009-0135-0136.patch
  15. #PreReq: self-build-faac
  16. PreReq: MySQL-server, MySQL-client, MySQL-shared, libnjb, libnjb-examples, xine-lib, libgpod >= 0.4.2, SDL, kdemultimedia >= 3.5, xine-lib-alsa, xine-lib-ogg, libart_lgpl
  17. PreReq: ruby, taglib, libstdc++3, desktop-file-utils, self-build-libmad, self-build-faad2
  18. BuildPreReq: XOrg-devel, kdelibs-devel >= 3.5, kdebase-devel, qt >= 3.3.5, libusb-devel, mysql-devel, xine-lib-devel, libstdc++3-devel
  19. BuildPreReq: ruby-devel, SDL-devel, desktop-file-utils, taglib-devel, libvisual, libvisual-plugins, avahi-qt3-devel, libgpod-devel
  20. BuildPreReq: xmms-devel, HelixPlayer, libpng-devel,libjpeg-devel, postgresql-devel, esound-devel,libgpod >= 0.4.2, libart_lgpl-devel, libvisual-devel
  21. BuildPreReq: libnjb-devel,self-build-faad2, self-build-libmad
  22. #xdg-utils
  23. # --with-gstreamer
  24. #BuildRequires: gstreamer-plugins-base-devel, gstreamer-plugins-good-devel, gstreamer-devel
  25. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  26. Vendor: Project Vine
  27. Distribution: Vine Linux
  28. %description
  29. Amarok is the music player for Linux and Unix with an intuitive interface.
  30. Amarok makes playing the music you love easier than ever before.
  31. %description -l ja
  32. Amarokは、直感的インターフェースを備えた、Linux および Unix 用の音楽プレーヤーです。
  33. Amarokはより好きな音楽を簡単に再生します。
  34. %package konqueror
  35. Summary: Amarok konqueror (service menus, sidebar) support
  36. Summary(ja): Amarok konqueror (サービスメニュー, サイドバー) をサポートします。
  37. Group: Applications/Multimedia
  38. Requires: %{name} = %{version}-%{release}
  39. %description konqueror
  40. Amarok konqueror (service menus, sidebar) support
  41. %description konqueror -l ja
  42. Amarok konqueror (サービスメニュー, サイドバー) をサポートします。
  43. %package visualisation
  44. Summary: Visualisation plugins for Amarok
  45. Summary(ja): Amarok 用の Visualisation プラグインです。
  46. Group: Applications/Multimedia
  47. Requires: %{name} = %{version}-%{release}
  48. Requires: libvisual, libvisual-plugins
  49. %description visualisation
  50. Visualisation plugins for Amarok
  51. %description visualisation -l ja
  52. Amarok 用の Visualisation プラグインです。
  53. %package xine-engine
  54. Summary: xine-engine for Amarok
  55. Summary(ja): Amarok 用の xine エンジンです。
  56. Group: Applications/Multimedia
  57. Requires: %{name} = %{version}-%{release}
  58. %description xine-engine
  59. xine-engine for Amarok
  60. %description xine-engine -l ja
  61. Amarok 用の xine エンジンです。
  62. %package helix-engine
  63. Summary: helix-engine for Amarok
  64. Summary(ja): Amarok 用の Helix エンジンです。
  65. Group: Applications/Multimedia
  66. Requires: %{name} = %{version}-%{release}
  67. Requires: HelixPlayer
  68. %description helix-engine
  69. helix-engine for Amarok
  70. %description xine-engine -l ja
  71. Amarok 用の Helix エンジンです。
  72. %package void-engine
  73. Summary: void-engine for Amarok
  74. Summary(ja): Amarok 用の void-engine です。
  75. Group: Applications/Multimedia
  76. Requires: %{name} = %{version}-%{release}
  77. %description void-engine
  78. void-engine for Amarok
  79. %description void-engine -l ja
  80. Amarok 用の void-engine です。
  81. %prep
  82. %setup -q
  83. %patch1 -p1 -b .gcc43
  84. %patch2 -p1 -b .xdg
  85. %patch3 -p1 -b .work
  86. %patch4 -p1 -b .api
  87. %patch100 -p1 -b .cve
  88. %build
  89. unset QTDIR || : ; . /etc/profile.d/qt.sh
  90. %configure \
  91. --disable-rpath \
  92. --enable-new-ldflags \
  93. --prefix=%{_prefix} \
  94. --enable-mysql \
  95. --enable-postgresql \
  96. --with-mp4v2 \
  97. --with-libgpod \
  98. --without-kdnssd-avahi \
  99. --with-helix=%{_libdir}/helix
  100. %{__make} %{?_smp_mflags}
  101. %install
  102. %{__rm} -rf $RPM_BUILD_ROOT
  103. %{__make} install DESTDIR=$RPM_BUILD_ROOT
  104. # unpackaged files
  105. %{__rm} -f $RPM_BUILD_ROOT%{_libdir}/*.la
  106. %{__rm} -f $RPM_BUILD_ROOT%{_libdir}/ruby_lib/*.la
  107. %find_lang %{name}
  108. %clean
  109. %{__rm} -rf $RPM_BUILD_ROOT
  110. %post
  111. /sbin/ldconfig
  112. update-desktop-database &> /dev/null ||:
  113. if [ $LANG = "ja_JP.UTF-8" ]; then
  114. echo ""
  115. echo ""
  116. echo "amarok 関連パッケージがあります。"
  117. echo "併せてインストールしてください。"
  118. echo ""
  119. echo "amarok-xine-engine"
  120. echo "amarok 用の xine エンジン"
  121. echo ""
  122. echo "self-build-xine-lib-extras"
  123. echo "m4a フォーマット形式の音楽ファイルを再生する為のパッケージ"
  124. echo "self-build-xine-lib-faad はこのパッケージに統合されましたので、こちらをインストールしてください。"
  125. echo ""
  126. echo "amarok-visualisation"
  127. echo "amarok 用のビジュアルを有効にするためのパッケージ"
  128. echo ""
  129. echo "moodbar"
  130. echo "オーディオファイルの内容を色鮮やかなビジュアル表現で作成するパッケージ"
  131. echo ""
  132. echo "amarok-helix-engine"
  133. echo "amarok 用の Helix エンジン"
  134. echo ""
  135. echo "amarok-void-engine"
  136. echo "amarok 用の void エンジン"
  137. echo ""
  138. echo "amarok-konqueror"
  139. echo "amarok 用の konqueror (サービスメニュー, サイドバー) をサポートする為のパッケージ"
  140. echo ""
  141. echo "Please visit the website."
  142. echo "http://amarok.kde.org/wiki/Main_Page"
  143. echo ""
  144. echo ""
  145. fi
  146. %postun
  147. /sbin/ldconfig
  148. update-desktop-database &> /dev/null ||:
  149. %files -f %{name}.lang
  150. %defattr(-,root,root)
  151. %doc AUTHORS COPYING ChangeLog INSTALL README
  152. %doc %{_docdir}/HTML/*/amarok/*
  153. %{_bindir}/amarok
  154. %{_bindir}/amarokapp
  155. %{_bindir}/amarokcollectionscanner
  156. %{_bindir}/amarok_proxy.rb
  157. %{_libdir}/libamarok.so*
  158. %{_libdir}/ruby_lib/*.rb
  159. %{_libdir}/ruby_lib/*.so*
  160. %{_datadir}/applications/kde/*.desktop
  161. %{_datadir}/apps/amarok/*.rc
  162. %{_datadir}/apps/amarok/data/*
  163. %{_datadir}/apps/amarok/icons/*/*/actions/*
  164. %{_datadir}/apps/amarok/images/*
  165. %{_datadir}/apps/amarok/ruby_lib/*
  166. %{_datadir}/apps/amarok/scripts/*/*
  167. %{_datadir}/apps/amarok/themes/*
  168. %{_datadir}/apps/profiles/*.xml
  169. %{_datadir}/config.kcfg/*
  170. %{_datadir}/config/*
  171. %{_datadir}/icons/hicolor/*/apps/amarok.png
  172. %{_datadir}/services/*.protocol
  173. %{_datadir}/servicetypes/*
  174. # DAAP
  175. %{_bindir}/amarok_daapserver.*
  176. %{_libdir}/kde3/libamarok_daap-mediadevice.*
  177. %{_datadir}/services/amarok_daap-mediadevice.desktop
  178. # VFAT
  179. %{_libdir}/kde3/libamarok_generic-mediadevice.*
  180. %{_datadir}/services/amarok_generic-mediadevice.desktop
  181. # ipod
  182. %{_libdir}/kde3/libamarok_ipod-mediadevice.*
  183. %{_datadir}/services/amarok_ipod-mediadevice.desktop
  184. # Mass-storage
  185. %{_libdir}/kde3/libamarok_massstorage-device.*
  186. %{_datadir}/services/amarok_massstorage-device.desktop
  187. # NFS
  188. %{_libdir}/kde3/libamarok_nfs-device.*
  189. %{_datadir}/services/amarok_nfs-device.desktop
  190. # NJB
  191. %{_libdir}/kde3/libamarok_njb-mediadevice.*
  192. %{_datadir}/services/amarok_njb-mediadevice.desktop
  193. # SMB
  194. %{_libdir}/kde3/libamarok_smb-device.*
  195. %{_datadir}/services/amarok_smb-device.desktop
  196. %files void-engine
  197. %defattr(-,root,root,-)
  198. %{_libdir}/kde3/libamarok_void-engine_plugin.*
  199. %{_datadir}/services/amarok_void-engine_plugin.desktop
  200. %files xine-engine
  201. %defattr(-,root,root,-)
  202. %{_libdir}/kde3/libamarok_xine-engine.*
  203. %{_datadir}/services/amarok_xine-engine.desktop
  204. %files helix-engine
  205. %defattr(-,root,root,-)
  206. %{_libdir}/kde3/libamarok_helixengine_plugin.*
  207. %{_datadir}/services/amarok_helixengine_plugin.desktop
  208. %files konqueror
  209. %defattr(-,root,root,-)
  210. %{_libdir}/kde3/konqsidebar_universalamarok.*
  211. %{_datadir}/apps/konqueror/servicemenus/*.desktop
  212. %{_datadir}/apps/konqsidebartng/*/amarok.desktop
  213. %files visualisation
  214. %defattr(-,root,root,-)
  215. %{_bindir}/amarok_libvisual
  216. %changelog
  217. * Wed Jun 17 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.4.10-4vl5
  218. - add BuildRequires: libvisual-devel
  219. * Tue Jun 16 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.4.10-3vl5
  220. - add Patch4 (from Ubuntu/Debian) to fix build against libmtp >= 0.3.0
  221. * Sat Mar 21 2009 TOSHI <milk-tea1977@dune.ocn.ne.jp> 1.4.10-2vl5
  222. - Package Name Changes: self-build-libmad, self-build-faad2
  223. - add patch100 for fix CVE2009-0135, CVE-2009-0136
  224. - add PreReq & BuildPreReq: libart_lgpl, libart_lgpl-devel
  225. * Wed Dec 31 2008 TOSHI <milk-tea1977@dune.ocn.ne.jp> 1.4.10-1vl5
  226. - initial build for Vine Seed.
  227. - add Patch3
  228. - spec in utf-8, and applied vine versioning policy
  229. # end of file