+#
%include /usr/lib/rpm/macros.mono
#
-
Summary: A Mono/GStreamer Based Music Player
Summary(pl.UTF-8): Oparty na Mono/GStreamerze odtwarzacz muzyki
Name: banshee
-Version: 1.2.1
+Version: 1.5.1
Release: 1
License: GPL
Group: Applications/Multimedia
Source0: http://download.banshee-project.org/banshee/%{name}-1-%{version}.tar.bz2
-# Source0-md5: 4537d105352b465049953f72da34d3d8
+# Source0-md5: b24051482dca8b87932db2a1e27ff43f
URL: http://banshee-project.org/
BuildRequires: GConf2-devel
BuildRequires: autoconf >= 2.13
BuildRequires: automake
+BuildRequires: brasero-devel >= 2.28.0
+BuildRequires: clutter-devel >= 1.0.1
BuildRequires: dbus-devel >= 0.93
BuildRequires: dbus-glib-devel >= 0.71
BuildRequires: dotnet-gnome-sharp-devel >= 2.16.0
BuildRequires: dotnet-gtk-sharp2-devel >= 2.10.0
-BuildRequires: dotnet-ipod-sharp-devel >= 0.8.0
+BuildRequires: dotnet-ipod-sharp-devel >= 0.8.1
BuildRequires: dotnet-libgphoto2-sharp-devel
BuildRequires: dotnet-mono-zeroconf-devel
+BuildRequires: dotnet-ndesk-dbus-glib-sharp-devel >= 0.3
BuildRequires: dotnet-njb-sharp
+BuildRequires: dotnet-notify-sharp-devel
BuildRequires: gnome-desktop-devel >= 2.16.0
BuildRequires: gstreamer-GConf >= 0.10.3
BuildRequires: gstreamer-cdparanoia
BuildRequires: libmtp-devel >= 0.2.0
BuildRequires: libmusicbrainz-devel >= 2.1.1
BuildRequires: libtool
-BuildRequires: mono-addins-devel >= 0.3
+BuildRequires: mono-addins-devel >= 0.3.1-2
BuildRequires: mono-csharp >= 1.1.13
BuildRequires: monodoc
-BuildRequires: nautilus-cd-burner-devel >= 2.16.0
BuildRequires: pkgconfig
BuildRequires: sqlite3-devel
BuildRequires: taglib-sharp-devel
Requires: gstreamer-GConf >= 0.10.3
Requires: gstreamer-cdparanoia >= 0.10.3
Requires: gstreamer-gnomevfs >= 0.10.3
+Requires: mono-addins >= 0.3.1-2
Obsoletes: banshee-official-plugins <= 0.11.3
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%setup -q -n %{name}-1-%{version}
%build
-%{__intltoolize}
-%{__aclocal} -I build/m4/banshee -I build/m4/shamrock
%{__libtoolize}
+%{__intltoolize}
+%{__aclocal} -I build/m4/banshee -I build/m4/shave -I build/m4/shamrock
%{__automake}
%{__autoconf}
+
%configure \
--disable-boo \
--disable-dev-tests \
--disable-vlc \
--enable-gstreamer \
--enable-avahi \
- --disable-docs
-%{__make}
+ --disable-docs \
+ --with-vendor-build-id="%{distribution}"
+%{__make} -j 1
%install
rm -rf $RPM_BUILD_ROOT
#mv $RPM_BUILD_ROOT%{_docdir}/%{name}/* $RPM_BUILD_ROOT%{_libdir}/monodoc/sources
-rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/*.{la,a}
+rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}-1/*.{la,a}
+rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}-1/Backends/*.{la,a}
+rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}-1/gstreamer-0.10/*.{la,a}
%find_lang %{name}-1
%defattr(644,root,root,755)
%doc AUTHORS COPYING ChangeLog NEWS README
%attr(755,root,root) %{_bindir}/banshee-1
+%attr(755,root,root) %{_bindir}/muinshee
%{_datadir}/banshee-1
%{_pkgconfigdir}/banshee-1*.pc
%dir %{_libdir}/banshee-1
%{_libdir}/banshee-1/Extensions/*.dll
%{_libdir}/banshee-1/Extensions/*.mdb
%{_libdir}/banshee-1/Extensions/Banshee.NotificationArea.dll.config
+%{_libdir}/banshee-1/Extensions/Banshee.NowPlaying.dll.config
%dir %{_libdir}/banshee-1/Backends
+%{_libdir}/banshee-1/Backends/*.config
%{_libdir}/banshee-1/Backends/*.dll
%{_libdir}/banshee-1/Backends/*.mdb
%{_libdir}/banshee-1/Backends/*.so
#%{_libdir}/banshee-1/libbanshee.a
#%{_libdir}/banshee-1/libbanshee.la
#%{_libdir}/monodoc/sources/*
+%{_desktopdir}/banshee-1-audiocd.desktop
+%{_desktopdir}/banshee-1-media-player.desktop
%{_desktopdir}/banshee-1.desktop
%{_iconsdir}/hicolor/*/*/*
%{_datadir}/dbus-1/services/org.bansheeproject.Banshee.service
+%{_datadir}/dbus-1/services/org.bansheeproject.CollectionIndexer.service