2 # _with_nas - enable NAS audio support
3 # _without_alsa - disable ALSA support
5 %ifarch sparc sparcv9 sparc64
6 %define _without_alsa 1
8 Summary: aRts sound server
9 Summary(pl): Serwer d¼wiêku
10 Summary(pt_BR): Servidor de sons usado pelo KDE
18 Source0: ftp://ftp.kde.org/pub/kde/stable/3.1.2/src/%{name}-%{version}.tar.bz2
19 # Source0-md5: 5d5a1858f8dcf0d88600291899dff75b
20 %{!?_without_alsa:BuildRequires: alsa-lib-devel}
21 BuildRequires: audiofile-devel
22 BuildRequires: glib2-devel >= 2.0.0
23 BuildRequires: libjpeg-devel
24 BuildRequires: libpng-devel
25 # not needed, only ./configure check for this
26 #BuildRequires: libvorbis-devel
27 #BuildRequires: mad-devel
28 %{?_with_nas:BuildRequires: nas-devel}
29 BuildRequires: pkgconfig
30 BuildRequires: qt-devel >= 3.1
31 URL: http://www.kde.org/
32 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
34 %define _htmldir /usr/share/doc/kde/HTML
43 O aRts é um sintetizador analógico em tempo real que é completamente
44 modular. Você pode criar sons e músicas (síntese em tempo real de
45 midi) usando pequenos módulos como oscilador para criar waveforms,
46 vários filtros, mixers, faders, etc. Você pode configurar tudo através
47 de uma interface no KDE. O Servidor aRts é controlado via CORBA. Este
48 design foi escolhido para permitir que outras aplicações usem o aRts
49 como um sintetizador (ou fornecedor de filtros). Usado pelo KDE, entre
53 Summary: X11 dependent part of aRts
54 Summary(pl): Czê¶æ aRts wymagaj±ca X11
58 X11 dependent part of aRts.
60 %description X11 -l pl
61 Czê¶æ aRts wymagaj±ca X11.
64 Summary: QT dependend part of aRts
65 Summary(pl): Czê¶æ aRts wymagaj±ca QT
67 Requires: %{name} >= %{epoch}:%{version}
71 QT dependend part of aRts.
74 Czê¶æ aRts wymagaj±ca QT.
77 Summary: Sound server - header files
78 Summary(pl): Serwer d¼wiêku - pliki nag³ówkowe
79 Summary(pt_BR): Arquivos para desenvolvimento com o o aRts
80 Group: Development/Libraries
81 Requires: qt-devel >= 3.1
82 Requires: %{name} >= %{epoch}:%{version}
83 %{?_with_nas:Requires: nas-devel}
86 Header files required to compile programs using arts.
88 %description devel -l pl
89 Pliki nag³ówkowe niezbêdne do budowania aplikacji korzystaj±cych z
92 %description devel -l pt_BR
93 Arquivos para desenvolvimento com o o aRts.
96 Summary: GLib dependend part of aRts
97 Summary(pl): Czê¶æ aRts wymagaj±ca GLib
99 Requires: glib >= 1.2.6
102 GLib dependend part of aRts.
104 %description glib -l pl
105 Czê¶æ aRts wymagaj±ca GLib.
111 kde_htmldir="%{_htmldir}"; export kde_htmldir
112 kde_icondir="%{_pixmapsdir}"; export kde_icondir
115 --%{?debug:en}%{!?debug:dis}able-debug \
119 --with%{?_without_alsa:out}-alsa
121 %if %{!?_with_nas:1}0
122 # Cannot patch configure.in because it does not rebuild correctly on ac25
123 sed -e 's@#define HAVE_LIBAUDIONAS 1@/* #undef HAVE_LIBAUDIONAS */@' \
126 mv -f config.h{.tmp,}
131 rm -rf $RPM_BUILD_ROOT
133 %{__make} install DESTDIR=$RPM_BUILD_ROOT
135 %post -p /sbin/ldconfig
136 %postun -p /sbin/ldconfig
138 %post X11 -p /sbin/ldconfig
139 %postun X11 -p /sbin/ldconfig
141 %post qt -p /sbin/ldconfig
142 %postun qt -p /sbin/ldconfig
144 %post glib -p /sbin/ldconfig
145 %postun glib -p /sbin/ldconfig
148 rm -rf $RPM_BUILD_ROOT
151 %defattr(644,root,root,755)
152 %attr(755,root,root) %{_bindir}/artscat
153 %attr(755,root,root) %{_bindir}/artsd
154 %attr(755,root,root) %{_bindir}/artsdsp
155 %attr(755,root,root) %{_bindir}/artsplay
156 %attr(755,root,root) %{_bindir}/artsrec
157 %attr(755,root,root) %{_bindir}/artsshell
158 %attr(755,root,root) %{_bindir}/artswrapper
159 %attr(755,root,root) %{_bindir}/testdhandle
160 %{_libdir}/lib[!gqx]*.la
161 %attr(755,root,root) %{_libdir}/lib[!gqx]*.so.*.*.*
165 %defattr(644,root,root,755)
166 %attr(755,root,root) %{_bindir}/artsc-config
167 %attr(755,root,root) %{_bindir}/mcopidl
173 %defattr(644,root,root,755)
174 %{_libdir}/libx11globalcomm.la
175 %attr(755,root,root) %{_libdir}/libx11globalcomm.so.*.*.*
178 %defattr(644,root,root,755)
179 %{_libdir}/libgmcop.la
180 %attr(755,root,root) %{_libdir}/libgmcop.so.*.*.*
183 %defattr(644,root,root,755)
184 %{_libdir}/libqtmcop.la
185 %attr(755,root,root) %{_libdir}/libqtmcop.so.*.*.*