]> git.pld-linux.org Git - packages/banshee.git/blobdiff - banshee.spec
- BR updated (see log)
[packages/banshee.git] / banshee.spec
index 592fc5877b190fd3837c033c104914a5eb30bc9b..265708bb6b23c35f7034d4a4a60cf85b0f560f41 100644 (file)
@@ -1,42 +1,48 @@
-# ToDo:
-#      - check Patch0
-#      - make avahi.pc work (propable bug in avahi package,
-#              it doesn't make a proper symlink for the .dll
-#      - 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.9
-Release:       0.1
-License:       GPL
-Group:                 Applications/Multimedia
-Source0:       http://banshee-project.org/files/banshee/%{name}-%{version}.tar.gz
-# Source0-md5: 86b67e399ea805f69a860b3e6fd4627f
-URL:           http://banshee-project.org/
-BuildRequires: autoconf
-BuildRequires: automake
-BuildRequires: avahi-compat-howl-devel
-BuildRequires: dotnet-avahi-devel
-BuildRequires: dotnet-dbus-sharp-devel
-BuildRequires: dotnet-gtk-sharp2-devel >= 2.3.92
-BuildRequires: gnome-desktop-devel
+Summary(pl.UTF-8):     Oparty na Mono/GStreamerze odtwarzacz muzyki
+Name:          banshee
+Version:       1.4.0
+Release:       1
+License:       GPL
+Group:         Applications/Multimedia
+Source0:       http://download.banshee-project.org/banshee/%{name}-1-%{version}.tar.bz2
+# Source0-md5: 0779dba8e0608d19fa1f4424fc26a557
+URL:           http://banshee-project.org/
+BuildRequires: GConf2-devel
+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-njb-sharp
+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.0
+BuildRequires: gstreamer-plugins-base-devel >= 0.10.3
+BuildRequires: gtk+2-devel >= 2:2.10.3
 BuildRequires: hal-devel >= 0.5.2
-BuildRequires: libtool
-BuildRequires: libmusicbrainz-devel
+BuildRequires: intltool >= 0.35
+BuildRequires: libmtp-devel >= 0.2.0
+BuildRequires: libmusicbrainz-devel >= 2.1.1
+BuildRequires: mono-addins-devel >= 0.3.1-2
 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
-Requires:      gstreamer-cdparanoia
-Requires:      gstreamer-gnomevfs
+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
+Obsoletes:     banshee-official-plugins <= 0.11.3
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -44,79 +50,83 @@ 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
+%setup -q -n %{name}-1-%{version}
 
 %build
+%{__intltoolize}
+%{__aclocal} -I build/m4/banshee -I build/m4/shamrock
 %configure \
-       --disable-daap \
+       --disable-boo \
        --disable-dev-tests \
        --disable-helix \
-       --disable-ipod \
-       --disable-njb \
+       --enable-ipod \
+       --enable-njb \
        --disable-vlc \
-       --disable-xing \
-       --with-gstreamer-0-10
+       --enable-gstreamer \
+       --enable-avahi \
+       --disable-docs
 %{__make}
 
 %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}
+
+#mv $RPM_BUILD_ROOT%{_docdir}/%{name}/* $RPM_BUILD_ROOT%{_libdir}/monodoc/sources
+
+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
-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 filesystemmonitor.schemas metadatasearch.schemas mmkeys.schemas"
-for S in $SCHEMAS; do
-       %gconf_schema_install $S
-done
-
-%preun
-SCHEMAS="banshee.schemas banshee-notificationareaicon.schemas audioscrobbler.schemas filesystemmonitor.schemas metadatasearch.schemas mmkeys.schemas"
-for S in $SCHEMAS; do
-       %gconf_schema_install $S
-done
+%update_desktop_database_post
+%update_icon_cache hicolor
 
 %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
+%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/banshee-notificationareaicon.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
-%{_libdir}/monodoc/sources/*
-%{_desktopdir}/banshee.desktop
+%doc AUTHORS COPYING ChangeLog NEWS README
+%attr(755,root,root) %{_bindir}/banshee-1
+%{_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
+%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.desktop
 %{_iconsdir}/hicolor/*/*/*
-%{_datadir}/dbus-1/services/org.gnome.Banshee.service
+%{_datadir}/dbus-1/services/org.bansheeproject.Banshee.service
+%{_datadir}/dbus-1/services/org.bansheeproject.CollectionIndexer.service
This page took 0.065142 seconds and 4 git commands to generate.