2 # _with_nas - enable NAS audio support
3 # _without_alsa - disable ALSA support
5 Summary: aRts sound server
6 Summary(pl): Serwer d¼wiêku
7 Summary(pt_BR): Servidor de sons usado pelo KDE
15 Source0: ftp://ftp.kde.org/pub/kde/stable/%{version}/src/%{name}-%{version}.tar.bz2
16 %ifnarch sparc sparcv9 sparc64
17 %{!?_without_alsa:BuildRequires: alsa-lib-devel}
19 BuildRequires: audiofile-devel
20 BuildRequires: glib2-devel >= 2.0.0
21 BuildRequires: libjpeg-devel
22 BuildRequires: libpng-devel
23 # not needed, only ./configure check for this
24 #BuildRequires: libvorbis-devel
25 #BuildRequires: mad-devel
26 %{?_with_nas:BuildRequires: nas-devel}
27 BuildRequires: pkgconfig
28 BuildRequires: qt-devel >= 3.1
29 URL: http://www.kde.org/
30 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
32 %define _htmldir /usr/share/doc/kde/HTML
34 %define no_install_post_chrpath 1
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} >= %{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} >= %{version}
85 Header files required to compile programs using arts.
87 %description devel -l pl
88 Pliki nag³ówkowe niezbêdne do budowania aplikacji korzystaj±cych z
91 %description devel -l pt_BR
92 Arquivos para desenvolvimento com o o aRts.
95 Summary: GLib dependend part of aRts
96 Summary(pl): Czê¶æ aRts wymagaj±ca GLib
98 Requires: glib >= 1.2.6
101 GLib dependend part of aRts.
103 %description glib -l pl
104 Czê¶æ aRts wymagaj±ca GLib.
110 kde_htmldir="%{_htmldir}"; export kde_htmldir
111 kde_icondir="%{_pixmapsdir}"; export kde_icondir
114 --%{?debug:en}%{!?debug:dis}able-debug \
118 --with%{?_without_alsa:out}-alsa
121 # Cannot patch configure.in because it does not rebuild correctly on ac25
122 sed -e 's@#define HAVE_LIBAUDIONAS 1@/* #undef HAVE_LIBAUDIONAS */@' \
125 mv -f config.h{.tmp,}
130 rm -rf $RPM_BUILD_ROOT
132 %{__make} install DESTDIR=$RPM_BUILD_ROOT
134 %post -p /sbin/ldconfig
135 %postun -p /sbin/ldconfig
137 %post X11 -p /sbin/ldconfig
138 %postun X11 -p /sbin/ldconfig
140 %post qt -p /sbin/ldconfig
141 %postun qt -p /sbin/ldconfig
143 %post glib -p /sbin/ldconfig
144 %postun glib -p /sbin/ldconfig
147 rm -rf $RPM_BUILD_ROOT
150 %defattr(644,root,root,755)
151 %attr(755,root,root) %{_bindir}/artscat
152 %attr(755,root,root) %{_bindir}/artsd
153 %attr(755,root,root) %{_bindir}/artsdsp
154 %attr(755,root,root) %{_bindir}/artsplay
155 %attr(755,root,root) %{_bindir}/artsrec
156 %attr(755,root,root) %{_bindir}/artsshell
157 %attr(755,root,root) %{_bindir}/artswrapper
158 %attr(755,root,root) %{_bindir}/testdhandle
159 %{_libdir}/lib[!gqx]*.la
160 %attr(755,root,root) %{_libdir}/lib[!gqx]*.so.*.*.*
164 %defattr(644,root,root,755)
165 %attr(755,root,root) %{_bindir}/artsc-config
166 %attr(755,root,root) %{_bindir}/mcopidl
172 %defattr(644,root,root,755)
173 %{_libdir}/libx11globalcomm.la
174 %attr(755,root,root) %{_libdir}/libx11globalcomm.so.*.*.*
177 %defattr(644,root,root,755)
178 %{_libdir}/libgmcop.la
179 %attr(755,root,root) %{_libdir}/libgmcop.so.*.*.*
182 %defattr(644,root,root,755)
183 %{_libdir}/libqtmcop.la
184 %attr(755,root,root) %{_libdir}/libqtmcop.so.*.*.*