nigelj e9a9c68
%define mono_shared %{_builddir}/%{?buildsubdir}
nigelj e9a9c68
4f74591
Name:    banshee
nigelj 523184b
Version: 1.2.0
nigelj 7aade52
Release: 2.1%{?dist}
66b2653
Summary: Easily import, manage, and play selections from your music collection
4f74591
Group:   Applications/Multimedia
4f74591
License: MIT
4f74591
URL:     http://banshee-project.org/
66b2653
Source0: http://banshee-project.org/files/banshee/banshee-1-%{version}.tar.bz2
nigelj 20ec079
#As we are not shipping the boo interface quite yet, no need for our note to ppc users
nigelj 458ded3
Source1: README.Fedora
4f74591
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
4f74591
fb76117
# We only have mono on these arches:
66b2653
ExclusiveArch: %ix86 x86_64 ia64 armv4l sparc alpha ppc
fb76117
nigelj e9a9c68
# Versioned dependencies
4f74591
BuildRequires: libmusicbrainz-devel >= 2.1.1
4f74591
BuildRequires: mono-devel >= 1.1.10
608e3af
BuildRequires: mono-zeroconf-devel >= 0.7.2
d648372
BuildRequires: hal-devel >= 0.5.6
4f74591
BuildRequires: sqlite-devel >= 3.3
4f74591
BuildRequires: gstreamer-devel >= 0.10
4f74591
BuildRequires: gstreamer-plugins-base-devel >= 0.10
4f98119
BuildRequires: gstreamer-plugins-good >= 0.10
nigelj e9a9c68
BuildRequires: libmtp-devel >= 0.2.0
nigelj 20ec079
nigelj e9a9c68
# Sharp
nigelj 53120e9
BuildRequires: ipod-sharp-devel avahi-sharp gtk-sharp2-devel taglib-sharp-devel gnome-sharp-devel
nigelj 20ec079
nigelj e9a9c68
# Extra mono deps
nigelj e9a9c68
BuildRequires: mono-data mono-data-sqlite mono-addins-devel
nigelj 20ec079
nigelj e9a9c68
# Gnome/Glib
nigelj e9a9c68
BuildRequires: gnome-desktop-devel nautilus-cd-burner-devel ndesk-dbus-glib-devel
nigelj 20ec079
nigelj e9a9c68
# Misc
nigelj e9a9c68
BuildRequires: gettext-devel perl(XML::Parser)
nigelj 20ec079
nigelj 574f4b2
# No boo-devel for ppc but we owe it to the users to keep banshee up to date
nigelj 7aade52
%ifarch  %ix86 x86_64 sparc
nigelj 574f4b2
BuildRequires: boo-devel
nigelj 574f4b2
%endif
nigelj 20ec079
nigelj e9a9c68
BuildRequires: desktop-file-utils
cb16414
cb16414
Requires:       libipoddevice
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
nigelj e9a9c68
%package devel
nigelj e9a9c68
Summary: Development files for Banshee
nigelj e9a9c68
Group: Development/Libraries
nigelj e9a9c68
Requires:       %{name} = %{version}-%{release}
nigelj e9a9c68
Requires:       pkgconfig
nigelj e9a9c68
nigelj e9a9c68
%description devel
nigelj e9a9c68
Development files for Banshee Media Player
nigelj e9a9c68
4f74591
%prep
66b2653
%setup -q -n %{name}-1-%{version}
nigelj 64a28c1
#cp %{SOURCE1} .
4f74591
4f74591
%build
nigelj e9a9c68
export MONO_SHARED_DIR=%mono_shared
dnielsen be2d2e7
%configure  --disable-docs --with-gstreamer-0-10 --disable-helix \
dnielsen a614215
            --enable-external-ndesk-dbus \
nigelj 458ded3
            --enable-mtp --enable-ipod --enable-podcast \
nigelj 7aade52
%ifnarch %ix86 x86_64 sparc
nigelj 7aade52
            --disable-boo \
nigelj 7aade52
%endif
dnielsen be2d2e7
            --disable-gstreamer-plugins-check
8f64667
make
4f74591
4f74591
%install
nigelj e9a9c68
%{__rm} -rf %{buildroot}
nigelj e9a9c68
export MONO_SHARED_DIR=%mono_shared
nigelj e9a9c68
make install DESTDIR=%{buildroot}
4f74591
nigelj 465555f
desktop-file-install --vendor gnome --delete-original \
nigelj 465555f
  --dir $RPM_BUILD_ROOT%{_datadir}/applications \
nigelj 465555f
  --add-category X-Fedora \
nigelj 465555f
  --add-only-show-in=GNOME \
nigelj e9a9c68
  %{buildroot}%{_datadir}/applications/banshee-1.desktop
4f74591
66b2653
%find_lang %name-1
4f74591
4f74591
%clean
nigelj e9a9c68
%{__rm} -rf  %{buildroot}
4f74591
4f74591
%post
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
%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
66b2653
%files -f %{name}-1.lang
4f74591
%defattr(-,root,root,-)
nigelj 20ec079
%doc COPYING AUTHORS ChangeLog README NEWS
66b2653
%{_bindir}/banshee-1
66b2653
%{_libdir}/banshee-1
4f74591
%{_datadir}/applications/*.desktop
66b2653
%{_datadir}/dbus-1/services/org.bansheeproject.Banshee.service
nigelj e9a9c68
%{_datadir}/banshee-1/
66b2653
%{_datadir}/icons/hicolor/*/apps/media-player-banshee.png
nigelj e9a9c68
#%exclude %{_datadir}/icons/hicolor/icon-theme.cache
66b2653
%exclude %{_libdir}/banshee-1/*.a
66b2653
%exclude %{_libdir}/banshee-1/*.la
4f74591
nigelj e9a9c68
%files devel
nigelj e9a9c68
%defattr(-,root,root,-)
nigelj e9a9c68
%{_libdir}/pkgconfig/banshee-1-*.pc
nigelj e9a9c68
4f74591
%changelog
nigelj 7aade52
* Thu Jul 31 2008 Nigel Jones <dev@nigelj.com> - 1.2.0-2.1
nigelj 7aade52
- ifarching foo broke... now fixed
nigelj 7aade52
nigelj 7aade52
* Wed Jul 30 2008 Nigel Jones <dev@nigelj.com> - 1.2.0-2
nigelj 574f4b2
- Reenable boo, I can't see why not now...
nigelj 574f4b2
nigelj 7aade52
* Wed Jul 30 2008 Nigel Jones <dev@nigelj.com> - 1.2.0-1
nigelj 523184b
- Update to 1.2.0 (new upstream release)
nigelj 523184b
- Refer to: http://banshee-project.org/download/archives/1.2.0/ for more details
nigelj 523184b
nigelj ca3a6da
* Fri Jul 4 2008 Nigel Jones <dev@nigelj.com> - 1.0.0-2
nigelj ca3a6da
- Bump for new gnome-sharp
nigelj ca3a6da
nigelj e800efe
* Fri Jun 6 2008 Nigel Jones <dev@nigelj.com> - 1.0.0-1
nigelj e800efe
- Banshee goes GOLD!
nigelj e800efe
nigelj 465555f
* Wed Jun 4 2008 Nigel Jones <dev@nigelj.com> - 0.99.3-2
nigelj 465555f
- Disable boo (again) - Broken dependencies and 'issues'
nigelj 465555f
nigelj 09a4f73
* Sat May 30 2008 Nigel Jones <dev@nigelj.com> - 0.99.3-1
nigelj 09a4f73
- New Upstream Release (0.99.3) - RC 1
nigelj 09a4f73
nigelj 09a4f73
* Tue May 27 2008 Nigel Jones <dev@nigelj.com> - 0.99.2-3
nigelj b1c57af
- Rebuild for new gtk-sharp2
nigelj b1c57af
nigelj 53120e9
* Sat May 24 2008 Nigel Jones <dev@nigelj.com> - 0.99.2-2
nigelj 53120e9
- Rebuild & correct BR
nigelj 53120e9
nigelj 458ded3
* Fri May 23 2008 Nigel Jones <dev@nigelj.com> - 0.99.2-1
nigelj 458ded3
- New Upstream Release (0.99.2) - Beta 2
nigelj 458ded3
- Enable podcast & boo
nigelj 458ded3
nigelj 64a28c1
* Sat May 5 2008 Nigel Jones <dev@nigelj.com> - 0.99.1-1.1
nigelj 64a28c1
- Fix brainfart...  Comment out the cp for Source1 which I moved out of the way
nigelj 64a28c1
nigelj 20ec079
* Sat May 5 2008 Nigel Jones <dev@nigelj.com> - 0.99.1-1
nigelj 20ec079
- New Upstream Release (0.99.1) - Beta 1 (Closes: Bug# 445449)
nigelj 20ec079
- boo doesn't work quite yet for us, this will most likely be enabled in a -2
nigelj 20ec079
  build (README.Fedora hence removed from sources)
nigelj e9a9c68
- Spec file improvements per guidelines
nigelj e9a9c68
- Put .pc files in their proper place
nigelj e9a9c68
4a98c52
* Sat Apr 12 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.98.3-2
4a98c52
- adding BR: mono-addins-devel
4a98c52
66b2653
* Sat Apr 12 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.98.3-1
66b2653
- update to 0.98.3 (which doesn't have any prebuilt binaries in it)
66b2653
dnielsen a614215
* Thu Feb 21 2008 David Nielsen <david@lovesunix.net> - 0.13.3-4
dnielsen a614215
- revert to using bundled boo as external has no ppc support currently
dnielsen a614215
dnielsen be2d2e7
* Thu Feb 21 2008 David Nielsen <david@lovesunix.net> - 0.13.2-3
dnielsen be2d2e7
- Use external boo and ndesk-dbus
dnielsen be2d2e7
- Nicer workaround to gstreamer-plugin detection problem
dnielsen be2d2e7
9a3302e
* Fri Jan 18 2008 Matthias Clasen <mclasen@redhat.com> - 0.13.2-2
9a3302e
- Add content-type support
9a3302e
bb7c4d2
* Mon Jan 14 2008 Christopher Aillon <caillon@redhat.com> - 0.13.2-1
bb7c4d2
- Update to 0.13.2
bb7c4d2
260f71b
* Fri Aug 31 2007 Christopher Aillon <caillon@redhat.com> - 0.13.1-1
260f71b
- Update to 0.13.1
260f71b
d648372
* Tue Aug  7 2007 Christopher Aillon <caillon@redhat.com> - 0.13.0-1
d648372
- Update to 0.13.0
d648372
16fd8b4
* Sun May  6 2007 Matthias Clasen <mclasen@redhat.com> - 0.12.1-3
16fd8b4
- Own /usr/share/banshee (#233823)
16fd8b4
dce277d
* Tue Apr 17 2007 Christopher Aillon <caillon@redhat.com> - 0.12.1-2
dce277d
- Fix typo in schemas
dce277d
42396af
* Thu Apr  5 2007 Christopher Aillon <caillon@redhat.com> - 0.12.1-1
42396af
- Update to 0.12.1
42396af
6152061
* Fri Mar 30 2007 Christopher Aillon <caillon@redhat.com> - 0.12.0-5
6152061
- Fix up schema installs
6152061
0cb6871
* Fri Mar 23 2007 Christopher Aillon <caillon@redhat.com> - 0.12.0-4
0cb6871
- Some more updates to the file list
0cb6871
d113fb2
* Tue Mar 20 2007 Christopher Aillon <caillon@redhat.com> - 0.12.0-3
d113fb2
- Remove %%{_datadir}/icons/hicolor/* from %%files
d113fb2
d113fb2
* Wed Mar  7 2007 Christopher Aillon <caillon@redhat.com> - 0.12.0-2
4f98119
- Add gstreamer-plugins-good as a build dep for gconfaudiosink
4f98119
4f98119
* Wed Mar  7 2007 Christopher Aillon <caillon@redhat.com> - 0.12.0-1
ac6d480
- Update to 0.12.0
ac6d480
171fc9c
* Fri Feb  2 2007 Christopher Aillon <caillon@redhat.com> - 0.11.5-1
171fc9c
- Update to 0.11.5
171fc9c
dee32fc
* Fri Sep  1 2006 Christopher Aillon <caillon@redhat.com> - 0.10.12-4
dee32fc
- Register banshee-notificationareaicon.schemas in %%post (bug 185605)
dee32fc
- Add dllmap for libdbus-glib so banshee works without dbus-glib-devel
dee32fc
  (bug 202990)
dee32fc
0a95192
* Mon Aug 28 2006 Christopher Aillon <caillon@redhat.com> - 0.10.12-3
0a95192
- Rebuild
0a95192
05fa551
* Sat Aug 26 2006 Christopher Aillon <caillon@redhat.com> - 0.10.12-2
05fa551
- For some reason, the last build picked up dependencies on both
05fa551
  mono(glib-sharp) = 2.8.0.0 and mono(glib-sharp) = 2.10.0.0
05fa551
  Not sure why, but hopefully this rebuild fixes it....
05fa551
05fa551
* Wed Aug 23 2006 Christopher Aillon <caillon@redhat.com> - 0.10.12-1
252c30e
- Update to 0.10.12
252c30e
- Build against newer mono stack
252c30e
426d359
* Mon Aug  7 2006 Nalin Dahyabhai <nalin@redhat.com> - 0.10.11-1
426d359
- Update to 0.10.11
426d359
- Buildrequire: dbus-sharp-devel, because configure looks for it
a368522
- Buildrequire: gettext-devel, because configure looks for its copy of msgfmt
426d359
73f8b13
* Fri Jun 16 2006 Jeremy Katz <katzj@redhat.com> - 0.10.10-2
9c3a01c
- rebuild against new nautilus-cd-burner
9c3a01c
- hack to get it to build
73f8b13
c689434
* Tue May  2 2006 Christopher Aillon <caillon@redhat.com> 0.10.10-1
c689434
- Update to 0.10.10
c689434
2c94d00
* Tue Mar 21 2006 Christopher Aillon <caillon@redhat.com> 0.10.9-1
2c94d00
- Update to 0.10.9
2c94d00
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