- release 3
[packages/banshee.git] / banshee.spec
CommitLineData
0517d314 1#
6a2b92cf 2%include /usr/lib/rpm/macros.mono
3#
9bfc9d4c 4Summary: A Mono/GStreamer Based Music Player
d3491af3 5Summary(pl.UTF-8): Oparty na Mono/GStreamerze odtwarzacz muzyki
993a23b2 6Name: banshee
9bb5e85e 7Version: 1.8.1
bffbeb22 8Release: 3
993a23b2 9License: GPL
1742990f 10Group: X11/Applications/Multimedia
9bb5e85e
PZ
11Source0: http://download.banshee-project.org/banshee/stable/1.8.1/%{name}-1-%{version}.tar.bz2
12# Source0-md5: 15311add4f943300701d7da3b488452e
a653dcb8 13URL: http://banshee.fm/
46e669d5 14BuildRequires: GConf2-devel
1742990f
MB
15BuildRequires: autoconf >= 2.52
16BuildRequires: automake >= 1:1.9
7d5f4803 17BuildRequires: clutter-devel >= 1.0.1
a653dcb8
MB
18BuildRequires: dotnet-gdata-sharp-devel >= 1.5.0
19BuildRequires: dotnet-gio-sharp-devel
20BuildRequires: dotnet-gkeyfile-sharp-devel >= 0.1
df580da3 21BuildRequires: dotnet-gnome-sharp-devel >= 2.16.0
a653dcb8
MB
22BuildRequires: dotnet-gtk-sharp-beans-devel >= 2.8
23BuildRequires: dotnet-gtk-sharp2-devel >= 2.12.10
24BuildRequires: dotnet-gudev-sharp-devel >= 0.1
e1bdebb4 25BuildRequires: dotnet-ipod-sharp-devel >= 0.8.5
a653dcb8
MB
26BuildRequires: dotnet-libgpod-sharp-devel >= 0.8.0
27BuildRequires: dotnet-mono-zeroconf-devel >= 0.8.0
8dbc7f24 28BuildRequires: dotnet-ndesk-dbus-glib-sharp-devel >= 0.3
8dbc7f24 29BuildRequires: dotnet-notify-sharp-devel
1742990f 30BuildRequires: dotnet-taglib-sharp-devel >= 2.0.3.7
73efa064 31BuildRequires: gettext-devel
a653dcb8
MB
32BuildRequires: glib2-devel >= 1:2.22.0
33BuildRequires: gnome-desktop-devel >= 2.28.0
34BuildRequires: gnome-doc-utils >= 0.18.0
1742990f 35BuildRequires: gstreamer-devel >= 0.10.12
dd020e05 36BuildRequires: gstreamer-plugins-base-devel >= 0.10.25.2
42d93016 37BuildRequires: gtk+2-devel >= 2:2.10.3
a653dcb8 38BuildRequires: gtk-webkit-devel >= 1.2.2
6a2b92cf 39BuildRequires: hal-devel >= 0.5.2
1742990f 40BuildRequires: intltool >= 0.35.0
a653dcb8
MB
41BuildRequires: libmtp-devel >= 0.3.0
42BuildRequires: libsoup-gnome-devel >= 2.26.0
068ba7f1 43BuildRequires: libtool
4cb8e5b3 44BuildRequires: mono-addins-devel >= 0.3.1-2
1742990f 45BuildRequires: mono-csharp >= 2.4.3
c4237635 46BuildRequires: monodoc
6a2b92cf 47BuildRequires: pkgconfig
a653dcb8 48BuildRequires: rpmbuild(macros) >= 1.311
1742990f 49BuildRequires: sqlite3-devel >= 3.4.0
a653dcb8 50Requires(post,postun): desktop-file-utils
d42ef151 51Requires(post,postun): gtk-update-icon-cache
a653dcb8 52Requires(post,postun): shared-mime-info
1742990f 53Requires: dotnet-ipod-sharp >= 0.8.5
52a7e183 54Requires: gstreamer-GConf >= 0.10.3
d4d555b5 55Requires: gstreamer-cdparanoia >= 0.10.3
a653dcb8 56Requires: hicolor-icon-theme
788d7add 57Requires: mono-addins >= 0.3.1-2
a653dcb8 58Suggests: brasero
42d93016 59Obsoletes: banshee-official-plugins <= 0.11.3
c4237635 60BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
9bfc9d4c 61
62%description
c4237635
JB
63Banshee is a brand spankin' new audio player based on the GStreamer
64media library and is developed on the Open Source Mono .NET Platform,
9bfc9d4c 65written in C#.
66
55c7d2aa
JR
67%description -l pl.UTF-8
68Banshee to nowy odtwarzacz dźwięku oparty na bibliotece odtwarzacza
69multimediów GStreamer, rozwijany na platformie .NET Mono, napisany w
c4237635
JB
70C#.
71
9bfc9d4c 72%prep
d4d555b5 73%setup -q -n %{name}-1-%{version}
9bfc9d4c 74
75%build
67b8e1b4 76%{__libtoolize}
7d027c0a 77%{__intltoolize}
7d5f4803 78%{__aclocal} -I build/m4/banshee -I build/m4/shave -I build/m4/shamrock
67b8e1b4 79%{__automake}
80%{__autoconf}
81
a653dcb8 82%configure \
c1b1e9c5 83 --disable-boo \
519d628e 84 --enable-ipod \
c0d0547f 85 --disable-docs \
a8137a8b 86 --disable-shave \
c0d0547f 87 --with-vendor-build-id="%{distribution}"
a653dcb8 88%{__make} -j1
9bfc9d4c 89
90%install
91rm -rf $RPM_BUILD_ROOT
9bfc9d4c 92
9bfc9d4c 93%{__make} install \
94 DESTDIR=$RPM_BUILD_ROOT
46e669d5 95
4df7e7c3 96rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}-1/*.{la,a}
97rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}-1/Backends/*.{la,a}
98rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}-1/gstreamer-0.10/*.{la,a}
46e669d5 99
a653dcb8 100%find_lang %{name}-1 --with-gnome --all-name
9bfc9d4c 101
c4237635
JB
102%clean
103rm -rf $RPM_BUILD_ROOT
104
9bfc9d4c 105%post
993a23b2 106%update_desktop_database_post
40e4bf55 107%update_icon_cache hicolor
a653dcb8 108%update_mime_database
6a2b92cf 109
9bfc9d4c 110%postun
993a23b2 111%update_desktop_database_postun
40e4bf55 112%update_icon_cache hicolor
a653dcb8 113%update_mime_database
9bfc9d4c 114
d4d555b5 115%files -f %{name}-1.lang
c4237635 116%defattr(644,root,root,755)
993a23b2 117%doc AUTHORS COPYING ChangeLog NEWS README
d4d555b5 118%attr(755,root,root) %{_bindir}/banshee-1
a653dcb8 119%attr(755,root,root) %{_bindir}/bamz
7d5f4803 120%attr(755,root,root) %{_bindir}/muinshee
d4d555b5 121%{_datadir}/banshee-1
122%{_pkgconfigdir}/banshee-1*.pc
123%dir %{_libdir}/banshee-1
124%{_libdir}/banshee-1/*.dll
125%attr(755,root,root) %{_libdir}/banshee-1/*.so
126%{_libdir}/banshee-1/*.exe
127%{_libdir}/banshee-1/*.mdb
128%{_libdir}/banshee-1/*.config
129%dir %{_libdir}/banshee-1/Extensions
130%{_libdir}/banshee-1/Extensions/*.dll
a653dcb8 131%{_libdir}/banshee-1/Extensions/*.exe
d4d555b5 132%{_libdir}/banshee-1/Extensions/*.mdb
c1b1e9c5 133%{_libdir}/banshee-1/Extensions/Banshee.NotificationArea.dll.config
a653dcb8 134%{_libdir}/banshee-1/Extensions/libgpod-sharp.dll.config
d4d555b5 135%dir %{_libdir}/banshee-1/Backends
4df7e7c3 136%{_libdir}/banshee-1/Backends/*.config
d4d555b5 137%{_libdir}/banshee-1/Backends/*.dll
138%{_libdir}/banshee-1/Backends/*.mdb
c1b1e9c5 139%{_libdir}/banshee-1/Backends/*.so
d4d555b5 140%{_libdir}/banshee-1/Banshee.Services.addins
c1b1e9c5
PZ
141%dir %{_libdir}/banshee-1/gstreamer-0.10
142%{_libdir}/banshee-1/gstreamer-0.10/*.so
c0d0547f
PZ
143%{_desktopdir}/banshee-1-audiocd.desktop
144%{_desktopdir}/banshee-1-media-player.desktop
d4d555b5 145%{_desktopdir}/banshee-1.desktop
c4237635 146%{_iconsdir}/hicolor/*/*/*
d4d555b5 147%{_datadir}/dbus-1/services/org.bansheeproject.Banshee.service
4df7e7c3 148%{_datadir}/dbus-1/services/org.bansheeproject.CollectionIndexer.service
a653dcb8 149%{_datadir}/mime/packages/banshee-amz.xml
This page took 0.203535 seconds and 4 git commands to generate.