banshee-vl.spec 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190
  1. Summary: A multimedia management and playback application for GNOME
  2. Summary(ja): GNOME 向けのマルチメディア管理・再生アプリケーション
  3. Name: banshee
  4. Version: 2.6.2
  5. Release: 3%{?_dist_release}
  6. License: MIT/X11
  7. Group: Applications/Multimedia
  8. URL: http://banshee.fm/
  9. Source0: %{name}-%{version}.tar.xz
  10. # Vine Patch
  11. # ad-hoc patch to build with dbus-sharp 0.8.0
  12. Patch100: banshee-2.6.2-dbussharp2.patch
  13. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  14. BuildRequires: mono-devel
  15. BuildRequires: mono-addins-devel
  16. BuildRequires: mono-zeroconf-devel
  17. BuildRequires: boo-devel
  18. BuildRequires: gdata-sharp-devel
  19. BuildRequires: taglib-sharp-devel
  20. BuildRequires: libgpod-sharp-devel
  21. BuildRequires: gudev-sharp-devel
  22. BuildRequires: gkeyfile-sharp-devel
  23. BuildRequires: gconf-sharp2
  24. BuildRequires: gio-sharp-devel
  25. BuildRequires: gtk-sharp-beans-devel
  26. BuildRequires: GConf2-devel
  27. BuildRequires: gstreamer-devel
  28. BuildRequires: gstreamer-plugins-base-devel
  29. BuildRequires: gtk2-devel
  30. BuildRequires: sqlite3-devel
  31. BuildRequires: dbus-sharp-devel >= 0.8.0
  32. BuildRequires: dbus-sharp-glib-devel >= 0.6.0
  33. BuildRequires: WebKit-gtk-devel
  34. BuildRequires: libmtp-devel
  35. BuildRequires: libudev-devel
  36. BuildRequires: brasero-devel
  37. BuildRequires: avahi-devel
  38. BuildRequires: gnome-doc-utils
  39. Requires(post,postun): desktop-file-utils
  40. Requires(post,postun): shared-mime-info
  41. Requires: libgpod-sharp
  42. Requires: gvfs-afc
  43. Requires: media-player-info
  44. Vendor: Project Vine
  45. Distribution: Vine Linux
  46. Packager: Takemikaduchi
  47. %description
  48. Banshee is a multimedia management and playback application for GNOME, with
  49. support for OS X and Windows as well.
  50. Play your music and videos. Stay entertained and up to date with podcasts
  51. and video podcasts. Sync your Android, iPod, and other devices. We think
  52. you'll love the new Banshee!
  53. %package devel
  54. Summary: Development tools for banshee
  55. Summary(ja): banshee の開発環境
  56. Group: Development/Libraries
  57. Requires: %{name} = %{version}-%{release}
  58. Requires: pkgconfig
  59. %description devel
  60. Header files and libraries for building a extension library for the
  61. banshee.
  62. %prep
  63. %setup -q
  64. %patch100 -p1 -b .dbussharp2
  65. %build
  66. # use mcs instead of gmcs
  67. export MCS=%{_bindir}/mcs
  68. export GMCS=%{_bindir}/mcs
  69. #(if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi)
  70. %configure \
  71. --disable-static
  72. %{__make} %{?_smp_mflags}
  73. %install
  74. %{__rm} -rf ${RPM_BUILD_ROOT}
  75. make install DESTDIR=${RPM_BUILD_ROOT}
  76. find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \;
  77. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
  78. %find_lang %{name}
  79. %clean
  80. %{__rm} -rf ${RPM_BUILD_ROOT}
  81. %post
  82. touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
  83. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
  84. update-desktop-database %{_datadir}/applications &> /dev/null || :
  85. update-mime-database %{_datadir}/mime &> /dev/null || :
  86. %postun
  87. if [ $1 -eq 0 ]; then
  88. touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
  89. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
  90. fi
  91. update-desktop-database %{_datadir}/applications &> /dev/null || :
  92. update-mime-database %{_datadir}/mime &> /dev/null || :
  93. %files -f %{name}.lang
  94. %defattr(-,root,root,-)
  95. %doc COPYING ChangeLog NEWS README
  96. %{_bindir}/bamz
  97. %{_bindir}/banshee
  98. %{_bindir}/muinshee
  99. %{_prefix}/lib/monodoc/sources/banshee-docs.*
  100. %{_prefix}/lib/monodoc/sources/hyena-docs.*
  101. %{_libdir}/%{name}
  102. %{_datadir}/appdata/%{name}.appdata.xml
  103. %{_datadir}/applications/banshee-audiocd.desktop
  104. %{_datadir}/applications/banshee-media-player.desktop
  105. %{_datadir}/applications/banshee.desktop
  106. %{_datadir}/%{name}/audio-profiles/*.xml
  107. %{_datadir}/%{name}/icons/hicolor/*/*/*
  108. %{_datadir}/dbus-1/services/org.bansheeproject.Banshee.service
  109. %{_datadir}/dbus-1/services/org.bansheeproject.CollectionIndexer.service
  110. %{_datadir}/gnome/help/%{name}
  111. %{_datadir}/icons/hicolor/*/apps/media-player-banshee.png
  112. %{_datadir}/mime/packages/banshee-amz.xml
  113. %{_datadir}/mime/packages/banshee-emx.xml
  114. %files devel
  115. %defattr(-,root,root,-)
  116. %{_libdir}/pkgconfig/banshee-collection-indexer.pc
  117. %{_libdir}/pkgconfig/banshee-core.pc
  118. %{_libdir}/pkgconfig/banshee-hyena-data-sqlite.pc
  119. %{_libdir}/pkgconfig/banshee-hyena-gui.pc
  120. %{_libdir}/pkgconfig/banshee-hyena.pc
  121. %{_libdir}/pkgconfig/banshee-lastfm-gui.pc
  122. %{_libdir}/pkgconfig/banshee-lastfm.pc
  123. %{_libdir}/pkgconfig/banshee-mono-media.pc
  124. %{_libdir}/pkgconfig/banshee-musicbrainz.pc
  125. %{_libdir}/pkgconfig/banshee-nowplaying.pc
  126. %{_libdir}/pkgconfig/banshee-services.pc
  127. %{_libdir}/pkgconfig/banshee-thickclient.pc
  128. %{_libdir}/pkgconfig/banshee-webbrowser.pc
  129. %changelog
  130. * Wed Apr 1 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 2.6.2-3
  131. - rebuilt with mono 3.12.1 and mono-addins 1.2
  132. * Wed Nov 12 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 2.6.2-2
  133. - rebuilt with dbus-sharp 0.8.1 and dbus-shar-glib 0.6.0
  134. - added Patch100
  135. * Sun Mar 16 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.6.2-1
  136. - new upstream release
  137. * Sat Dec 28 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.6.1-2
  138. - rebuild with VineSeed environment
  139. * Sun Apr 21 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.6.1-1
  140. - new upstream release
  141. * Tue Oct 23 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.6.0-2
  142. - change BuildRequires: mono-addins-devel instead of mono-addins
  143. * Mon Oct 01 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.6.0-1
  144. - new upstream release
  145. - remove Patch0 (banshee-2.4.1-missing_cast.patch)
  146. * Sun Jun 03 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.4.1-1
  147. - initial build for Vine Linux