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