]> git.pld-linux.org Git - packages/banshee.git/blobdiff - banshee.spec
- well, obsolete latest released plugins (0.11.3) too
[packages/banshee.git] / banshee.spec
index ddf845632fbc696a28d4bc6b0d388337fc2abfec..88b3997ea45e4b7f29ffd246f9fc4e15863e66ed 100644 (file)
@@ -1,42 +1,44 @@
-# ToDo:
-#      - make some proper bconds for other it
-#
 %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.12
-Release:       0.1
-License:       GPL
+Summary(pl.UTF-8):     Oparty na Mono/GStreamerze odtwarzacz muzyki
+Name:          banshee
+Version:       0.13.1
+Release:       1
+License:       GPL
 Group:         Applications/Multimedia
-Source0:       http://banshee-project.org/files/banshee/%{name}-%{version}.tar.gz
-# Source0-md5: 13806b7dee6444013dcb1436b4cf0e78
-URL:           http://banshee-project.org/
+Source0:       http://banshee-project.org/files/banshee/%{name}-%{version}.tar.gz
+# Source0-md5: fbe9189ad4d2eecc72d86fa6d4dd5308
+URL:           http://banshee-project.org/
 BuildRequires: GConf2-devel
 BuildRequires: autoconf >= 2.13
 BuildRequires: automake
-BuildRequires: dbus-devel >= 0.60
+BuildRequires: dbus-devel >= 0.93
+BuildRequires: dbus-glib-devel >= 0.71
 BuildRequires: dotnet-avahi-devel
-BuildRequires: dotnet-dbus-sharp-devel
-BuildRequires: dotnet-gtk-sharp2-devel >= 2.8.0
-BuildRequires: dotnet-gnome-sharp-devel >= 2.8.0
-BuildRequires: gnome-desktop-devel
+BuildRequires: dotnet-gnome-sharp-devel >= 2.16.0
+BuildRequires: dotnet-gtk-sharp2-devel >= 2.10.0
+BuildRequires: dotnet-ipod-sharp >= 0.6.3
+BuildRequires: dotnet-libgphoto2-sharp-devel
+BuildRequires: dotnet-njb-sharp
+BuildRequires: gnome-desktop-devel >= 2.16.0
 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.8.0
+BuildRequires: gstreamer-GConf >= 0.10.3
+BuildRequires: gtk+2-devel >= 2.10.3
 BuildRequires: hal-devel >= 0.5.2
-BuildRequires: intltool >= 0.21
-BuildRequires: libtool
+BuildRequires: intltool >= 0.35
 BuildRequires: libmusicbrainz-devel >= 2.1.1
+BuildRequires: libtool
 BuildRequires: mono-csharp >= 1.1.13
 BuildRequires: monodoc
-BuildRequires: nautilus-cd-burner-devel >= 2.12.0
+BuildRequires: nautilus-cd-burner-devel >= 2.16.0
 BuildRequires: pkgconfig
 BuildRequires: sqlite3-devel
+Obsoletes:     banshee-official-plugins <= 0.11.3
 Requires:      gstreamer-cdparanoia >= 0.10.3
 Requires:      gstreamer-gnomevfs >= 0.10.3
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -46,28 +48,30 @@ 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
 
 %build
-%{__aclocal}
+%{__intltoolize}
+%{__aclocal} -I build/m4/banshee -I build/m4/shamrock
 %{__libtoolize}
 %{__automake}
 %{__autoconf}
 %configure \
        --disable-dev-tests \
        --disable-helix \
-       --disable-ipod \
-       --disable-njb \
+       --enable-ipod \
+       --enable-njb \
        --disable-vlc \
        --enable-gstreamer \
        --enable-avahi \
-       --disable-schemas-install
+       --disable-schemas-install \
+       --disable-docs
 %{__make}
 
 %install
@@ -77,7 +81,7 @@ install -d $RPM_BUILD_ROOT%{_libdir}/monodoc/sources
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
-mv $RPM_BUILD_ROOT%{_docdir}/%{name}/* $RPM_BUILD_ROOT%{_libdir}/monodoc/sources
+#mv $RPM_BUILD_ROOT%{_docdir}/%{name}/* $RPM_BUILD_ROOT%{_libdir}/monodoc/sources
 
 rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/*.{la,a}
 
@@ -87,33 +91,29 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/*.{la,a}
 rm -rf $RPM_BUILD_ROOT
 
 %post
-umask 022
-[ ! -x /usr/bin/update-desktop-database ] || /usr/bin/update-desktop-database >/dev/null 2>&1 ||:
-SCHEMAS="banshee.schemas banshee-notificationareaicon.schemas audioscrobbler.schemas daap.schemas metadatasearch.schemas mmkeys.schemas"
+%update_desktop_database_post
+SCHEMAS="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"
 for S in $SCHEMAS; do
        %gconf_schema_install $S
 done
+%update_icon_cache hicolor
 
 %preun
-SCHEMAS="banshee.schemas banshee-notificationareaicon.schemas audioscrobbler.schemas daap.schemas metadatasearch.schemas mmkeys.schemas"
+SCHEMAS="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"
 for S in $SCHEMAS; do
-       %gconf_schema_install $S
+       %gconf_schema_uninstall $S
 done
 
 %postun
-umask 022
-[ ! -x /usr/bin/update-desktop-database ] || /usr/bin/update-desktop-database >/dev/null 2>&1 ||:
+%update_desktop_database_postun
+%update_icon_cache hicolor
 
 %files -f %{name}.lang
 %defattr(644,root,root,755)
-%doc AUTHORS COPYING ChangeLog NEWS README 
-%{_sysconfdir}/gconf/schemas/daap.schemas
-%{_sysconfdir}/gconf/schemas/metadatasearch.schemas
-%{_sysconfdir}/gconf/schemas/banshee.schemas
-%{_sysconfdir}/gconf/schemas/banshee-notificationareaicon.schemas
-%{_sysconfdir}/gconf/schemas/audioscrobbler.schemas
-%{_sysconfdir}/gconf/schemas/mmkeys.schemas
+%doc AUTHORS COPYING ChangeLog NEWS README
+%{_sysconfdir}/gconf/schemas/*.schemas
 %attr(755,root,root) %{_bindir}/banshee
+%{_datadir}/banshee
 %{_pkgconfigdir}/banshee.pc
 %dir %{_libdir}/banshee
 %{_libdir}/banshee/*.dll
@@ -121,10 +121,10 @@ umask 022
 %{_libdir}/banshee/*.exe
 %{_libdir}/banshee/*.mdb
 %{_libdir}/banshee/*.config
-#%{_libdir}/banshee/Banshee.Dap
+%{_libdir}/banshee/Banshee.Dap
 %{_libdir}/banshee/Banshee.MediaEngine
 %{_libdir}/banshee/Banshee.Plugins
-%{_libdir}/monodoc/sources/*
+#%{_libdir}/monodoc/sources/*
 %{_desktopdir}/banshee.desktop
 %{_iconsdir}/hicolor/*/*/*
 %{_datadir}/dbus-1/services/org.gnome.Banshee.service
This page took 0.099218 seconds and 4 git commands to generate.