]> git.pld-linux.org Git - packages/banshee.git/blobdiff - banshee.spec
- 1.5.1
[packages/banshee.git] / banshee.spec
index 6c81b851751c136460faf313deebe2d81014de2a..a696f3eee8dff54f259f6f967e065f86fd1a13f5 100644 (file)
@@ -1,54 +1,55 @@
-
-%define        mono_version                    1.1.10
-%define gstreamer_version              0.8.6
-%define        gstreamer-plugins_version       0.8.6
-%define        gtk2-sharp_version              2.4.0
-%define        gst-sharp_version               0.2.0
-%define        sqlite_version                  3.2.8
-%define        ipod_version                    0.5.2
-%define        dbus_version                    0.50
-%define        hal_version                     0.5.2
-%define nautilus_version               2.12.1
-
+#
+%include /usr/lib/rpm/macros.mono
+#
 Summary:       A Mono/GStreamer Based Music Player
-Summary(pl):   Oparty na Mono/GStreamerze odtwarzacz muzyki
-Name:          banshee
-Version:       0.10.8
-Release:       1
-License:       GPL
-Group:                 Applications/Multimedia
-Source:        http://banshee-project.org/files/banshee/%{name}-%{version}.tar.gz
-Patch0:                %{name}-stat.patch
-URL:           http://banshee.aaronbock.net
-BuildRequires: dbus-devel >= %{dbus_version}
-BuildRequires: gnome-desktop-devel >= 2.0
-BuildRequires: gst-sharp >= %{gst-sharp_version}
-BuildRequires: gstreamer-GConf >= 0.8
-BuildRequires: gstreamer-cdparanoia >= 0.8
-BuildRequires: gstreamer-devel >= %{gstreamer_version}
-BuildRequires: gstreamer-gnomevfs >= 0.8       
-BuildRequires: gstreamer-plugins-devel >= %{gstreamer-plugins_version}
-BuildRequires: gtk-sharp2-gapi >= %{gtk-sharp2_version}
-BuildRequires: hal-devel >= %{hal_version}
-BuildRequires: ipod-sharp >= %{ipod_version}
-BuildRequires: mono-data-sqlite >= %{mono_version}
-BuildRequires: mono-devel >= %{mono_version}
+Summary(pl.UTF-8):     Oparty na Mono/GStreamerze odtwarzacz muzyki
+Name:          banshee
+Version:       1.5.1
+Release:       1
+License:       GPL
+Group:         Applications/Multimedia
+Source0:       http://download.banshee-project.org/banshee/%{name}-1-%{version}.tar.bz2
+# Source0-md5: b24051482dca8b87932db2a1e27ff43f
+URL:           http://banshee-project.org/
+BuildRequires: GConf2-devel
+BuildRequires: autoconf >= 2.13
+BuildRequires: automake
+BuildRequires: brasero-devel >= 2.28.0
+BuildRequires: clutter-devel >= 1.0.1
+BuildRequires: dbus-devel >= 0.93
+BuildRequires: dbus-glib-devel >= 0.71
+BuildRequires: dotnet-gnome-sharp-devel >= 2.16.0
+BuildRequires: dotnet-gtk-sharp2-devel >= 2.10.0
+BuildRequires: dotnet-ipod-sharp-devel >= 0.8.1
+BuildRequires: dotnet-libgphoto2-sharp-devel
+BuildRequires: dotnet-mono-zeroconf-devel
+BuildRequires: dotnet-ndesk-dbus-glib-sharp-devel >= 0.3
+BuildRequires: dotnet-njb-sharp
+BuildRequires: dotnet-notify-sharp-devel
+BuildRequires: gnome-desktop-devel >= 2.16.0
+BuildRequires: gstreamer-GConf >= 0.10.3
+BuildRequires: gstreamer-cdparanoia
+BuildRequires: gstreamer-devel >= 0.10.3
+BuildRequires: gstreamer-gnomevfs
+BuildRequires: gstreamer-plugins-base-devel >= 0.10.3
+BuildRequires: gtk+2-devel >= 2:2.10.3
+BuildRequires: hal-devel >= 0.5.2
+BuildRequires: intltool >= 0.35
+BuildRequires: libmtp-devel >= 0.2.0
+BuildRequires: libmusicbrainz-devel >= 2.1.1
+BuildRequires: libtool
+BuildRequires: mono-addins-devel >= 0.3.1-2
+BuildRequires: mono-csharp >= 1.1.13
 BuildRequires: monodoc
-BuildRequires: nautilus-cd-burner-devel >= %{nautilus_version}
-BuildRequires: njb-sharp-devel
-BuildRequires: sqlite-devel >= %{sqlite_version}
-Requires:      dbus >= %{dbus_version}
-Requires:      dbus-sharp >= %{dbus_version}
-Requires:      gst-sharp >= %{gst-sharp_version}
-Requires:      gstreamer >= %{gstreamer_version}
-Requires:      gstreamer-plugins >= %{gstreamer-plugins_version}
-Requires:      gtk-sharp2 >= %{gtk-sharp2_version}
-Requires:      ipod-sharp >= %{ipod_version}
-Requires:      mono-data-sqlite >= %{mono_version}
-Requires:      njb-sharp
-Requires:      sqlite >= %{sqlite_version}
-Requires:      mono >= %{mono_version}
-Obsoletes:     sonance <= %{version}
+BuildRequires: pkgconfig
+BuildRequires: sqlite3-devel
+BuildRequires: taglib-sharp-devel
+Requires:      dotnet-ipod-sharp >= 0.8.0
+Requires:      gstreamer-GConf >= 0.10.3
+Requires:      gstreamer-cdparanoia >= 0.10.3
+Requires:      gstreamer-gnomevfs >= 0.10.3
+Requires:      mono-addins >= 0.3.1-2
+Obsoletes:     banshee-official-plugins <= 0.11.3
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -56,141 +57,92 @@ Banshee is a brand spankin' new audio player based on the GStreamer
 media library and is developed on the Open Source Mono .NET Platform,
 written in C#.
 
-%description -l pl
-Banshee to nowy odtwarzacz d¼wiêku oparty na bibliotece odtwarzacza
-multimediów GStreamer, rozwijany na platformie .NET Mono, napisany w
+%description -l pl.UTF-8
+Banshee to nowy odtwarzacz dźwięku oparty na bibliotece odtwarzacza
+multimediów GStreamer, rozwijany na platformie .NET Mono, napisany w
 C#.
 
 %prep
-%setup -q
-%patch0 -p1
+%setup -q -n %{name}-1-%{version}
 
 %build
+%{__libtoolize}
+%{__intltoolize}
+%{__aclocal} -I build/m4/banshee -I build/m4/shave -I build/m4/shamrock
+%{__automake}
+%{__autoconf}
+
 %configure \
-       --disable-daap \
+       --disable-boo \
        --disable-dev-tests \
-       --disable-helix
-       --disable-ipod \
-       --disable-njb \
+       --disable-helix \
+       --enable-ipod \
+       --enable-njb \
        --disable-vlc \
-       --disable-xing
-%{__make}
+       --enable-gstreamer \
+       --enable-avahi \
+       --disable-docs \
+       --with-vendor-build-id="%{distribution}"
+%{__make} -j 1
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_desktopdir}
+install -d $RPM_BUILD_ROOT%{_libdir}/monodoc/sources
 
-export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
-unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
-%find_lang %{name}
 
-DESKTOPS="banshee.desktop"
-for D in $DESKTOPS; do
-       desktop-file-install --vendor %{desktop_vendor} \
-       --dir $RPM_BUILD_ROOT%{_desktopdir}     \
-       --add-category X-Red-Hat-Base   \
-       --add-category Application      \
-       --add-category AudioVideo       \
-       $RPM_BUILD_ROOT%{_desktopdir}/$D
-       mv $RPM_BUILD_ROOT%{_desktopdir}/%{desktop_vendor}-$D $RPM_BUILD_ROOT%{_desktopdir}/$D
-done
+#mv $RPM_BUILD_ROOT%{_docdir}/%{name}/* $RPM_BUILD_ROOT%{_libdir}/monodoc/sources
 
-rm -rf $RPM_BUILD_ROOT/var/scrollkeeper
-find $RPM_BUILD_ROOT -name "*.la" -exec rm {} \;
+rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}-1/*.{la,a}
+rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}-1/Backends/*.{la,a}
+rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}-1/gstreamer-0.10/*.{la,a}
+
+%find_lang %{name}-1
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %post
-update-desktop-database %{_desktopdir}
-SCHEMAS="banshee.schemas audioscrobbler.schemas filesystemmonitor.schemas metadatasearch.schemas mmkeys.schemas"
-export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
-for S in $SCHEMAS; do
-       gconftool-2 \
-       --makefile-install-rule \
-       %{_sysconfdir}/gconf/schemas/$S > /dev/null || :
-done
+%update_desktop_database_post
+%update_icon_cache hicolor
 
 %postun
-update-desktop-database %{_desktopdir}
+%update_desktop_database_postun
+%update_icon_cache hicolor
 
-%files -f %{name}.lang
+%files -f %{name}-1.lang
 %defattr(644,root,root,755)
-%doc AUTHORS COPYING ChangeLog NEWS README 
-%{_sysconfdir}/gconf/schemas/filesystemmonitor.schemas
-%{_sysconfdir}/gconf/schemas/metadatasearch.schemas
-%{_sysconfdir}/gconf/schemas/banshee.schemas
-%{_sysconfdir}/gconf/schemas/audioscrobbler.schemas
-%{_sysconfdir}/gconf/schemas/mmkeys.schemas
-%attr(755,root,root) %{_bindir}/banshee
-%{_pkgconfigdir}/banshee.pc
-%dir %{_libdir}/banshee
-%{_libdir}/banshee/*.dll
-#%{_libdir}/banshee/*.a
-%attr(755,root,root) %{_libdir}/banshee/*.so
-%{_libdir}/banshee/*.exe
-%{_libdir}/banshee/*.mdb
-%{_libdir}/banshee/*.config
-#%{_libdir}/banshee/Banshee.Dap
-%{_libdir}/banshee/Banshee.MediaEngine
-%{_libdir}/banshee/Banshee.Plugins
-%{_desktopdir}/banshee.desktop
+%doc AUTHORS COPYING ChangeLog NEWS README
+%attr(755,root,root) %{_bindir}/banshee-1
+%attr(755,root,root) %{_bindir}/muinshee
+%{_datadir}/banshee-1
+%{_pkgconfigdir}/banshee-1*.pc
+%dir %{_libdir}/banshee-1
+%{_libdir}/banshee-1/*.dll
+%attr(755,root,root) %{_libdir}/banshee-1/*.so
+%{_libdir}/banshee-1/*.exe
+%{_libdir}/banshee-1/*.mdb
+%{_libdir}/banshee-1/*.config
+%dir %{_libdir}/banshee-1/Extensions
+%{_libdir}/banshee-1/Extensions/*.dll
+%{_libdir}/banshee-1/Extensions/*.mdb
+%{_libdir}/banshee-1/Extensions/Banshee.NotificationArea.dll.config
+%{_libdir}/banshee-1/Extensions/Banshee.NowPlaying.dll.config
+%dir %{_libdir}/banshee-1/Backends
+%{_libdir}/banshee-1/Backends/*.config
+%{_libdir}/banshee-1/Backends/*.dll
+%{_libdir}/banshee-1/Backends/*.mdb
+%{_libdir}/banshee-1/Backends/*.so
+%{_libdir}/banshee-1/Banshee.Services.addins
+%dir %{_libdir}/banshee-1/gstreamer-0.10
+%{_libdir}/banshee-1/gstreamer-0.10/*.so
+#%{_libdir}/banshee-1/libbanshee.a
+#%{_libdir}/banshee-1/libbanshee.la
+#%{_libdir}/monodoc/sources/*
+%{_desktopdir}/banshee-1-audiocd.desktop
+%{_desktopdir}/banshee-1-media-player.desktop
+%{_desktopdir}/banshee-1.desktop
 %{_iconsdir}/hicolor/*/*/*
-%{_datadir}/dbus-1/services/org.gnome.Banshee.service
-
-%changelog
-* %{date} PLD Team <feedback@pld-linux.org>
-All persons listed below can be reached at <cvs_login>@pld-linux.org
-
-$Log: banshee.spec,v $
-Revision 1.2  2006-03-21 20:27:43  qboosh
-- pl, some cleanups
-
-Revision 1.1  2006/03/20  czarny
-- init PLD spec
-- adaptized from some strange rpm found out there in the net
-- more to do, then done
-- NFY
-- builds and installs only with --nodeps
-
-* Tue Feb 07 2006 Matthew Hall <matt@nrpms.net> 0.10.5-1
-- 0.10.5 Release
-
-* Wed Feb 01 2006 Matthew Hall <matt@nrpms.net> 0.10.4-2
-- Enable njb support
-
-* Wed Jan 18 2006 Matthew Hall <matt@nrpms.net> 0.10.4-1
-- 0.10.4 Release
-
-* Tue Jan 03 2006 Matthew Hall <matt@nrpms.net> 0.10.2-1
-- 0.10.2 Release
-
-* Wed Dec 07 2005 Matthew Hall <matt@nrpms.net> 0.10-1
-- 0.10 Release
-
-* Sat Nov 12 2005 Matthew Hall <matt@nrpms.net> 0.9.11.1-1
-- 0.9.11.1 Release
-
-* Thu Nov 10 2005 Matthew Hall <matt@nrpms.net> 0.9.11-1
-- 0.9.11 Release
-
-* Mon Sep 26 2005 Matthew Hall <matt@nrpms.net> 0.9.7.1-2
-- R/BR: 's/gtk-sharp/gtk-sharp2/'
-
-* Fri Sep 16 2005 Matthew Hall <matt@nrpms.net> 0.9.7.1-1
-- 0.9.7.1 Release
-
-* Mon Aug 29 2005 Matthew Hall <matt@nrpms.net> 0.8.7.1-1
-- 0.8.7.1 Release
-
-* Tue Aug 16 2005 Matthew Hall <matt@nrpms.net> 0.8.3-1
-- 0.8.3 Release
-- Sonance renamed to Banshee
-
-* Tue Aug 02 2005 Matthew Hall <matt@nrpms.net> 0.8.0-1
-- 0.8.0 Release
-
-* Thu Jul 28 2005 Matthew Hall <matt@nrpms.net> 0.7.3-1
-- 0.2.1 Release
+%{_datadir}/dbus-1/services/org.bansheeproject.Banshee.service
+%{_datadir}/dbus-1/services/org.bansheeproject.CollectionIndexer.service
This page took 0.063973 seconds and 4 git commands to generate.