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: Applications/Multimedia
11 Source0: http://download.banshee-project.org/banshee/%{name}-1-%{version}.tar.bz2
12 # Source0-md5: 0f5f2ba887cd57b2f785320ab0a44911
13 URL: http://banshee-project.org/
14 BuildRequires: GConf2-devel
15 BuildRequires: autoconf >= 2.13
16 BuildRequires: automake
17 BuildRequires: brasero-devel >= 2.28.0
18 BuildRequires: clutter-devel >= 1.0.1
19 BuildRequires: dbus-devel >= 0.93
20 BuildRequires: dbus-glib-devel >= 0.71
21 BuildRequires: dotnet-gdata-sharp-devel
22 BuildRequires: dotnet-gnome-sharp-devel >= 2.16.0
23 BuildRequires: dotnet-gtk-sharp2-devel >= 2.10.0
24 BuildRequires: dotnet-ipod-sharp-devel >= 0.8.5
25 BuildRequires: dotnet-libgphoto2-sharp-devel
26 BuildRequires: dotnet-mono-zeroconf-devel
27 BuildRequires: dotnet-ndesk-dbus-glib-sharp-devel >= 0.3
28 BuildRequires: dotnet-njb-sharp
29 BuildRequires: dotnet-notify-sharp-devel
30 BuildRequires: dotnet-webkit-sharp-devel
31 BuildRequires: gnome-desktop-devel >= 2.16.0
32 BuildRequires: gstreamer-GConf >= 0.10.3
33 BuildRequires: gstreamer-cdparanoia
34 BuildRequires: gstreamer-devel >= 0.10.3
35 BuildRequires: gstreamer-gnomevfs
36 BuildRequires: gstreamer-plugins-base-devel >= 0.10.3
37 BuildRequires: gtk+2-devel >= 2:2.10.3
38 BuildRequires: hal-devel >= 0.5.2
39 BuildRequires: intltool >= 0.35
40 BuildRequires: libmtp-devel >= 0.2.0
41 BuildRequires: libmusicbrainz-devel >= 2.1.1
42 BuildRequires: libtool
43 BuildRequires: mono-addins-devel >= 0.3.1-2
44 BuildRequires: mono-csharp >= 1.1.13
45 BuildRequires: monodoc
46 BuildRequires: pkgconfig
47 BuildRequires: sqlite3-devel
48 BuildRequires: taglib-sharp-devel >= 2.0.3.5
49 Requires: dotnet-ipod-sharp >= 0.8.0
50 Requires: gstreamer-GConf >= 0.10.3
51 Requires: gstreamer-cdparanoia >= 0.10.3
52 Requires: gstreamer-gnomevfs >= 0.10.3
53 Requires: mono-addins >= 0.3.1-2
54 Obsoletes: banshee-official-plugins <= 0.11.3
55 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
58 Banshee is a brand spankin' new audio player based on the GStreamer
59 media library and is developed on the Open Source Mono .NET Platform,
62 %description -l pl.UTF-8
63 Banshee to nowy odtwarzacz dźwięku oparty na bibliotece odtwarzacza
64 multimediów GStreamer, rozwijany na platformie .NET Mono, napisany w
68 %setup -q -n %{name}-1-%{version}
73 %{__aclocal} -I build/m4/banshee -I build/m4/shave -I build/m4/shamrock
87 --with-vendor-build-id="%{distribution}"
91 rm -rf $RPM_BUILD_ROOT
92 install -d $RPM_BUILD_ROOT%{_libdir}/monodoc/sources
95 DESTDIR=$RPM_BUILD_ROOT
97 #mv $RPM_BUILD_ROOT%{_docdir}/%{name}/* $RPM_BUILD_ROOT%{_libdir}/monodoc/sources
99 rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}-1/*.{la,a}
100 rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}-1/Backends/*.{la,a}
101 rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}-1/gstreamer-0.10/*.{la,a}
106 rm -rf $RPM_BUILD_ROOT
109 %update_desktop_database_post
110 %update_icon_cache hicolor
113 %update_desktop_database_postun
114 %update_icon_cache hicolor
116 %files -f %{name}-1.lang
117 %defattr(644,root,root,755)
118 %doc AUTHORS COPYING ChangeLog NEWS README
119 %attr(755,root,root) %{_bindir}/banshee-1
120 %attr(755,root,root) %{_bindir}/muinshee
121 %{_datadir}/banshee-1
122 %{_pkgconfigdir}/banshee-1*.pc
123 %dir %{_libdir}/banshee-1
124 %{_libdir}/banshee-1/*.dll
125 %attr(755,root,root) %{_libdir}/banshee-1/*.so
126 %{_libdir}/banshee-1/*.exe
127 %{_libdir}/banshee-1/*.mdb
128 %{_libdir}/banshee-1/*.config
129 %dir %{_libdir}/banshee-1/Extensions
130 %{_libdir}/banshee-1/Extensions/*.dll
131 %{_libdir}/banshee-1/Extensions/*.mdb
132 %{_libdir}/banshee-1/Extensions/Banshee.NotificationArea.dll.config
133 %dir %{_libdir}/banshee-1/Backends
134 %{_libdir}/banshee-1/Backends/*.config
135 %{_libdir}/banshee-1/Backends/*.dll
136 %{_libdir}/banshee-1/Backends/*.mdb
137 %{_libdir}/banshee-1/Backends/*.so
138 %{_libdir}/banshee-1/Banshee.Services.addins
139 %dir %{_libdir}/banshee-1/gstreamer-0.10
140 %{_libdir}/banshee-1/gstreamer-0.10/*.so
141 #%{_libdir}/banshee-1/libbanshee.a
142 #%{_libdir}/banshee-1/libbanshee.la
143 #%{_libdir}/monodoc/sources/*
144 %{_desktopdir}/banshee-1-audiocd.desktop
145 %{_desktopdir}/banshee-1-media-player.desktop
146 %{_desktopdir}/banshee-1.desktop
147 %{_iconsdir}/hicolor/*/*/*
148 %{_datadir}/dbus-1/services/org.bansheeproject.Banshee.service
149 %{_datadir}/dbus-1/services/org.bansheeproject.CollectionIndexer.service