From e9a9c68e294a01a7d2fac2b420d19e60572c5b26 Mon Sep 17 00:00:00 2001 From: nigelj Date: May 10 2008 03:44:39 +0000 Subject: New Upstream Version - 0.99.1 (not final spec file) --- diff --git a/.cvsignore b/.cvsignore index 01d6a19..0896af3 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -banshee-1-0.98.3.tar.bz2 +banshee-1-0.99.1.tar.bz2 diff --git a/README.Fedora b/README.Fedora new file mode 100644 index 0000000..a57de5a --- /dev/null +++ b/README.Fedora @@ -0,0 +1,7 @@ +Attention PPC Users: +Sadly it is not possible to include the boo scripting interface for the ppc +architechure at this point of time. When boo becomes available for ppc we will +provide an update that enables it. + +Thank You, +Fedora Banshee Maintainers diff --git a/banshee.spec b/banshee.spec index a145e27..653a49f 100644 --- a/banshee.spec +++ b/banshee.spec @@ -1,76 +1,86 @@ +%define mono_shared %{_builddir}/%{?buildsubdir} + Name: banshee -Version: 0.98.3 -Release: 2%{?dist} +Version: 0.99.1 +Release: 0.1%{?dist} Summary: Easily import, manage, and play selections from your music collection - Group: Applications/Multimedia License: MIT URL: http://banshee-project.org/ Source0: http://banshee-project.org/files/banshee/banshee-1-%{version}.tar.bz2 +Source1: README.Fedora BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) # We only have mono on these arches: ExclusiveArch: %ix86 x86_64 ia64 armv4l sparc alpha ppc -BuildRequires: ipod-sharp -BuildRequires: avahi-sharp +# Versioned dependencies BuildRequires: libmusicbrainz-devel >= 2.1.1 -BuildRequires: gtk-sharp2-devel BuildRequires: mono-devel >= 1.1.10 -BuildRequires: mono-data -BuildRequires: mono-data-sqlite BuildRequires: mono-zeroconf-devel >= 0.7.2 BuildRequires: hal-devel >= 0.5.6 BuildRequires: sqlite-devel >= 3.3 BuildRequires: gstreamer-devel >= 0.10 BuildRequires: gstreamer-plugins-base-devel >= 0.10 BuildRequires: gstreamer-plugins-good >= 0.10 -BuildRequires: gnome-desktop-devel -BuildRequires: gnome-sharp-devel -BuildRequires: nautilus-cd-burner-devel -BuildRequires: gettext-devel -BuildRequires: perl(XML::Parser) -BuildRequires: ndesk-dbus-glib-devel -BuildRequires: taglib-sharp-devel -BuildRequires: libmtp-devel -BuildRequires: mono-addins-devel +BuildRequires: libmtp-devel >= 0.2.0 +# Sharp +BuildRequires: ipod-sharp avahi-sharp gtk-sharp2-devel taglib-sharp-devel gnome-sharp-devel +# Extra mono deps +BuildRequires: mono-data mono-data-sqlite mono-addins-devel +# Gnome/Glib +BuildRequires: gnome-desktop-devel nautilus-cd-burner-devel ndesk-dbus-glib-devel +# Misc +BuildRequires: gettext-devel perl(XML::Parser) +# No boo-devel for ppc but we owe it to the users to keep banshee up to date +%ifnarch ppc +BuildRequires: boo-devel +%endif +BuildRequires: desktop-file-utils Requires: libipoddevice -Requires(post): desktop-file-utils -Requires(postun): desktop-file-utils %description Banshee allows you to import CDs, sync your music collection to an iPod, play music directly from an iPod, create playlists with songs from your library, and create audio and MP3 CDs from subsets of your library. +%package devel +Summary: Development files for Banshee +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} +Requires: pkgconfig + +%description devel +Development files for Banshee Media Player + %prep %setup -q -n %{name}-1-%{version} +cp %{SOURCE1} . %build - -export MONO_SHARED_DIR=%{_builddir}/%{?buildsubdir} +export MONO_SHARED_DIR=%mono_shared %configure --disable-docs --with-gstreamer-0-10 --disable-helix \ --enable-external-ndesk-dbus \ - --enable-mtp --enable-podcast \ + --enable-mtp --disable-podcast \ --disable-gstreamer-plugins-check make %install -%{__rm} -rf $RPM_BUILD_ROOT -export MONO_SHARED_DIR=%{_builddir}/%{?buildsubdir} -%makeinstall +%{__rm} -rf %{buildroot} +export MONO_SHARED_DIR=%mono_shared +make install DESTDIR=%{buildroot} desktop-file-install --vendor gnome --delete-original \ --dir $RPM_BUILD_ROOT%{_datadir}/applications \ --add-category X-Fedora \ --add-only-show-in=GNOME \ - $RPM_BUILD_ROOT%{_datadir}/applications/banshee-1.desktop + %{buildroot}%{_datadir}/applications/banshee-1.desktop %find_lang %name-1 %clean -%{__rm} -rf $RPM_BUILD_ROOT +%{__rm} -rf %{buildroot} %post update-desktop-database %{_datadir}/applications @@ -92,23 +102,27 @@ fi %files -f %{name}-1.lang %defattr(-,root,root,-) -%doc COPYING +%doc COPYING README.Fedora AUTHORS ChangeLog README NEWS %{_bindir}/banshee-1 %{_libdir}/banshee-1 -%{_libdir}/pkgconfig/banshee-1-*.pc %{_datadir}/applications/*.desktop %{_datadir}/dbus-1/services/org.bansheeproject.Banshee.service -%dir %{_datadir}/banshee-1 -%{_datadir}/banshee-1/audio-profiles -%{_datadir}/banshee-1/icons/ +%{_datadir}/banshee-1/ %{_datadir}/icons/hicolor/*/apps/media-player-banshee.png -#%{_datadir}/icons/hicolor/scalable/apps/music-player-banshee.svg -#%{_sysconfdir}/gconf/schemas -%exclude %{_datadir}/icons/hicolor/icon-theme.cache +#%exclude %{_datadir}/icons/hicolor/icon-theme.cache %exclude %{_libdir}/banshee-1/*.a %exclude %{_libdir}/banshee-1/*.la +%files devel +%defattr(-,root,root,-) +%{_libdir}/pkgconfig/banshee-1-*.pc + %changelog +* Sat May 5 2008 Nigel Jones - 0.99.1-0.1 +- New Upstream Release (0.99.1) - Beta 1 +- Spec file improvements per guidelines +- Put .pc files in their proper place + * Sat Apr 12 2008 Tom "spot" Callaway - 0.98.3-2 - adding BR: mono-addins-devel diff --git a/sources b/sources index 85bc7f8..96ee6a2 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -c0426c66a97b1700c7353135f8940b16 banshee-1-0.98.3.tar.bz2 +dc1e1f8a98d70c66823c881638e7ea3a banshee-1-0.99.1.tar.bz2