2 # - make some proper bconds for other it
4 %include /usr/lib/rpm/macros.mono
7 Summary: A Mono/GStreamer Based Music Player
8 Summary(pl.UTF-8): Oparty na Mono/GStreamerze odtwarzacz muzyki
13 Group: Applications/Multimedia
14 Source0: http://banshee-project.org/files/banshee/%{name}-%{version}.tar.gz
15 # Source0-md5: 6bcfe0a4ca92e6cce86244938f004b8c
16 URL: http://banshee-project.org/
17 BuildRequires: GConf2-devel
18 BuildRequires: autoconf >= 2.13
19 BuildRequires: automake
20 BuildRequires: dbus-devel >= 0.93
21 BuildRequires: dbus-glib-devel >= 0.71
22 BuildRequires: dotnet-avahi-devel
23 BuildRequires: dotnet-gnome-sharp-devel >= 2.16.0
24 BuildRequires: dotnet-gtk-sharp2-devel >= 2.10.0
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: gtk+2-devel >= 2.10.3
31 BuildRequires: hal-devel >= 0.5.2
32 BuildRequires: intltool >= 0.35
33 BuildRequires: libmusicbrainz-devel >= 2.1.1
34 BuildRequires: libtool
35 BuildRequires: mono-csharp >= 1.1.13
36 BuildRequires: monodoc
37 BuildRequires: nautilus-cd-burner-devel >= 2.16.0
38 BuildRequires: pkgconfig
39 BuildRequires: sqlite3-devel
40 Requires: gstreamer-cdparanoia >= 0.10.3
41 Requires: gstreamer-gnomevfs >= 0.10.3
42 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
45 Banshee is a brand spankin' new audio player based on the GStreamer
46 media library and is developed on the Open Source Mono .NET Platform,
49 %description -l pl.UTF-8
50 Banshee to nowy odtwarzacz dźwięku oparty na bibliotece odtwarzacza
51 multimediów GStreamer, rozwijany na platformie .NET Mono, napisany w
58 %{__aclocal} -I build/m4/banshee -I build/m4/shamrock
70 --disable-schemas-install \
75 rm -rf $RPM_BUILD_ROOT
76 install -d $RPM_BUILD_ROOT%{_libdir}/monodoc/sources
79 DESTDIR=$RPM_BUILD_ROOT
81 #mv $RPM_BUILD_ROOT%{_docdir}/%{name}/* $RPM_BUILD_ROOT%{_libdir}/monodoc/sources
83 rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/*.{la,a}
88 rm -rf $RPM_BUILD_ROOT
91 %update_desktop_database_post
92 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"
94 %gconf_schema_install $S
98 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"
100 %gconf_schema_install $S
104 %update_desktop_database_postun
106 %files -f %{name}.lang
107 %defattr(644,root,root,755)
108 %doc AUTHORS COPYING ChangeLog NEWS README
109 %{_sysconfdir}/gconf/schemas/*.schemas
110 %attr(755,root,root) %{_bindir}/banshee
112 %{_pkgconfigdir}/banshee.pc
113 %dir %{_libdir}/banshee
114 %{_libdir}/banshee/*.dll
115 %attr(755,root,root) %{_libdir}/banshee/*.so
116 %{_libdir}/banshee/*.exe
117 %{_libdir}/banshee/*.mdb
118 %{_libdir}/banshee/*.config
119 %{_libdir}/banshee/Banshee.Dap
120 %{_libdir}/banshee/Banshee.MediaEngine
121 %{_libdir}/banshee/Banshee.Plugins
122 #%{_libdir}/monodoc/sources/*
123 %{_desktopdir}/banshee.desktop
124 %{_iconsdir}/hicolor/*/*/*
125 %{_datadir}/dbus-1/services/org.gnome.Banshee.service