1 %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://banshee-project.org/files/banshee/%{name}-%{version}.tar.gz
12 # Source0-md5: 6bcfe0a4ca92e6cce86244938f004b8c
13 Patch0: %{name}-spurious_trailing_comma.patch
14 URL: http://banshee-project.org/
15 BuildRequires: GConf2-devel
16 BuildRequires: autoconf >= 2.13
17 BuildRequires: automake
18 BuildRequires: dbus-devel >= 0.93
19 BuildRequires: dbus-glib-devel >= 0.71
20 BuildRequires: dotnet-avahi-devel
21 BuildRequires: dotnet-gnome-sharp-devel >= 2.16.0
22 BuildRequires: dotnet-gtk-sharp2-devel >= 2.10.0
23 BuildRequires: dotnet-ipod-sharp
24 BuildRequires: dotnet-libgphoto2-sharp-devel
25 BuildRequires: dotnet-njb-sharp
26 BuildRequires: gnome-desktop-devel >= 2.16.0
27 BuildRequires: gstreamer-cdparanoia
28 BuildRequires: gstreamer-devel >= 0.10.3
29 BuildRequires: gstreamer-gnomevfs
30 BuildRequires: gstreamer-plugins-base-devel >= 0.10.3
31 BuildRequires: gstreamer-plugins-good-devel >= 0.10.3
32 BuildRequires: gtk+2-devel >= 2.10.3
33 BuildRequires: hal-devel >= 0.5.2
34 BuildRequires: intltool >= 0.35
35 BuildRequires: libmusicbrainz-devel >= 2.1.1
36 BuildRequires: libtool
37 BuildRequires: mono-csharp >= 1.1.13
38 BuildRequires: monodoc
39 BuildRequires: nautilus-cd-burner-devel >= 2.16.0
40 BuildRequires: pkgconfig
41 BuildRequires: sqlite3-devel
42 Requires: gstreamer-cdparanoia >= 0.10.3
43 Requires: gstreamer-gnomevfs >= 0.10.3
44 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
47 Banshee is a brand spankin' new audio player based on the GStreamer
48 media library and is developed on the Open Source Mono .NET Platform,
51 %description -l pl.UTF-8
52 Banshee to nowy odtwarzacz dźwięku oparty na bibliotece odtwarzacza
53 multimediów GStreamer, rozwijany na platformie .NET Mono, napisany w
61 %{__aclocal} -I build/m4/banshee -I build/m4/shamrock
73 --disable-schemas-install \
78 rm -rf $RPM_BUILD_ROOT
79 install -d $RPM_BUILD_ROOT%{_libdir}/monodoc/sources
82 DESTDIR=$RPM_BUILD_ROOT
84 #mv $RPM_BUILD_ROOT%{_docdir}/%{name}/* $RPM_BUILD_ROOT%{_libdir}/monodoc/sources
86 rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/*.{la,a}
91 rm -rf $RPM_BUILD_ROOT
94 %update_desktop_database_post
95 SCHEMAS="banshee-core.schemas banshee-interface.schemas banshee-plugin-audioscrobbler.schemas banshee-plugin-daap.schemas banshee-plugin-metadatasearcher.schemas banshee-plugin-minimode.schemas banshee-plugin-mmkeys.schemas banshee-plugin-notificationarea.schemas banshee-plugin-podcast.schemas banshee-plugin-radio.schemas banshee-plugin-recommendation.schemas"
97 %gconf_schema_install $S
99 %update_icon_cache hicolor
102 SCHEMAS="banshee-core.schemas banshee-interface.schemas banshee-plugin-audioscrobbler.schemas banshee-plugin-daap.schemas banshee-plugin-metadatasearcher.schemas banshee-plugin-minimode.schemas banshee-plugin-mmkeys.schemas banshee-plugin-notificationarea.schemas banshee-plugin-podcast.schemas banshee-plugin-radio.schemas banshee-plugin-recommendation.schemas"
103 for S in $SCHEMAS; do
104 %gconf_schema_uninstall $S
108 %update_desktop_database_postun
109 %update_icon_cache hicolor
111 %files -f %{name}.lang
112 %defattr(644,root,root,755)
113 %doc AUTHORS COPYING ChangeLog NEWS README
114 %{_sysconfdir}/gconf/schemas/*.schemas
115 %attr(755,root,root) %{_bindir}/banshee
117 %{_pkgconfigdir}/banshee.pc
118 %dir %{_libdir}/banshee
119 %{_libdir}/banshee/*.dll
120 %attr(755,root,root) %{_libdir}/banshee/*.so
121 %{_libdir}/banshee/*.exe
122 %{_libdir}/banshee/*.mdb
123 %{_libdir}/banshee/*.config
124 %{_libdir}/banshee/Banshee.Dap
125 %{_libdir}/banshee/Banshee.MediaEngine
126 %{_libdir}/banshee/Banshee.Plugins
127 #%{_libdir}/monodoc/sources/*
128 %{_desktopdir}/banshee.desktop
129 %{_iconsdir}/hicolor/*/*/*
130 %{_datadir}/dbus-1/services/org.gnome.Banshee.service