# Conditional build:
%bcond_without alsa # disable ALSA support
%bcond_with nas # enable NAS support
+%bcond_without esd # disable esound support
#
%define _state unstable
-%define _ver 1.1.95
-%define _snap 040110
+%define _kdever 3.3
+%define _ver 1.3.0
Summary: aRts sound server
Summary(pl): Serwer d¼wiêku
Summary(pt_BR): Servidor de sons usado pelo KDE
Name: arts
-Version: 1.1.95
+Version: %{_ver}
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: 76feb4e5d5559e3a97659cbc833dab3a
+Source0: http://download.kde.org/%{_state}/%{_kdever}/src/%{name}-%{_ver}.tar.bz2
+# Source0-md5: 6a0a03c24a20c43a8e443a5484bb9fef
URL: http://www.kde.org/
%{?with_alsa:BuildRequires: alsa-lib-devel}
BuildRequires: audiofile-devel
BuildRequires: automake
BuildRequires: docbook-dtd41-sgml
BuildRequires: docbook-utils >= 0.6.13-3
-BuildRequires: esound-devel
+%{?with_esd:BuildRequires: esound-devel}
BuildRequires: glib2-devel >= 2.0.0
BuildRequires: libmad-devel
BuildRequires: libtool >= 2:1.5-2
%{?with_nas:BuildRequires: nas-devel}
BuildRequires: pkgconfig
BuildRequires: qt-devel >= 6:3.2.1-4
+BuildRequires: unsermake >= 040805-1
Obsoletes: arts-glib
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
-aRts sound server.
+The Analog Real-Time Synthesizer, or aRts, is a modular system for
+synthesizing sound and music on a digital computer. Using small
+building blocks called modules, the user can easily build complex
+audio processing tools. Modules typically provide functions such as
+sound waveform generators, filters, audio effects, mixing, and
+playback of digital audio in different file formats. The artsd sound
+server mixes audio from several sources in real time, allowing
+multiple sound applications to transparently share access to sound
+hardware.
%description -l pl
-Serwer d¼wiêku aRts.
+Analog Real-Time Synthesizer (w skrócie aRts) to modularny system do
+obs³ugi d¼wiêku i muzyki na komputerze. Za pomoc± modu³ów u¿ytkownik
+mo¿e z powodzeniem budowaæ kompleksowe narzêdzia przetwarzania
+d¼wiêku. Modu³y umo¿liwiaj± generacjê kstza³tu fali, filtrowanie,
+efekty audio, miksowanie oraz odtwarzanie d¼wiêku cyfrowego w ró¿nych
+formatach. Serwer d¼wiêku artsd umo¿liwia równie¿ jednoczesne
+odtwarzanie d¼wiêku z wielu ¼róde³.
%description -l pt_BR
O aRts é um sintetizador analógico em tempo real que é completamente
%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
Pliki programistyczne dla biblioteki qtmcop.
%prep
-%setup -q
+%setup -q -n %{name}-%{version}
%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)"