Summary: Sound player with the WinAmp GUI, for Unix-based systems for GTK+
Summary(pl.UTF-8): Odtwarzacz dźwięku z interfejsem WinAmpa dla GTK+
Name: bmpx
-Version: 0.40.13
-Release: 4
+Version: 0.40.14
+Release: 15
License: GPL v2
Group: X11/Applications/Sound
Source0: http://files.backtrace.info/releases/0.40/%{name}-%{version}.tar.bz2
-# Source0-md5: 11da3d4c63e77dc15a53d0c6c25ddadb
-Source1: mp3license
-Patch0: %{name}-sql_check.patch
-Patch1: %{name}-lib64.patch
+# Source0-md5: c741e05a82a82b14b6775d44a7c93c15
+Patch0: %{name}-lib64.patch
+Patch1: %{name}-libsoup24.patch
+Patch2: %{name}-sidplay.patch
+Patch3: %{name}-c++.patch
+Patch4: %{name}-am.patch
URL: http://bmpx.backtrace.info/
BuildRequires: alsa-lib-devel >= 1.0.9
BuildRequires: autoconf >= 2.60
BuildRequires: automake >= 1:1.8
-BuildRequires: boost-bind-devel
-BuildRequires: boost-call_traits-devel
-BuildRequires: boost-devel >= 1.33.1
-BuildRequires: boost-filesystem-devel
-BuildRequires: boost-regex-devel
+BuildRequires: boost-devel >= 1.35.0
BuildRequires: cairomm-devel >= 0.6.0
BuildRequires: cdparanoia-III-devel
BuildRequires: dbus-glib-devel >= 0.62
-BuildRequires: gcc-c++ >= 5:4.0.0
+BuildRequires: docbook-dtd45-xml
+BuildRequires: docbook-style-xsl
+BuildRequires: gettext-tools
BuildRequires: gstreamer-plugins-base-devel >= 0.10.10
BuildRequires: gtkmm-devel >= 2.10.0
BuildRequires: hal-devel >= 0.5.7.1
BuildRequires: libsexymm-devel >= 0.1.9
%{?with_sid:BuildRequires: libsidplay-devel}
BuildRequires: libsigc++-devel >= 2.0.0
-BuildRequires: libsoup-devel >= 2.2.100
+BuildRequires: libsoup-devel >= 2.4.0
+BuildRequires: libstdc++-devel >= 5:4.0.0
BuildRequires: libtool
BuildRequires: libxml2-devel >= 1:2.6.26
BuildRequires: libxslt-progs
BuildRequires: taglib-devel >= 1.4-2
BuildRequires: unzip
BuildRequires: xorg-lib-libSM-devel
+BuildRequires: zip
Requires(post,postun): desktop-file-utils
-Requires(post,postun): gtk+2 >= 2:2.10.0
+Requires(post,postun): gtk-update-icon-cache
Requires(post,postun): hicolor-icon-theme
+Requires: gstreamer-audio-effects-base
Requires: gstreamer-audiosink
Suggests: gstreamer-aac
Suggests: gstreamer-audio-formats >= 0.10.3
Obsoletes: bmpx-static
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-%define _firefoxdir %{_datadir}/mozilla-firefox
-%define _chromedir %{_firefoxdir}/chrome
+%define _iceweaseldir %{_datadir}/iceweasel
+%define _chromedir %{_iceweaseldir}/chrome
%description
BMPx is the follow-up of the BMP project with a codebase rewritten
Pliki nagłówkowe potrzebne do kompilowania wtyczek odtwarzacza
multimedialnego BMPx.
-%package -n mozilla-firefox-plugin-bmpx
-Summary: BMPx plugin for Mozilla Firefox
-Summary(pl.UTF-8): Wtyczka BMPx dla Mozilli Firefox
+%package -n iceweasel-extension-bmpx
+Summary: Iceweasel extension - BMPx
+Summary(pl.UTF-8): Rozszerzenie dla przeglądarki Iceweasel - BMPx
Group: X11/Applications
Requires: %{name} = %{version}-%{release}
-Requires: mozilla-firefox >= 2.0.0.1-2
+Requires: iceweasel
+Provides: mozilla-firefox-plugin-bmpx
+Obsoletes: mozilla-firefox-plugin-bmpx
-%description -n mozilla-firefox-plugin-bmpx
-This plugin registers the lastfm:// protocol to BMPx.
+%description -n iceweasel-extension-bmpx
+Iceweasel extension which registers the lastfm:// protocol to BMPx.
-%description -n mozilla-firefox-plugin-bmpx -l pl.UTF-8
-Ta wtyczka rejestruje protokół lastfm:// do BMPx.
+%description -n iceweasel-extension-bmpx -l pl.UTF-8
+Rozszerzenie dla przeglądarki Iceweasel, które rejestruje protokół
+lastfm:// do BMPx.
%prep
%setup -q
%patch0 -p1
%patch1 -p1
+%patch2 -p1
+%patch3 -p1
+%patch4 -p1
%build
%{__libtoolize}
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
-unzip -q -o xpi/bmp.xpi -d $RPM_BUILD_ROOT%{_firefoxdir}
-sed -e 's@chrome/bmp\.jar@bmp\.jar@' $RPM_BUILD_ROOT%{_firefoxdir}/chrome.manifest \
+unzip -q -o xpi/bmp.xpi -d $RPM_BUILD_ROOT%{_iceweaseldir}
+sed -e 's@chrome/bmp\.jar@bmp\.jar@' $RPM_BUILD_ROOT%{_iceweaseldir}/chrome.manifest \
> $RPM_BUILD_ROOT%{_chromedir}/bmp.manifest
-rm -f $RPM_BUILD_ROOT%{_firefoxdir}/{install.rdf,chrome.manifest}
+rm -f $RPM_BUILD_ROOT%{_iceweaseldir}/{install.rdf,chrome.manifest}
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
rm -f $RPM_BUILD_ROOT%{_libdir}/bmpx/plugins/{taglib,vfs/container,vfs/transport}/*.la
mv -f $RPM_BUILD_ROOT%{_datadir}/locale/{th_TH,th}
%files -f %{name}.lang
%defattr(644,root,root,755)
%doc AUTHORS ChangeLog NEWS README
+%attr(755,root,root) %{_bindir}/bmp2
%attr(755,root,root) %{_bindir}/beep-media-player-2
%attr(755,root,root) %{_bindir}/bmp-play-files-2.0
%attr(755,root,root) %{_bindir}/bmp-play-uris-2.0
%{_includedir}/bmp-2.0
%{_pkgconfigdir}/*.pc
-%files -n mozilla-firefox-plugin-bmpx
+%files -n iceweasel-extension-bmpx
%defattr(644,root,root,755)
%{_chromedir}/bmp.jar
%{_chromedir}/bmp.manifest