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