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.0/%{name}-%{version}.tar.bz2
12 # Source0-md5: ecd129a3232bda507b98c90e6f9272cf
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-doc-utils >= 0.18.0
34 BuildRequires: gstreamer-devel >= 0.10.23
35 BuildRequires: gstreamer-plugins-base-devel >= 0.10.26
36 BuildRequires: gtk+2-devel >= 2:2.22.0
37 BuildRequires: gtk-webkit-devel >= 1.2.2
38 BuildRequires: intltool >= 0.35.0
39 BuildRequires: libmtp-devel >= 0.3.0
40 BuildRequires: libsoup-gnome-devel >= 2.26.0
41 BuildRequires: libtool
42 BuildRequires: mono-addins-devel >= 0.3.1-2
43 BuildRequires: mono-csharp >= 2.4.3
44 BuildRequires: monodoc
45 BuildRequires: pkgconfig
46 BuildRequires: rpmbuild(macros) >= 1.311
47 BuildRequires: sqlite3-devel >= 3.4.0
48 BuildRequires: xorg-lib-libXrandr-devel >= 1.1.1
49 BuildRequires: xorg-lib-libXxf86vm-devel >= 1.0.1
50 Requires(post,postun): desktop-file-utils
51 Requires(post,postun): gtk-update-icon-cache
52 Requires(post,postun): shared-mime-info
53 Requires: dotnet-ipod-sharp >= 0.8.5
54 Requires: gstreamer-GConf >= 0.10.3
55 Requires: gstreamer-cdparanoia >= 0.10.3
56 Requires: hicolor-icon-theme
57 Requires: mono-addins >= 0.3.1-2
59 Obsoletes: banshee-official-plugins <= 0.11.3
60 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
63 Banshee is a brand spankin' new audio player based on the GStreamer
64 media library and is developed on the Open Source Mono .NET Platform,
67 %description -l pl.UTF-8
68 Banshee to nowy odtwarzacz dźwięku oparty na bibliotece odtwarzacza
69 multimediów GStreamer, rozwijany na platformie .NET Mono, napisany w
78 %{__aclocal} -I build/m4/banshee -I build/m4/shave -I build/m4/shamrock
88 --with-vendor-build-id="%{distribution}"
92 rm -rf $RPM_BUILD_ROOT
95 DESTDIR=$RPM_BUILD_ROOT
97 %{__rm} $RPM_BUILD_ROOT%{_libdir}/%{name}/*.{la,a}
98 %{__rm} $RPM_BUILD_ROOT%{_libdir}/%{name}/Backends/*.{la,a}
99 %{__rm} $RPM_BUILD_ROOT%{_libdir}/%{name}/gstreamer-0.10/*.{la,a}
101 %find_lang %{name} --with-gnome --all-name
104 rm -rf $RPM_BUILD_ROOT
107 %update_desktop_database_post
108 %update_icon_cache hicolor
109 %update_mime_database
112 %update_desktop_database_postun
113 %update_icon_cache hicolor
114 %update_mime_database
116 %files -f %{name}.lang
117 %defattr(644,root,root,755)
118 %doc AUTHORS COPYING ChangeLog NEWS README
119 %attr(755,root,root) %{_bindir}/banshee
120 %attr(755,root,root) %{_bindir}/bamz
121 %attr(755,root,root) %{_bindir}/muinshee
123 %{_pkgconfigdir}/banshee*.pc
124 %dir %{_libdir}/banshee
125 %{_libdir}/banshee/*.dll
126 %attr(755,root,root) %{_libdir}/banshee/*.so
127 %{_libdir}/banshee/*.exe
128 %{_libdir}/banshee/*.mdb
129 %{_libdir}/banshee/*.config
130 %dir %{_libdir}/banshee/Extensions
131 %{_libdir}/banshee/Extensions/*.dll
132 %{_libdir}/banshee/Extensions/*.exe
133 %{_libdir}/banshee/Extensions/*.mdb
134 %{_libdir}/banshee/Extensions/Banshee.NotificationArea.dll.config
135 %{_libdir}/banshee/Extensions/libgpod-sharp.dll.config
136 %dir %{_libdir}/banshee/Backends
137 %{_libdir}/banshee/Backends/*.config
138 %{_libdir}/banshee/Backends/*.dll
139 %{_libdir}/banshee/Backends/*.mdb
140 %{_libdir}/banshee/Backends/*.so
141 %{_libdir}/banshee/Banshee.Services.addins
142 %dir %{_libdir}/banshee/gstreamer-0.10
143 %{_libdir}/banshee/gstreamer-0.10/*.so
144 %{_desktopdir}/banshee-audiocd.desktop
145 %{_desktopdir}/banshee-media-player.desktop
146 %{_desktopdir}/banshee.desktop
147 %{_iconsdir}/hicolor/*/*/*
148 %{_datadir}/dbus-1/services/org.bansheeproject.Banshee.service
149 %{_datadir}/dbus-1/services/org.bansheeproject.CollectionIndexer.service
150 %{_datadir}/mime/packages/banshee-amz.xml