%bcond_without alsa # disable ALSA support
%bcond_with nas # enable NAS support
#
-
%define _state stable
-%define _ver 1.2.0
+%define _ver 1.2.3
#%%define _snap 040110
-
+%define _kdever 3.2.3
+#
Summary: aRts sound server
Summary(pl): Serwer d¼wiêku
Summary(pt_BR): Servidor de sons usado pelo KDE
Name: arts
Version: %{_ver}
-Release: 2
+Release: 0.1
Epoch: 13
License: LGPL
Group: Libraries
-Source0: ftp://ftp.kde.org/pub/kde/%{_state}/%{name}-%{_ver}.tar.bz2
-#Source0: http://ep09.pld-linux.org/~djurban/kde/%{name}-%{version}.tar.bz2
-# Source0-md5: f17708ad3c91b0a2f0c83674f78c3e53
+#Source0: http://download.kde.org/%{_state}/%{_kdever}/src/%{name}-%{_ver}.tar.bz2
+Source0: http://ep09.pld-linux.org/~djurban/kde/%{name}-%{version}.tar.bz2
+# Source0-md5: fca8a9ec7538c4fe8e4c79767bb2a7e8
+# http://download.kde.org/stable/3.2.1/src/arts-1.2.1.tar.bz2
URL: http://www.kde.org/
%{?with_alsa:BuildRequires: alsa-lib-devel}
BuildRequires: audiofile-devel
BuildRequires: libvorbis-devel
%{?with_nas:BuildRequires: nas-devel}
BuildRequires: pkgconfig
+BuildRequires: unsermake >= 040511
BuildRequires: qt-devel >= 6:3.2.1-4
Obsoletes: arts-glib
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description devel -l pt_BR
Arquivos para desenvolvimento com o o aRts.
-# separate from arts-devel because they are mostly independent and have very
-# different deps
-# there is no artsc base - it would be small and would require arts - so there
-# is no reason to separate
+# separate from arts-devel because they are mostly independent and
+# have very # different deps there is no artsc base - it would be
+# small and would require arts - so there is no reason to separate
%package -n artsc-devel
Summary: Development files for artsc libraries
Summary(pl): Pliki programistyczne bibliotek artsc
%build
cp /usr/share/automake/config.sub admin
+export UNSERMAKE=/usr/share/unsermake/unsermake
%{__make} -f admin/Makefile.common cvs
%configure \
# Debian manpages
install -d $RPM_BUILD_ROOT%{_mandir}/man1
-cd debian
+cd debian/man
for f in *.sgml ; do
base="$(basename $f .sgml)"
upper="$(echo ${base} | tr a-z A-Z)"