# _without_alsa - disable ALSA support
#
-%define _state stable
-%define _ver 3.1.1
+%define _state snapshots
+%define _ver 030317
Summary: aRts sound server
Summary(pl): Serwer d¼wiêku
Summary(pt_BR): Servidor de sons usado pelo KDE
Name: arts
-Version: 1.1.1
-Release: 0.2
+Version: 1.2
+Release: 0.%{_ver}.1
Epoch: 12
License: LGPL
Vendor: The KDE Team
Group: Libraries
-Source0: ftp://ftp.kde.org/pub/kde/%{_state}/%{_ver}/src/%{name}-%{version}.tar.bz2
+Source0: ftp://ftp.kde.org/pub/kde/%{_state}/%{name}-%{_ver}.tar.bz2
+Patch0: http://rambo.its.tudelft.nl/~ewald/xine/arts-1.1.1-video-20030314.patch
%ifnarch sparc sparcv9 sparc64
%{!?_without_alsa:BuildRequires: alsa-lib-devel}
%endif
Czê¶æ aRts wymagaj±ca GLib.
%prep
-%setup -q
-
+%setup -q -n %{name}-%{_ver}
+%patch0 -p1
%build
kde_htmldir="%{_htmldir}"; export kde_htmldir
kde_icondir="%{_pixmapsdir}"; export kde_icondir
%attr(755,root,root) %{_bindir}/artsrec
%attr(755,root,root) %{_bindir}/artsshell
%attr(755,root,root) %{_bindir}/artswrapper
-%attr(755,root,root) %{_bindir}/testdhandle
+##%attr(755,root,root) %{_bindir}/testdhandle
%{_libdir}/lib[!gqx]*.la
%attr(755,root,root) %{_libdir}/lib[!gqx]*.so.*
%{_libdir}/mcop