Group :: Sound
RPM: xmms-scrobbler
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
%undefine __libtoolize
# hack needed for minus sign in macro
%define tr_() %(printf %%s %1 | tr -- _ -)
%def_enable bmp_plugin
%define subst_enable_bmp_plugin %{subst_enable bmp_plugin}
Name: xmms-scrobbler
Version: 0.3.8.1
Release: alt1.1.0
Summary: XMMS Audioscrobbler plugin
License: LGPL
Group: Sound
Url: http://www.last.fm/
Packager: Andrey Rahmatullin <wrar at altlinux.ru>
Source0: %name-%version.tar.bz2
BuildPreReq: gcc-c++ pkgconfig
BuildPreReq: libcurl-devel >= 7.9.7 libmusicbrainz-devel >= 2.0.0
BuildPreReq: libxmms-devel >= 1.2.4
%if_enabled bmp_plugin
BuildPreReq: libbeep-devel >= 0.9.7 glib2-devel >= 2.4.0 libgtk+2-devel >= 2.4.0
%endif
%description
XMMS plugin to send your listening data to audioscrobbler.
%if_enabled bmp_plugin
%package -n beep-scrobbler
Summary: BMP Audioscrobbler plugin
Group: Sound
%description -n beep-scrobbler
BMP plugin to send your listening data to audioscrobbler.
%endif #bmp
%prep
%setup -q
%build
%configure %tr_ %subst_enable_bmp_plugin
%make_build
%install
%make_install install DESTDIR=%buildroot
%files
%_libdir/xmms/General/*.so
%doc AUTHORS ChangeLog KnownIssues NEWS README* TODO
%if_enabled bmp_plugin
%files -n beep-scrobbler
%_libdir/bmp/General/*.so
%doc AUTHORS ChangeLog KnownIssues NEWS README* TODO
%endif
%changelog
…
Full changelog you can see here
# hack needed for minus sign in macro
%define tr_() %(printf %%s %1 | tr -- _ -)
%def_enable bmp_plugin
%define subst_enable_bmp_plugin %{subst_enable bmp_plugin}
Name: xmms-scrobbler
Version: 0.3.8.1
Release: alt1.1.0
Summary: XMMS Audioscrobbler plugin
License: LGPL
Group: Sound
Url: http://www.last.fm/
Packager: Andrey Rahmatullin <wrar at altlinux.ru>
Source0: %name-%version.tar.bz2
BuildPreReq: gcc-c++ pkgconfig
BuildPreReq: libcurl-devel >= 7.9.7 libmusicbrainz-devel >= 2.0.0
BuildPreReq: libxmms-devel >= 1.2.4
%if_enabled bmp_plugin
BuildPreReq: libbeep-devel >= 0.9.7 glib2-devel >= 2.4.0 libgtk+2-devel >= 2.4.0
%endif
%description
XMMS plugin to send your listening data to audioscrobbler.
%if_enabled bmp_plugin
%package -n beep-scrobbler
Summary: BMP Audioscrobbler plugin
Group: Sound
%description -n beep-scrobbler
BMP plugin to send your listening data to audioscrobbler.
%endif #bmp
%prep
%setup -q
%build
%configure %tr_ %subst_enable_bmp_plugin
%make_build
%install
%make_install install DESTDIR=%buildroot
%files
%_libdir/xmms/General/*.so
%doc AUTHORS ChangeLog KnownIssues NEWS README* TODO
%if_enabled bmp_plugin
%files -n beep-scrobbler
%_libdir/bmp/General/*.so
%doc AUTHORS ChangeLog KnownIssues NEWS README* TODO
%endif
%changelog
…
Full changelog you can see here