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: gettext-devel
32 BuildRequires: gnome-desktop-devel >= 2.16.0
33 BuildRequires: gstreamer-GConf >= 0.10.3
34 BuildRequires: gstreamer-cdparanoia
35 BuildRequires: gstreamer-devel >= 0.10.3
36 BuildRequires: gstreamer-gnomevfs
37 BuildRequires: gstreamer-plugins-base-devel >= 0.10.25.2
38 BuildRequires: gtk+2-devel >= 2:2.10.3
39 BuildRequires: hal-devel >= 0.5.2
40 BuildRequires: intltool >= 0.35
41 BuildRequires: libmtp-devel >= 0.2.0
42 BuildRequires: libmusicbrainz-devel >= 2.1.1
43 BuildRequires: libtool
44 BuildRequires: mono-addins-devel >= 0.3.1-2
45 BuildRequires: mono-csharp >= 1.1.13
46 BuildRequires: monodoc
47 BuildRequires: pkgconfig
48 BuildRequires: sqlite3-devel
49 BuildRequires: taglib-sharp-devel >= 2.0.3.5
50 Requires: dotnet-ipod-sharp >= 0.8.0
51 Requires: gstreamer-GConf >= 0.10.3
52 Requires: gstreamer-cdparanoia >= 0.10.3
53 Requires: gstreamer-gnomevfs >= 0.10.3
54 Requires: mono-addins >= 0.3.1-2
55 Obsoletes: banshee-official-plugins <= 0.11.3
56 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
59 Banshee is a brand spankin' new audio player based on the GStreamer
60 media library and is developed on the Open Source Mono .NET Platform,
63 %description -l pl.UTF-8
64 Banshee to nowy odtwarzacz dźwięku oparty na bibliotece odtwarzacza
65 multimediów GStreamer, rozwijany na platformie .NET Mono, napisany w
69 %setup -q -n %{name}-1-%{version}
74 %{__aclocal} -I build/m4/banshee -I build/m4/shave -I build/m4/shamrock
88 --with-vendor-build-id="%{distribution}"
93 rm -rf $RPM_BUILD_ROOT
94 install -d $RPM_BUILD_ROOT%{_libdir}/monodoc/sources
97 DESTDIR=$RPM_BUILD_ROOT
99 #mv $RPM_BUILD_ROOT%{_docdir}/%{name}/* $RPM_BUILD_ROOT%{_libdir}/monodoc/sources
101 rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}-1/*.{la,a}
102 rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}-1/Backends/*.{la,a}
103 rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}-1/gstreamer-0.10/*.{la,a}
108 rm -rf $RPM_BUILD_ROOT
111 %update_desktop_database_post
112 %update_icon_cache hicolor
115 %update_desktop_database_postun
116 %update_icon_cache hicolor
118 %files -f %{name}-1.lang
119 %defattr(644,root,root,755)
120 %doc AUTHORS COPYING ChangeLog NEWS README
121 %attr(755,root,root) %{_bindir}/banshee-1
122 %attr(755,root,root) %{_bindir}/muinshee
123 %{_datadir}/banshee-1
124 %{_pkgconfigdir}/banshee-1*.pc
125 %dir %{_libdir}/banshee-1
126 %{_libdir}/banshee-1/*.dll
127 %attr(755,root,root) %{_libdir}/banshee-1/*.so
128 %{_libdir}/banshee-1/*.exe
129 %{_libdir}/banshee-1/*.mdb
130 %{_libdir}/banshee-1/*.config
131 %dir %{_libdir}/banshee-1/Extensions
132 %{_libdir}/banshee-1/Extensions/*.dll
133 %{_libdir}/banshee-1/Extensions/*.mdb
134 %{_libdir}/banshee-1/Extensions/Banshee.NotificationArea.dll.config
135 %dir %{_libdir}/banshee-1/Backends
136 %{_libdir}/banshee-1/Backends/*.config
137 %{_libdir}/banshee-1/Backends/*.dll
138 %{_libdir}/banshee-1/Backends/*.mdb
139 %{_libdir}/banshee-1/Backends/*.so
140 %{_libdir}/banshee-1/Banshee.Services.addins
141 %dir %{_libdir}/banshee-1/gstreamer-0.10
142 %{_libdir}/banshee-1/gstreamer-0.10/*.so
143 #%{_libdir}/banshee-1/libbanshee.a
144 #%{_libdir}/banshee-1/libbanshee.la
145 #%{_libdir}/monodoc/sources/*
146 %{_desktopdir}/banshee-1-audiocd.desktop
147 %{_desktopdir}/banshee-1-media-player.desktop
148 %{_desktopdir}/banshee-1.desktop
149 %{_iconsdir}/hicolor/*/*/*
150 %{_datadir}/dbus-1/services/org.bansheeproject.Banshee.service
151 %{_datadir}/dbus-1/services/org.bansheeproject.CollectionIndexer.service