]> git.pld-linux.org Git - packages/banshee.git/blame - banshee.spec
- enable JukeBox support
[packages/banshee.git] / banshee.spec
CommitLineData
6a2b92cf 1# ToDo:
6a2b92cf 2# - make some proper bconds for other it
3#
4%include /usr/lib/rpm/macros.mono
5#
9bfc9d4c 6
7Summary: A Mono/GStreamer Based Music Player
d3491af3 8Summary(pl.UTF-8): Oparty na Mono/GStreamerze odtwarzacz muzyki
993a23b2 9Name: banshee
10Version: 0.12.1
519d628e 11Release: 0.3
993a23b2 12License: GPL
deaf5725 13Group: Applications/Multimedia
993a23b2 14Source0: http://banshee-project.org/files/banshee/%{name}-%{version}.tar.gz
15# Source0-md5: 6bcfe0a4ca92e6cce86244938f004b8c
96943633 16Patch0: %{name}-spurious_trailing_comma.patch
993a23b2 17URL: http://banshee-project.org/
46e669d5 18BuildRequires: GConf2-devel
19BuildRequires: autoconf >= 2.13
6a2b92cf 20BuildRequires: automake
df580da3 21BuildRequires: dbus-devel >= 0.93
22BuildRequires: dbus-glib-devel >= 0.71
6a2b92cf 23BuildRequires: dotnet-avahi-devel
df580da3 24BuildRequires: dotnet-gnome-sharp-devel >= 2.16.0
993a23b2 25BuildRequires: dotnet-gtk-sharp2-devel >= 2.10.0
519d628e 26BuildRequires: dotnet-ipod-sharp
7df273ba
PZ
27BuildRequires: dotnet-libgphoto2-sharp-devel
28BuildRequires: dotnet-njb-sharp
df580da3 29BuildRequires: gnome-desktop-devel >= 2.16.0
cef649e0 30BuildRequires: gstreamer-cdparanoia
46e669d5 31BuildRequires: gstreamer-devel >= 0.10.3
cef649e0 32BuildRequires: gstreamer-gnomevfs
46e669d5 33BuildRequires: gstreamer-plugins-base-devel >= 0.10.3
df580da3 34BuildRequires: gtk+2-devel >= 2.10.3
6a2b92cf 35BuildRequires: hal-devel >= 0.5.2
df580da3 36BuildRequires: intltool >= 0.35
46e669d5 37BuildRequires: libmusicbrainz-devel >= 2.1.1
df580da3 38BuildRequires: libtool
cef649e0 39BuildRequires: mono-csharp >= 1.1.13
c4237635 40BuildRequires: monodoc
df580da3 41BuildRequires: nautilus-cd-burner-devel >= 2.16.0
6a2b92cf 42BuildRequires: pkgconfig
43BuildRequires: sqlite3-devel
46e669d5 44Requires: gstreamer-cdparanoia >= 0.10.3
45Requires: gstreamer-gnomevfs >= 0.10.3
c4237635 46BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
9bfc9d4c 47
48%description
c4237635
JB
49Banshee is a brand spankin' new audio player based on the GStreamer
50media library and is developed on the Open Source Mono .NET Platform,
9bfc9d4c 51written in C#.
52
55c7d2aa
JR
53%description -l pl.UTF-8
54Banshee to nowy odtwarzacz dźwięku oparty na bibliotece odtwarzacza
55multimediów GStreamer, rozwijany na platformie .NET Mono, napisany w
c4237635
JB
56C#.
57
9bfc9d4c 58%prep
59%setup -q
96943633 60%patch -p1
9bfc9d4c 61
62%build
993a23b2 63%{__aclocal} -I build/m4/banshee -I build/m4/shamrock
46e669d5 64%{__libtoolize}
65%{__automake}
66%{__autoconf}
c4237635 67%configure \
c4237635 68 --disable-dev-tests \
6a2b92cf 69 --disable-helix \
519d628e 70 --enable-ipod \
7df273ba 71 --enable-njb \
c4237635 72 --disable-vlc \
46e669d5 73 --enable-gstreamer \
74 --enable-avahi \
df580da3 75 --disable-schemas-install \
76 --disable-docs
9bfc9d4c 77%{__make}
78
79%install
80rm -rf $RPM_BUILD_ROOT
46e669d5 81install -d $RPM_BUILD_ROOT%{_libdir}/monodoc/sources
9bfc9d4c 82
9bfc9d4c 83%{__make} install \
84 DESTDIR=$RPM_BUILD_ROOT
46e669d5 85
df580da3 86#mv $RPM_BUILD_ROOT%{_docdir}/%{name}/* $RPM_BUILD_ROOT%{_libdir}/monodoc/sources
46e669d5 87
88rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/*.{la,a}
89
9bfc9d4c 90%find_lang %{name}
91
c4237635
JB
92%clean
93rm -rf $RPM_BUILD_ROOT
94
9bfc9d4c 95%post
993a23b2 96%update_desktop_database_post
97SCHEMAS="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 98for S in $SCHEMAS; do
99 %gconf_schema_install $S
100done
101
102%preun
993a23b2 103SCHEMAS="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 104for S in $SCHEMAS; do
6a2b92cf 105 %gconf_schema_install $S
9bfc9d4c 106done
107
108%postun
993a23b2 109%update_desktop_database_postun
9bfc9d4c 110
111%files -f %{name}.lang
c4237635 112%defattr(644,root,root,755)
993a23b2 113%doc AUTHORS COPYING ChangeLog NEWS README
114%{_sysconfdir}/gconf/schemas/*.schemas
c4237635 115%attr(755,root,root) %{_bindir}/banshee
993a23b2 116%{_datadir}/banshee
c4237635
JB
117%{_pkgconfigdir}/banshee.pc
118%dir %{_libdir}/banshee
9bfc9d4c 119%{_libdir}/banshee/*.dll
c4237635 120%attr(755,root,root) %{_libdir}/banshee/*.so
9bfc9d4c 121%{_libdir}/banshee/*.exe
122%{_libdir}/banshee/*.mdb
123%{_libdir}/banshee/*.config
df580da3 124%{_libdir}/banshee/Banshee.Dap
c4237635
JB
125%{_libdir}/banshee/Banshee.MediaEngine
126%{_libdir}/banshee/Banshee.Plugins
df580da3 127#%{_libdir}/monodoc/sources/*
c4237635
JB
128%{_desktopdir}/banshee.desktop
129%{_iconsdir}/hicolor/*/*/*
9bfc9d4c 130%{_datadir}/dbus-1/services/org.gnome.Banshee.service
This page took 0.112542 seconds and 4 git commands to generate.