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: f04eb6ef387d63741561ab6623696322
20 URL: http://www.kde.org/
21 %{!?_without_alsa:BuildRequires: alsa-lib-devel}
22 BuildRequires: audiofile-devel
23 BuildRequires: glib2-devel >= 2.0.0
24 BuildRequires: libjpeg-devel
25 BuildRequires: libpng-devel
26 BuildRequires: libstdc++-devel
27 # not needed, only ./configure check for this
28 #BuildRequires: libvorbis-devel
29 #BuildRequires: mad-devel
30 %{?_with_nas:BuildRequires: nas-devel}
31 BuildRequires: pkgconfig
32 BuildRequires: qt-devel >= 3.1
33 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
35 %define _htmldir /usr/share/doc/kde/HTML
44 O aRts é um sintetizador analógico em tempo real que é completamente
45 modular. Você pode criar sons e músicas (síntese em tempo real de
46 midi) usando pequenos módulos como oscilador para criar waveforms,
47 vários filtros, mixers, faders, etc. Você pode configurar tudo através
48 de uma interface no KDE. O Servidor aRts é controlado via CORBA. Este
49 design foi escolhido para permitir que outras aplicações usem o aRts
50 como um sintetizador (ou fornecedor de filtros). Usado pelo KDE, entre
54 Summary: X11 dependent part of aRts
55 Summary(pl): Czê¶æ aRts wymagaj±ca X11
59 X11 dependent part of aRts.
61 %description X11 -l pl
62 Czê¶æ aRts wymagaj±ca X11.
65 Summary: QT dependend part of aRts
66 Summary(pl): Czê¶æ aRts wymagaj±ca QT
68 Requires: %{name} >= %{epoch}:%{version}
72 QT dependend part of aRts.
75 Czê¶æ aRts wymagaj±ca QT.
78 Summary: Sound server - header files
79 Summary(pl): Serwer d¼wiêku - pliki nag³ówkowe
80 Summary(pt_BR): Arquivos para desenvolvimento com o o aRts
81 Group: Development/Libraries
82 Requires: qt-devel >= 3.1
83 Requires: %{name} >= %{epoch}:%{version}
84 %{?_with_nas:Requires: nas-devel}
87 Header files required to compile programs using arts.
89 %description devel -l pl
90 Pliki nag³ówkowe niezbêdne do budowania aplikacji korzystaj±cych z
93 %description devel -l pt_BR
94 Arquivos para desenvolvimento com o o aRts.
97 Summary: GLib dependend part of aRts
98 Summary(pl): Czê¶æ aRts wymagaj±ca GLib
100 Requires: glib >= 1.2.6
103 GLib dependend part of aRts.
105 %description glib -l pl
106 Czê¶æ aRts wymagaj±ca GLib.
112 kde_htmldir="%{_htmldir}"; export kde_htmldir
113 kde_icondir="%{_pixmapsdir}"; export kde_icondir
116 --%{?debug:en}%{!?debug:dis}able-debug \
120 --with%{?_without_alsa:out}-alsa
122 %if %{!?_with_nas:1}0
123 # Cannot patch configure.in because it does not rebuild correctly on ac25
124 sed -e 's@#define HAVE_LIBAUDIONAS 1@/* #undef HAVE_LIBAUDIONAS */@' \
127 mv -f config.h{.tmp,}
132 rm -rf $RPM_BUILD_ROOT
135 DESTDIR=$RPM_BUILD_ROOT
137 %post -p /sbin/ldconfig
138 %postun -p /sbin/ldconfig
140 %post X11 -p /sbin/ldconfig
141 %postun X11 -p /sbin/ldconfig
143 %post qt -p /sbin/ldconfig
144 %postun qt -p /sbin/ldconfig
146 %post glib -p /sbin/ldconfig
147 %postun glib -p /sbin/ldconfig
150 rm -rf $RPM_BUILD_ROOT
153 %defattr(644,root,root,755)
154 %attr(755,root,root) %{_bindir}/artscat
155 %attr(755,root,root) %{_bindir}/artsd
156 %attr(755,root,root) %{_bindir}/artsdsp
157 %attr(755,root,root) %{_bindir}/artsplay
158 %attr(755,root,root) %{_bindir}/artsrec
159 %attr(755,root,root) %{_bindir}/artsshell
160 %attr(755,root,root) %{_bindir}/artswrapper
161 %attr(755,root,root) %{_bindir}/testdhandle
162 %attr(755,root,root) %{_libdir}/lib[!gqx]*.so.*.*.*
163 %{_libdir}/lib[!gqx]*.la
167 %defattr(644,root,root,755)
168 %attr(755,root,root) %{_bindir}/artsc-config
169 %attr(755,root,root) %{_bindir}/mcopidl
175 %defattr(644,root,root,755)
176 %attr(755,root,root) %{_libdir}/libx11globalcomm.so.*.*.*
177 %{_libdir}/libx11globalcomm.la
180 %defattr(644,root,root,755)
181 %attr(755,root,root) %{_libdir}/libgmcop.so.*.*.*
182 %{_libdir}/libgmcop.la
185 %defattr(644,root,root,755)
186 %attr(755,root,root) %{_libdir}/libqtmcop.so.*.*.*
187 %{_libdir}/libqtmcop.la