banshee-vl.spec 4.8 KB

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