]>
Commit | Line | Data |
---|---|---|
6a2b92cf | 1 | %include /usr/lib/rpm/macros.mono |
2 | # | |
9bfc9d4c | 3 | |
4 | Summary: A Mono/GStreamer Based Music Player | |
d3491af3 | 5 | Summary(pl.UTF-8): Oparty na Mono/GStreamerze odtwarzacz muzyki |
993a23b2 | 6 | Name: banshee |
808f4f02 PZ |
7 | Version: 0.13.2 |
8 | Release: 1 | |
993a23b2 | 9 | License: GPL |
deaf5725 | 10 | Group: Applications/Multimedia |
993a23b2 | 11 | Source0: http://banshee-project.org/files/banshee/%{name}-%{version}.tar.gz |
808f4f02 | 12 | # Source0-md5: e75b322963c7ec1a40f59421a30764ef |
993a23b2 | 13 | URL: http://banshee-project.org/ |
46e669d5 | 14 | BuildRequires: GConf2-devel |
15 | BuildRequires: autoconf >= 2.13 | |
6a2b92cf | 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 |
808f4f02 | 21 | BuildRequires: dotnet-ipod-sharp >= 0.8.0 |
7df273ba | 22 | BuildRequires: dotnet-libgphoto2-sharp-devel |
808f4f02 | 23 | BuildRequires: dotnet-mono-zeroconf |
7df273ba | 24 | BuildRequires: dotnet-njb-sharp |
df580da3 | 25 | BuildRequires: gnome-desktop-devel >= 2.16.0 |
cef649e0 | 26 | BuildRequires: gstreamer-cdparanoia |
46e669d5 | 27 | BuildRequires: gstreamer-devel >= 0.10.3 |
cef649e0 | 28 | BuildRequires: gstreamer-gnomevfs |
46e669d5 | 29 | BuildRequires: gstreamer-plugins-base-devel >= 0.10.3 |
62668bb1 | 30 | BuildRequires: gstreamer-GConf >= 0.10.3 |
df580da3 | 31 | BuildRequires: gtk+2-devel >= 2.10.3 |
6a2b92cf | 32 | BuildRequires: hal-devel >= 0.5.2 |
df580da3 | 33 | BuildRequires: intltool >= 0.35 |
46e669d5 | 34 | BuildRequires: libmusicbrainz-devel >= 2.1.1 |
df580da3 | 35 | BuildRequires: libtool |
cef649e0 | 36 | BuildRequires: mono-csharp >= 1.1.13 |
c4237635 | 37 | BuildRequires: monodoc |
df580da3 | 38 | BuildRequires: nautilus-cd-burner-devel >= 2.16.0 |
6a2b92cf | 39 | BuildRequires: pkgconfig |
40 | BuildRequires: sqlite3-devel | |
b6ad8d01 | 41 | Obsoletes: banshee-official-plugins <= 0.11.3 |
46e669d5 | 42 | Requires: gstreamer-cdparanoia >= 0.10.3 |
52a7e183 | 43 | Requires: gstreamer-GConf >= 0.10.3 |
46e669d5 | 44 | Requires: gstreamer-gnomevfs >= 0.10.3 |
c4237635 | 45 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
9bfc9d4c | 46 | |
47 | %description | |
c4237635 JB |
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, | |
9bfc9d4c | 50 | written in C#. |
51 | ||
55c7d2aa JR |
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 | |
c4237635 JB |
55 | C#. |
56 | ||
9bfc9d4c | 57 | %prep |
58 | %setup -q | |
9bfc9d4c | 59 | |
60 | %build | |
7d027c0a | 61 | %{__intltoolize} |
993a23b2 | 62 | %{__aclocal} -I build/m4/banshee -I build/m4/shamrock |
46e669d5 | 63 | %{__libtoolize} |
64 | %{__automake} | |
65 | %{__autoconf} | |
c4237635 | 66 | %configure \ |
c4237635 | 67 | --disable-dev-tests \ |
6a2b92cf | 68 | --disable-helix \ |
519d628e | 69 | --enable-ipod \ |
7df273ba | 70 | --enable-njb \ |
c4237635 | 71 | --disable-vlc \ |
46e669d5 | 72 | --enable-gstreamer \ |
73 | --enable-avahi \ | |
df580da3 | 74 | --disable-schemas-install \ |
75 | --disable-docs | |
9bfc9d4c | 76 | %{__make} |
77 | ||
78 | %install | |
79 | rm -rf $RPM_BUILD_ROOT | |
46e669d5 | 80 | install -d $RPM_BUILD_ROOT%{_libdir}/monodoc/sources |
9bfc9d4c | 81 | |
9bfc9d4c | 82 | %{__make} install \ |
83 | DESTDIR=$RPM_BUILD_ROOT | |
46e669d5 | 84 | |
df580da3 | 85 | #mv $RPM_BUILD_ROOT%{_docdir}/%{name}/* $RPM_BUILD_ROOT%{_libdir}/monodoc/sources |
46e669d5 | 86 | |
87 | rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/*.{la,a} | |
88 | ||
9bfc9d4c | 89 | %find_lang %{name} |
90 | ||
c4237635 JB |
91 | %clean |
92 | rm -rf $RPM_BUILD_ROOT | |
93 | ||
9bfc9d4c | 94 | %post |
993a23b2 | 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" | |
6a2b92cf | 97 | for S in $SCHEMAS; do |
98 | %gconf_schema_install $S | |
99 | done | |
40e4bf55 | 100 | %update_icon_cache hicolor |
6a2b92cf | 101 | |
102 | %preun | |
993a23b2 | 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" |
9bfc9d4c | 104 | for S in $SCHEMAS; do |
ad3cc04a | 105 | %gconf_schema_uninstall $S |
9bfc9d4c | 106 | done |
107 | ||
108 | %postun | |
993a23b2 | 109 | %update_desktop_database_postun |
40e4bf55 | 110 | %update_icon_cache hicolor |
9bfc9d4c | 111 | |
112 | %files -f %{name}.lang | |
c4237635 | 113 | %defattr(644,root,root,755) |
993a23b2 | 114 | %doc AUTHORS COPYING ChangeLog NEWS README |
115 | %{_sysconfdir}/gconf/schemas/*.schemas | |
c4237635 | 116 | %attr(755,root,root) %{_bindir}/banshee |
993a23b2 | 117 | %{_datadir}/banshee |
c4237635 JB |
118 | %{_pkgconfigdir}/banshee.pc |
119 | %dir %{_libdir}/banshee | |
9bfc9d4c | 120 | %{_libdir}/banshee/*.dll |
c4237635 | 121 | %attr(755,root,root) %{_libdir}/banshee/*.so |
9bfc9d4c | 122 | %{_libdir}/banshee/*.exe |
123 | %{_libdir}/banshee/*.mdb | |
124 | %{_libdir}/banshee/*.config | |
df580da3 | 125 | %{_libdir}/banshee/Banshee.Dap |
c4237635 JB |
126 | %{_libdir}/banshee/Banshee.MediaEngine |
127 | %{_libdir}/banshee/Banshee.Plugins | |
df580da3 | 128 | #%{_libdir}/monodoc/sources/* |
c4237635 JB |
129 | %{_desktopdir}/banshee.desktop |
130 | %{_iconsdir}/hicolor/*/*/* | |
9bfc9d4c | 131 | %{_datadir}/dbus-1/services/org.gnome.Banshee.service |