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