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: X11/Applications/Multimedia
11 Source0: http://ftp.gnome.org/pub/GNOME/sources/banshee/2.2/%{name}-%{version}.tar.xz
12 # Source0-md5: 096813269a190011a345fa8aae15c3f4
13 URL: http://banshee.fm/
14 BuildRequires: GConf2-devel
15 BuildRequires: autoconf >= 2.52
16 BuildRequires: automake >= 1:1.9
17 BuildRequires: clutter-devel >= 1.2.0
18 BuildRequires: dotnet-dbus-sharp-devel >= 0.7
19 BuildRequires: dotnet-dbus-sharp-glib-devel >= 0.5
20 BuildRequires: dotnet-gdata-sharp-devel >= 1.5.0
21 BuildRequires: dotnet-gio-sharp-devel >= 0.3
22 BuildRequires: dotnet-gkeyfile-sharp-devel >= 0.1
23 BuildRequires: dotnet-gnome-sharp-devel >= 2.16.0
24 BuildRequires: dotnet-gstreamer-sharp-devel
25 BuildRequires: dotnet-gtk-sharp-beans-devel >= 2.8
26 BuildRequires: dotnet-gtk-sharp2-devel >= 2.12.10
27 BuildRequires: dotnet-gudev-sharp-devel >= 0.1
28 BuildRequires: dotnet-libgpod-sharp-devel >= 0.8.0
29 BuildRequires: dotnet-mono-zeroconf-devel >= 0.8.0
30 BuildRequires: dotnet-notify-sharp-devel
31 BuildRequires: dotnet-taglib-sharp-devel >= 2.0.3.7
32 BuildRequires: gettext-devel
33 BuildRequires: glib2-devel >= 1:2.22.0
34 BuildRequires: gnome-desktop2-devel
35 BuildRequires: gnome-doc-utils >= 0.18.0
36 BuildRequires: gstreamer-devel >= 0.10.23
37 BuildRequires: gstreamer-plugins-base-devel >= 0.10.26
38 BuildRequires: gtk+2-devel >= 2:2.22.0
39 BuildRequires: gtk-webkit-devel >= 1.2.2
40 BuildRequires: intltool >= 0.35.0
41 BuildRequires: libmtp-devel >= 0.3.0
42 BuildRequires: libsoup-gnome-devel >= 2.26.0
43 BuildRequires: libtool
44 BuildRequires: mono-addins-devel >= 0.3.1-2
45 BuildRequires: mono-csharp >= 2.4.3
46 BuildRequires: monodoc
47 BuildRequires: pkgconfig
48 BuildRequires: rpmbuild(macros) >= 1.311
49 BuildRequires: sqlite3-devel >= 3.4.0
50 BuildRequires: tar >= 1:1.22
51 BuildRequires: xorg-lib-libXrandr-devel >= 1.1.1
52 BuildRequires: xorg-lib-libXxf86vm-devel >= 1.0.1
54 Requires(post,postun): desktop-file-utils
55 Requires(post,postun): gtk-update-icon-cache
56 Requires(post,postun): shared-mime-info
57 Requires: gstreamer-GConf >= 0.10.3
58 Requires: gstreamer-cdparanoia >= 0.10.3
59 Requires: hicolor-icon-theme
60 Requires: mono-addins >= 0.3.1-2
62 Obsoletes: banshee-official-plugins <= 0.11.3
63 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
66 Banshee is a brand spankin' new audio player based on the GStreamer
67 media library and is developed on the Open Source Mono .NET Platform,
70 %description -l pl.UTF-8
71 Banshee to nowy odtwarzacz dźwięku oparty na bibliotece odtwarzacza
72 multimediów GStreamer, rozwijany na platformie .NET Mono, napisany w
81 %{__aclocal} -I build/m4/banshee -I build/m4/shave -I build/m4/shamrock
89 --with-vendor-build-id="%{distribution}"
93 rm -rf $RPM_BUILD_ROOT
96 DESTDIR=$RPM_BUILD_ROOT
98 %{__rm} $RPM_BUILD_ROOT%{_libdir}/%{name}/*.{la,a}
99 %{__rm} $RPM_BUILD_ROOT%{_libdir}/%{name}/Backends/*.{la,a}
101 %find_lang %{name} --with-gnome --all-name
104 rm -rf $RPM_BUILD_ROOT
107 %update_desktop_database_post
108 %update_icon_cache hicolor
109 %update_mime_database
112 %update_desktop_database_postun
113 %update_icon_cache hicolor
114 %update_mime_database
116 %files -f %{name}.lang
117 %defattr(644,root,root,755)
118 %doc AUTHORS COPYING ChangeLog NEWS README
119 %attr(755,root,root) %{_bindir}/banshee
120 %attr(755,root,root) %{_bindir}/bamz
121 %attr(755,root,root) %{_bindir}/muinshee
123 %{_pkgconfigdir}/banshee*.pc
124 %dir %{_libdir}/banshee
125 %{_libdir}/banshee/*.dll
126 %attr(755,root,root) %{_libdir}/banshee/*.so
127 %{_libdir}/banshee/*.exe
128 %{_libdir}/banshee/*.mdb
129 %{_libdir}/banshee/*.config
130 %dir %{_libdir}/banshee/Extensions
131 %{_libdir}/banshee/Extensions/*.dll
132 %{_libdir}/banshee/Extensions/*.exe
133 %{_libdir}/banshee/Extensions/*.mdb
134 %{_libdir}/banshee/Extensions/Banshee.NotificationArea.dll.config
135 %{_libdir}/banshee/Extensions/libgpod-sharp.dll.config
136 %dir %{_libdir}/banshee/Backends
137 %{_libdir}/banshee/Backends/*.config
138 %{_libdir}/banshee/Backends/*.dll
139 %{_libdir}/banshee/Backends/*.mdb
140 %{_libdir}/banshee/Backends/*.so
141 %{_libdir}/banshee/Banshee.Services.addins
142 %{_desktopdir}/banshee-audiocd.desktop
143 %{_desktopdir}/banshee-media-player.desktop
144 %{_desktopdir}/banshee.desktop
145 %{_iconsdir}/hicolor/*/*/*
146 %{_datadir}/dbus-1/services/org.bansheeproject.Banshee.service
147 %{_datadir}/dbus-1/services/org.bansheeproject.CollectionIndexer.service
148 %{_datadir}/mime/packages/banshee-amz.xml
149 %{_datadir}/mime/packages/banshee-emx.xml