banshee-vl.spec 4.3 KB

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