4f74591
Name:    banshee
4ebdf50
Version: 0.10.8
4ebdf50
Release: 1
4f74591
Summary: easily import, manage, and play selections from your music collection
4f74591
4f74591
Group:   Applications/Multimedia
4f74591
License: MIT
4f74591
URL:     http://banshee-project.org/
4f74591
Source0: http://banshee-project.org/files/banshee/%{name}-%{version}.tar.gz
4f74591
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
4f74591
4f74591
BuildRequires: ipod-sharp
4f74591
BuildRequires: avahi-sharp
4f74591
BuildRequires: libmusicbrainz-devel >= 2.1.1
4f74591
BuildRequires: gtk-sharp2
4f74591
BuildRequires: mono-devel >= 1.1.10
4f74591
BuildRequires: mono-data
4f74591
BuildRequires: mono-data-sqlite
4f74591
BuildRequires: hal-devel
4f74591
BuildRequires: dbus-sharp >= 0.36.2
4f74591
BuildRequires: sqlite-devel >= 3.3
4f74591
BuildRequires: gstreamer-devel >= 0.10
4f74591
BuildRequires: gstreamer-plugins-base-devel >= 0.10
4f74591
BuildRequires: gnome-desktop-devel
4f74591
BuildRequires: nautilus-cd-burner-devel
cb16414
cb16414
Requires:       libipoddevice
4f74591
Requires(post): GConf2
4f74591
Requires(post): desktop-file-utils
4f74591
Requires(postun): desktop-file-utils
4f74591
4f74591
%description
4f74591
Banshee allows you to import CDs, sync your music collection to an iPod,
4f74591
play music directly from an iPod, create playlists with songs from your
4f74591
library, and create audio and MP3 CDs from subsets of your library.
4f74591
4f74591
%prep
4f74591
%setup -q
4f74591
4f74591
%build
4f74591
export MONO_SHARED_DIR=%{_builddir}/%{?buildsubdir}
1b48a42
%configure  --disable-docs --with-gstreamer-0-10 --disable-helix
8f64667
make
4f74591
4f74591
%install
4f74591
%{__rm} -rf $RPM_BUILD_ROOT
4f74591
export MONO_SHARED_DIR=%{_builddir}/%{?buildsubdir}
4f74591
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
4f74591
%makeinstall
4f74591
4f74591
desktop-file-install --vendor gnome --delete-original		\
4f74591
  --dir $RPM_BUILD_ROOT%{_datadir}/applications			\
4f74591
  --add-category X-Fedora					\
4f74591
  --add-only-show-in=GNOME                                      \
4f74591
  $RPM_BUILD_ROOT%{_datadir}/applications/banshee.desktop
4f74591
4f74591
%find_lang %name
4f74591
4f74591
%clean
4f74591
%{__rm} -rf $RPM_BUILD_ROOT
4f74591
4f74591
%post
4f74591
update-desktop-database %{_datadir}/applications
4f74591
4f74591
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
4f74591
for schema in audioscrobbler.schemas banshee.schemas daap.schemas filesystemmonitor.schemas metadatasearch.schemas mmkeys.schemas; do
4f74591
  gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/$schema > /dev/null || :
4f74591
done
4f74591
4f74591
touch --no-create %{_datadir}/icons/hicolor || :
4f74591
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
4f74591
   %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
4f74591
fi
4f74591
4f74591
4f74591
%postun
4f74591
update-desktop-database %{_datadir}/applications
4f74591
4f74591
touch --no-create %{_datadir}/icons/hicolor || :
4f74591
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
4f74591
   %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
4f74591
fi
4f74591
4f74591
4f74591
%files -f %{name}.lang
4f74591
%defattr(-,root,root,-)
4f74591
%doc COPYING
4f74591
%{_bindir}/banshee
4f74591
%{_libdir}/banshee
4f74591
%{_libdir}/pkgconfig/banshee.pc
4f74591
%{_datadir}/applications/*.desktop
4f74591
%{_datadir}/icons/hicolor/*
4f74591
%{_datadir}/dbus-1/services/org.gnome.Banshee.service
4f74591
%{_sysconfdir}/gconf/schemas
4f74591
%exclude %{_libdir}/banshee/*.a
4f74591
%exclude %{_libdir}/banshee/*.la
4f74591
4f74591
%changelog
4ebdf50
* Tue Mar 14 2006 Christopher Aillon <caillon@redhat.com> 0.10.8-1
4ebdf50
- Update to 0.10.8
4ebdf50
cb16414
* Thu Mar  9 2006 Christopher Aillon <caillon@redhat.com> 0.10.7-2
cb16414
- Add explicit Requires on libipoddevice (#184482)
cb16414
6f34567
* Tue Mar  7 2006 Christopher Aillon <caillon@redhat.com> 0.10.7-1
6f34567
- Update to 0.10.7
6f34567
- Fix build on x86-64
6f34567
8f64667
* Mon Mar  6 2006 Christopher Aillon <caillon@redhat.com> 0.10.6-3
8f64667
- Don't build with smp_mflags, as parallel make causes the build to fail
8f64667
b4dd000
* Sat Mar  4 2006 Christopher Aillon <caillon@redhat.com> 0.10.6-2
b4dd000
- Rebuild
b4dd000
4f74591
* Tue Feb 21 2006 Christopher Aillon <caillon@redhat.com> 0.10.6-1
4f74591
- Initial RPM