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