]>
Commit | Line | Data |
---|---|---|
0517d314 | 1 | # |
6a2b92cf | 2 | %include /usr/lib/rpm/macros.mono |
3 | # | |
9bfc9d4c | 4 | Summary: A Mono/GStreamer Based Music Player |
d3491af3 | 5 | Summary(pl.UTF-8): Oparty na Mono/GStreamerze odtwarzacz muzyki |
993a23b2 | 6 | Name: banshee |
c0d0547f | 7 | Version: 1.4.2 |
13dc8876 | 8 | Release: 2 |
993a23b2 | 9 | License: GPL |
deaf5725 | 10 | Group: Applications/Multimedia |
315fd351 | 11 | Source0: http://download.banshee-project.org/banshee/%{name}-1-%{version}.tar.bz2 |
c0d0547f | 12 | # Source0-md5: ddee6b6c66aabb2c5a91c753ad5de498 |
993a23b2 | 13 | URL: http://banshee-project.org/ |
46e669d5 | 14 | BuildRequires: GConf2-devel |
67b8e1b4 | 15 | BuildRequires: autoconf >= 2.13 |
16 | BuildRequires: automake | |
df580da3 | 17 | BuildRequires: dbus-devel >= 0.93 |
18 | BuildRequires: dbus-glib-devel >= 0.71 | |
df580da3 | 19 | BuildRequires: dotnet-gnome-sharp-devel >= 2.16.0 |
993a23b2 | 20 | BuildRequires: dotnet-gtk-sharp2-devel >= 2.10.0 |
4df7e7c3 | 21 | BuildRequires: dotnet-ipod-sharp-devel >= 0.8.1 |
7df273ba | 22 | BuildRequires: dotnet-libgphoto2-sharp-devel |
42d93016 | 23 | BuildRequires: dotnet-mono-zeroconf-devel |
7df273ba | 24 | BuildRequires: dotnet-njb-sharp |
df580da3 | 25 | BuildRequires: gnome-desktop-devel >= 2.16.0 |
42d93016 | 26 | BuildRequires: gstreamer-GConf >= 0.10.3 |
cef649e0 | 27 | BuildRequires: gstreamer-cdparanoia |
46e669d5 | 28 | BuildRequires: gstreamer-devel >= 0.10.3 |
cef649e0 | 29 | BuildRequires: gstreamer-gnomevfs |
46e669d5 | 30 | BuildRequires: gstreamer-plugins-base-devel >= 0.10.3 |
42d93016 | 31 | BuildRequires: gtk+2-devel >= 2:2.10.3 |
6a2b92cf | 32 | BuildRequires: hal-devel >= 0.5.2 |
df580da3 | 33 | BuildRequires: intltool >= 0.35 |
d4d555b5 | 34 | BuildRequires: libmtp-devel >= 0.2.0 |
46e669d5 | 35 | BuildRequires: libmusicbrainz-devel >= 2.1.1 |
068ba7f1 | 36 | BuildRequires: libtool |
4cb8e5b3 | 37 | BuildRequires: mono-addins-devel >= 0.3.1-2 |
cef649e0 | 38 | BuildRequires: mono-csharp >= 1.1.13 |
c4237635 | 39 | BuildRequires: monodoc |
df580da3 | 40 | BuildRequires: nautilus-cd-burner-devel >= 2.16.0 |
6a2b92cf | 41 | BuildRequires: pkgconfig |
42 | BuildRequires: sqlite3-devel | |
d4d555b5 | 43 | BuildRequires: taglib-sharp-devel |
5fbce7b3 | 44 | Requires: dotnet-ipod-sharp >= 0.8.0 |
52a7e183 | 45 | Requires: gstreamer-GConf >= 0.10.3 |
d4d555b5 | 46 | Requires: gstreamer-cdparanoia >= 0.10.3 |
46e669d5 | 47 | Requires: gstreamer-gnomevfs >= 0.10.3 |
42d93016 | 48 | Obsoletes: banshee-official-plugins <= 0.11.3 |
c4237635 | 49 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
9bfc9d4c | 50 | |
51 | %description | |
c4237635 JB |
52 | Banshee is a brand spankin' new audio player based on the GStreamer |
53 | media library and is developed on the Open Source Mono .NET Platform, | |
9bfc9d4c | 54 | written in C#. |
55 | ||
55c7d2aa JR |
56 | %description -l pl.UTF-8 |
57 | Banshee to nowy odtwarzacz dźwięku oparty na bibliotece odtwarzacza | |
58 | multimediów GStreamer, rozwijany na platformie .NET Mono, napisany w | |
c4237635 JB |
59 | C#. |
60 | ||
9bfc9d4c | 61 | %prep |
d4d555b5 | 62 | %setup -q -n %{name}-1-%{version} |
9bfc9d4c | 63 | |
64 | %build | |
67b8e1b4 | 65 | %{__libtoolize} |
7d027c0a | 66 | %{__intltoolize} |
993a23b2 | 67 | %{__aclocal} -I build/m4/banshee -I build/m4/shamrock |
67b8e1b4 | 68 | %{__automake} |
69 | %{__autoconf} | |
70 | ||
c4237635 | 71 | %configure \ |
c1b1e9c5 | 72 | --disable-boo \ |
c4237635 | 73 | --disable-dev-tests \ |
6a2b92cf | 74 | --disable-helix \ |
519d628e | 75 | --enable-ipod \ |
7df273ba | 76 | --enable-njb \ |
c4237635 | 77 | --disable-vlc \ |
46e669d5 | 78 | --enable-gstreamer \ |
79 | --enable-avahi \ | |
c0d0547f PZ |
80 | --disable-docs \ |
81 | --with-vendor-build-id="%{distribution}" | |
9bfc9d4c | 82 | %{__make} |
83 | ||
84 | %install | |
85 | rm -rf $RPM_BUILD_ROOT | |
46e669d5 | 86 | install -d $RPM_BUILD_ROOT%{_libdir}/monodoc/sources |
9bfc9d4c | 87 | |
9bfc9d4c | 88 | %{__make} install \ |
89 | DESTDIR=$RPM_BUILD_ROOT | |
46e669d5 | 90 | |
df580da3 | 91 | #mv $RPM_BUILD_ROOT%{_docdir}/%{name}/* $RPM_BUILD_ROOT%{_libdir}/monodoc/sources |
46e669d5 | 92 | |
4df7e7c3 | 93 | rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}-1/*.{la,a} |
94 | rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}-1/Backends/*.{la,a} | |
95 | rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}-1/gstreamer-0.10/*.{la,a} | |
46e669d5 | 96 | |
d4d555b5 | 97 | %find_lang %{name}-1 |
9bfc9d4c | 98 | |
c4237635 JB |
99 | %clean |
100 | rm -rf $RPM_BUILD_ROOT | |
101 | ||
9bfc9d4c | 102 | %post |
993a23b2 | 103 | %update_desktop_database_post |
40e4bf55 | 104 | %update_icon_cache hicolor |
6a2b92cf | 105 | |
9bfc9d4c | 106 | %postun |
993a23b2 | 107 | %update_desktop_database_postun |
40e4bf55 | 108 | %update_icon_cache hicolor |
9bfc9d4c | 109 | |
d4d555b5 | 110 | %files -f %{name}-1.lang |
c4237635 | 111 | %defattr(644,root,root,755) |
993a23b2 | 112 | %doc AUTHORS COPYING ChangeLog NEWS README |
d4d555b5 | 113 | %attr(755,root,root) %{_bindir}/banshee-1 |
114 | %{_datadir}/banshee-1 | |
115 | %{_pkgconfigdir}/banshee-1*.pc | |
116 | %dir %{_libdir}/banshee-1 | |
117 | %{_libdir}/banshee-1/*.dll | |
118 | %attr(755,root,root) %{_libdir}/banshee-1/*.so | |
119 | %{_libdir}/banshee-1/*.exe | |
120 | %{_libdir}/banshee-1/*.mdb | |
121 | %{_libdir}/banshee-1/*.config | |
122 | %dir %{_libdir}/banshee-1/Extensions | |
123 | %{_libdir}/banshee-1/Extensions/*.dll | |
124 | %{_libdir}/banshee-1/Extensions/*.mdb | |
c1b1e9c5 | 125 | %{_libdir}/banshee-1/Extensions/Banshee.NotificationArea.dll.config |
d4d555b5 | 126 | %dir %{_libdir}/banshee-1/Backends |
4df7e7c3 | 127 | %{_libdir}/banshee-1/Backends/*.config |
d4d555b5 | 128 | %{_libdir}/banshee-1/Backends/*.dll |
129 | %{_libdir}/banshee-1/Backends/*.mdb | |
c1b1e9c5 | 130 | %{_libdir}/banshee-1/Backends/*.so |
d4d555b5 | 131 | %{_libdir}/banshee-1/Banshee.Services.addins |
c1b1e9c5 PZ |
132 | %dir %{_libdir}/banshee-1/gstreamer-0.10 |
133 | %{_libdir}/banshee-1/gstreamer-0.10/*.so | |
d4d555b5 | 134 | #%{_libdir}/banshee-1/libbanshee.a |
135 | #%{_libdir}/banshee-1/libbanshee.la | |
df580da3 | 136 | #%{_libdir}/monodoc/sources/* |
c0d0547f PZ |
137 | %{_desktopdir}/banshee-1-audiocd.desktop |
138 | %{_desktopdir}/banshee-1-media-player.desktop | |
d4d555b5 | 139 | %{_desktopdir}/banshee-1.desktop |
c4237635 | 140 | %{_iconsdir}/hicolor/*/*/* |
d4d555b5 | 141 | %{_datadir}/dbus-1/services/org.bansheeproject.Banshee.service |
4df7e7c3 | 142 | %{_datadir}/dbus-1/services/org.bansheeproject.CollectionIndexer.service |