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