Summary(pl.UTF-8): Alsaplayer - odtwarzacz CD/FLAC/MOD/MP3/Ogg/WAV
Name: alsaplayer
Version: 0.99.80
-%define pre rc2
-Release: 0.%{pre}.1
-License: GPLv3
+Release: 1
+License: GPL v3+
Group: Applications/Sound
-Source0: http://www.alsaplayer.org/%{name}-%{version}-%{pre}.tar.bz2
-# Source0-md5: bc8325c704f6cad167236055e1ff3ebb
+Source0: http://www.alsaplayer.org/%{name}-%{version}.tar.bz2
+# Source0-md5: 04f8c2321a37d15f40f9ee21251c6202
Source1: %{name}.desktop
Source2: %{name}.png
Patch0: %{name}-docs.patch
-Patch1: %{name}-flac.patch
URL: http://www.alsaplayer.org/
BuildRequires: OpenGL-devel
BuildRequires: alsa-lib-devel
BuildRequires: autoconf
BuildRequires: automake
%{?with_esound:BuildRequires: esound-devel >= 0.2.4}
-%{?with_flac:BuildRequires: flac-devel >= 1.1.3}
+%{?with_flac:BuildRequires: flac-c++-devel >= 1.2.0}
BuildRequires: gtk+2-devel >= 1:2.0.3
%{?with_jack:BuildRequires: jack-audio-connection-kit-devel >= 0.69.1}
%{?with_flac:BuildRequires: libid3tag-devel}
Requires(post): /sbin/ldconfig
Requires: alsaplayer_output
Requires: alsaplayer_ui
+Suggests: %{name}-input-audiofile
+Suggests: %{name}-input-mad
+Suggests: %{name}-input-vorbis
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%define _noautoreqdep libGL.so.1 libGLU.so.1
Biblioteka statyczna Alsaplayera.
%prep
-%setup -q -n %{name}-%{version}-%{pre}
+%setup -q
%patch0 -p1
-#patch1 -p1
%build
rm -f missing
%clean
rm -rf $RPM_BUILD_ROOT
-%post
-/sbin/ldconfig
-echo
-echo "Remember to install appropriate alsaplayer-input-* plugins"
-echo "for files you want to play, for example:"
-echo "alsaplayer-input-mad to play MP3s."
-echo
-
+%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files -f %{name}.lang
%defattr(644,root,root,755)
%doc AUTHORS README ChangeLog
%attr(755,root,root) %{_bindir}/alsaplayer
-%attr(755,root,root) %{_libdir}/libalsaplayer.so.0.0.2
+%attr(755,root,root) %{_libdir}/libalsaplayer.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libalsaplayer.so.0
%dir %{_pkglibdir}
%dir %{_pkglibdir}/input
%dir %{_pkglibdir}/interface