2 %include /usr/lib/rpm/macros.mono
4 Summary: A Mono/GStreamer Based Music Player
5 Summary(pl.UTF-8): Oparty na Mono/GStreamerze odtwarzacz muzyki
10 Group: X11/Applications/Multimedia
11 Source0: http://download.banshee-project.org/banshee/stable/2.0.1/%{name}-%{version}.tar.bz2
12 # Source0-md5: 83d77447936eed84eba2123b341b62ea
13 URL: http://banshee.fm/
14 BuildRequires: GConf2-devel
15 BuildRequires: autoconf >= 2.52
16 BuildRequires: automake >= 1:1.9
17 BuildRequires: clutter-devel >= 1.0.1
18 BuildRequires: dotnet-gdata-sharp-devel >= 1.5.0
19 BuildRequires: dotnet-gio-sharp-devel >= 0.2
20 BuildRequires: dotnet-gkeyfile-sharp-devel >= 0.1
21 BuildRequires: dotnet-gnome-sharp-devel >= 2.16.0
22 BuildRequires: dotnet-gtk-sharp-beans-devel >= 2.8
23 BuildRequires: dotnet-gtk-sharp2-devel >= 2.12.10
24 BuildRequires: dotnet-gudev-sharp-devel >= 0.1
25 BuildRequires: dotnet-ipod-sharp-devel >= 0.8.5
26 BuildRequires: dotnet-libgpod-sharp-devel >= 0.8.0
27 BuildRequires: dotnet-mono-zeroconf-devel >= 0.8.0
28 BuildRequires: dotnet-ndesk-dbus-glib-sharp-devel >= 0.3
29 BuildRequires: dotnet-notify-sharp-devel
30 BuildRequires: dotnet-taglib-sharp-devel >= 2.0.3.7
31 BuildRequires: gettext-devel
32 BuildRequires: glib2-devel >= 1:2.22.0
33 BuildRequires: gnome-desktop2-devel
34 BuildRequires: gnome-doc-utils >= 0.18.0
35 BuildRequires: gstreamer-devel >= 0.10.23
36 BuildRequires: gstreamer-plugins-base-devel >= 0.10.26
37 BuildRequires: gtk+2-devel >= 2:2.22.0
38 BuildRequires: gtk-webkit-devel >= 1.2.2
39 BuildRequires: intltool >= 0.35.0
40 BuildRequires: libmtp-devel >= 0.3.0
41 BuildRequires: libsoup-gnome-devel >= 2.26.0
42 BuildRequires: libtool
43 BuildRequires: mono-addins-devel >= 0.3.1-2
44 BuildRequires: mono-csharp >= 2.4.3
45 BuildRequires: monodoc
46 BuildRequires: pkgconfig
47 BuildRequires: rpmbuild(macros) >= 1.311
48 BuildRequires: sqlite3-devel >= 3.4.0
49 BuildRequires: xorg-lib-libXrandr-devel >= 1.1.1
50 BuildRequires: xorg-lib-libXxf86vm-devel >= 1.0.1
51 Requires(post,postun): desktop-file-utils
52 Requires(post,postun): gtk-update-icon-cache
53 Requires(post,postun): shared-mime-info
54 Requires: dotnet-ipod-sharp >= 0.8.5
55 Requires: gstreamer-GConf >= 0.10.3
56 Requires: gstreamer-cdparanoia >= 0.10.3
57 Requires: hicolor-icon-theme
58 Requires: mono-addins >= 0.3.1-2
60 Obsoletes: banshee-official-plugins <= 0.11.3
61 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
64 Banshee is a brand spankin' new audio player based on the GStreamer
65 media library and is developed on the Open Source Mono .NET Platform,
68 %description -l pl.UTF-8
69 Banshee to nowy odtwarzacz dźwięku oparty na bibliotece odtwarzacza
70 multimediów GStreamer, rozwijany na platformie .NET Mono, napisany w
79 %{__aclocal} -I build/m4/banshee -I build/m4/shave -I build/m4/shamrock
89 --with-vendor-build-id="%{distribution}"
93 rm -rf $RPM_BUILD_ROOT
96 DESTDIR=$RPM_BUILD_ROOT
98 %{__rm} $RPM_BUILD_ROOT%{_libdir}/%{name}/*.{la,a}
99 %{__rm} $RPM_BUILD_ROOT%{_libdir}/%{name}/Backends/*.{la,a}
100 %{__rm} $RPM_BUILD_ROOT%{_libdir}/%{name}/gstreamer-0.10/*.{la,a}
102 %find_lang %{name} --with-gnome --all-name
105 rm -rf $RPM_BUILD_ROOT
108 %update_desktop_database_post
109 %update_icon_cache hicolor
110 %update_mime_database
113 %update_desktop_database_postun
114 %update_icon_cache hicolor
115 %update_mime_database
117 %files -f %{name}.lang
118 %defattr(644,root,root,755)
119 %doc AUTHORS COPYING ChangeLog NEWS README
120 %attr(755,root,root) %{_bindir}/banshee
121 %attr(755,root,root) %{_bindir}/bamz
122 %attr(755,root,root) %{_bindir}/muinshee
124 %{_pkgconfigdir}/banshee*.pc
125 %dir %{_libdir}/banshee
126 %{_libdir}/banshee/*.dll
127 %attr(755,root,root) %{_libdir}/banshee/*.so
128 %{_libdir}/banshee/*.exe
129 %{_libdir}/banshee/*.mdb
130 %{_libdir}/banshee/*.config
131 %dir %{_libdir}/banshee/Extensions
132 %{_libdir}/banshee/Extensions/*.dll
133 %{_libdir}/banshee/Extensions/*.exe
134 %{_libdir}/banshee/Extensions/*.mdb
135 %{_libdir}/banshee/Extensions/Banshee.NotificationArea.dll.config
136 %{_libdir}/banshee/Extensions/libgpod-sharp.dll.config
137 %dir %{_libdir}/banshee/Backends
138 %{_libdir}/banshee/Backends/*.config
139 %{_libdir}/banshee/Backends/*.dll
140 %{_libdir}/banshee/Backends/*.mdb
141 %{_libdir}/banshee/Backends/*.so
142 %{_libdir}/banshee/Banshee.Services.addins
143 %dir %{_libdir}/banshee/gstreamer-0.10
144 %{_libdir}/banshee/gstreamer-0.10/*.so
145 %{_desktopdir}/banshee-audiocd.desktop
146 %{_desktopdir}/banshee-media-player.desktop
147 %{_desktopdir}/banshee.desktop
148 %{_iconsdir}/hicolor/*/*/*
149 %{_datadir}/dbus-1/services/org.bansheeproject.Banshee.service
150 %{_datadir}/dbus-1/services/org.bansheeproject.CollectionIndexer.service
151 %{_datadir}/mime/packages/banshee-amz.xml