]> git.pld-linux.org Git - packages/arts.git/blob - arts.spec
- duplicated BR: removed.
[packages/arts.git] / arts.spec
1 #
2 # Conditional build:
3 %bcond_without  alsa    # disable ALSA support
4 %bcond_with     nas     # enable NAS support
5 #
6 %define         _state          stable
7 %define         _ver            1.2.3
8 #%%define               _snap           040110
9 %define         _kdever         3.2.3
10 #
11 Summary:        aRts sound server
12 Summary(pl):    Serwer d¼wiêku
13 Summary(pt_BR): Servidor de sons usado pelo KDE
14 Name:           arts
15 Version:        %{_ver}
16 Release:        1
17 Epoch:          13
18 License:        LGPL
19 Group:          Libraries
20 #Source0:       http://download.kde.org/%{_state}/%{_kdever}/src/%{name}-%{_ver}.tar.bz2
21 Source0:        http://ep09.pld-linux.org/~djurban/kde/%{name}-%{version}.tar.bz2
22 # Source0-md5:  fca8a9ec7538c4fe8e4c79767bb2a7e8
23 # http://download.kde.org/stable/3.2.1/src/arts-1.2.1.tar.bz2
24 URL:            http://www.kde.org/
25 %{?with_alsa:BuildRequires:     alsa-lib-devel}
26 BuildRequires:  audiofile-devel
27 BuildRequires:  autoconf
28 BuildRequires:  automake
29 BuildRequires:  docbook-dtd41-sgml
30 BuildRequires:  docbook-utils >= 0.6.13-3
31 BuildRequires:  esound-devel
32 BuildRequires:  glib2-devel >= 2.0.0
33 BuildRequires:  libmad-devel
34 BuildRequires:  libtool >= 2:1.5-2
35 BuildRequires:  libvorbis-devel
36 %{?with_nas:BuildRequires:      nas-devel}
37 BuildRequires:  pkgconfig
38 BuildRequires:  unsermake >= 040511
39 BuildRequires:  qt-devel >= 6:3.2.1-4
40 Obsoletes:      arts-glib
41 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
42
43 %description
44 The Analog Real-Time Synthesizer, or aRts, is a modular system for
45 synthesizing sound and music on a digital computer. Using small
46 building blocks called modules, the user can easily build complex
47 audio processing tools. Modules typically provide functions such as
48 sound waveform generators, filters, audio effects, mixing, and
49 playback of digital audio in different file formats. The artsd sound
50 server mixes audio from several sources in real time, allowing
51 multiple sound applications to transparently share access to sound
52 hardware.
53
54 %description -l pl
55 Analog Real-Time Synthesizer (w skrócie aRts) to modularny system do
56 obs³ugi d¼wiêku i muzyki na komputerze. Za pomoc± modu³ów u¿ytkownik
57 mo¿e z powodzeniem budowaæ kompleksowe narzêdzia przetwarzania
58 d¼wiêku. Modu³y umo¿liwiaj± generacjê kstza³tu fali, filtrowanie,
59 efekty audio, miksowanie oraz odtwarzanie d¼wiêku cyfrowego w ró¿nych
60 formatach. Serwer d¼wiêku artsd umo¿liwia równie¿ jednoczesne
61 odtwarzanie d¼wiêku z wielu ¼róde³.
62
63 %description -l pt_BR
64 O aRts é um sintetizador analógico em tempo real que é completamente
65 modular. Você pode criar sons e músicas (síntese em tempo real de
66 midi) usando pequenos módulos como oscilador para criar waveforms,
67 vários filtros, mixers, faders, etc. Você pode configurar tudo através
68 de uma interface no KDE. O Servidor aRts é controlado via CORBA. Este
69 design foi escolhido para permitir que outras aplicações usem o aRts
70 como um sintetizador (ou fornecedor de filtros). Usado pelo KDE, entre
71 outros.
72
73 %package devel
74 Summary:        Sound server - header files
75 Summary(pl):    Serwer d¼wiêku - pliki nag³ówkowe
76 Summary(pt_BR): Arquivos para desenvolvimento com o o aRts
77 Group:          Development/Libraries
78 Requires:       %{name} = %{epoch}:%{version}-%{release}
79 # not necessary for all libs (e.g. mcop), but propagated by artsflow
80 %{?with_alsa:Requires:  alsa-lib-devel}
81 Requires:       audiofile-devel
82 Requires:       esound-devel
83 Requires:       glib2-devel >= 2.0.0
84 Requires:       libmad-devel
85 Requires:       libvorbis-devel
86 %{?with_nas:Requires:   nas-devel}
87
88 %description devel
89 Header files required to compile programs using arts.
90
91 %description devel -l pl
92 Pliki nag³ówkowe niezbêdne do budowania aplikacji korzystaj±cych z
93 arts.
94
95 %description devel -l pt_BR
96 Arquivos para desenvolvimento com o o aRts.
97
98 # separate from arts-devel because they are mostly independent and #
99 have very # different deps there is no artsc base - it would be #
100 small and would require arts - so there is no reason to separate
101 %package -n artsc-devel
102 Summary:        Development files for artsc libraries
103 Summary(pl):    Pliki programistyczne bibliotek artsc
104 Group:          Development/Libraries
105 Requires:       %{name} = %{epoch}:%{version}-%{release}
106 Requires:       glib2-devel >= 2.0.0
107 Conflicts:      arts-devel < 12:1.2.0.031126-2
108
109 %description -n artsc-devel
110 Development files for artsc libraries (C interface to aRts sound
111 system).
112
113 %description -n artsc-devel -l pl
114 Pliki programistyczne bibliotek artsc (interfejsu w C do systemu
115 d¼wiêku aRts).
116
117 %package X11
118 Summary:        X11 dependent part of aRts
119 Summary(pl):    Czê¶æ aRts wymagaj±ca X11
120 Group:          X11/Libraries
121 Requires:       %{name} = %{epoch}:%{version}-%{release}
122
123 %description X11
124 X11 dependent part of aRts (x11globalcomm module).
125
126 %description X11 -l pl
127 Czê¶æ aRts wymagaj±ca X11 (modu³ x11globalcomm).
128
129 %package qt
130 Summary:        QT dependend part of aRts
131 Summary(pl):    Czê¶æ aRts wymagaj±ca QT
132 Group:          X11/Libraries
133 Requires:       %{name} = %{epoch}:%{version}-%{release}
134 Requires:       qt >= 6:3.2.1-4
135
136 %description qt
137 QT dependend part of aRts (qtmcop library).
138
139 %description qt -l pl
140 Czê¶æ aRts wymagaj±ca QT (biblioteka qtmcop).
141
142 %package qt-devel
143 Summary:        Development files for qtmcop library
144 Summary(pl):    Pliki programistyczne dla biblioteki qtmcop
145 Group:          X11/Development/Libraries
146 Requires:       %{name}-devel = %{epoch}:%{version}-%{release}
147 Requires:       %{name}-qt = %{epoch}:%{version}-%{release}
148 Requires:       qt-devel >= 6:3.2.1-4
149
150 %description qt-devel
151 Development files for qtmcop library.
152
153 %description qt-devel -l pl
154 Pliki programistyczne dla biblioteki qtmcop.
155
156 %prep
157 # qboosh leave it this way, 'cause its easier to change to snap later
158 %setup -q -n %{name}-%{version}
159
160 %build
161 cp %{_datadir}/automake/config.sub admin
162 export UNSERMAKE=%{_datadir}/unsermake/unsermake
163 %{__make} -f admin/Makefile.common cvs
164
165 %configure \
166         %{!?with_nas:ac_cv_header_audio_audiolib_h=no} \
167         --%{?debug:en}%{!?debug:dis}able-debug \
168         --disable-rpath \
169         --enable-final \
170         --with-qt-libraries=%{_libdir} \
171         --with%{!?with_alsa:out}-alsa
172
173 %{__make}
174
175 %install
176 rm -rf $RPM_BUILD_ROOT
177
178 %{__make} install \
179         DESTDIR=$RPM_BUILD_ROOT
180
181 # Debian manpages
182 install -d $RPM_BUILD_ROOT%{_mandir}/man1
183 cd debian/man
184 for f in *.sgml ; do
185         base="$(basename $f .sgml)"
186         upper="$(echo ${base} | tr a-z A-Z)"
187         db2man $f
188         install ${upper}.1 $RPM_BUILD_ROOT%{_mandir}/man1/${base}.1
189 done
190
191 %clean
192 rm -rf $RPM_BUILD_ROOT
193
194 %post   -p /sbin/ldconfig
195 %postun -p /sbin/ldconfig
196
197 %post   X11 -p /sbin/ldconfig
198 %postun X11 -p /sbin/ldconfig
199
200 %post   qt -p /sbin/ldconfig
201 %postun qt -p /sbin/ldconfig
202
203 %files
204 %defattr(644,root,root,755)
205 %attr(755,root,root) %{_bindir}/artscat
206 %attr(755,root,root) %{_bindir}/artsd
207 %attr(755,root,root) %{_bindir}/artsdsp
208 %attr(755,root,root) %{_bindir}/artsplay
209 %attr(755,root,root) %{_bindir}/artsrec
210 %attr(755,root,root) %{_bindir}/artsshell
211 %attr(755,root,root) %{_bindir}/artswrapper
212 # shared libraries
213 %attr(755,root,root) %{_libdir}/libartsc.so.*.*.*
214 %attr(755,root,root) %{_libdir}/libartsflow.so.*.*.*
215 %attr(755,root,root) %{_libdir}/libartsflow_idl.so.*.*.*
216 %attr(755,root,root) %{_libdir}/libgmcop.so.*.*.*
217 %attr(755,root,root) %{_libdir}/libkmedia2.so.*.*.*
218 %attr(755,root,root) %{_libdir}/libkmedia2_idl.so.*.*.*
219 %attr(755,root,root) %{_libdir}/libmcop.so.*.*.*
220 %attr(755,root,root) %{_libdir}/libmcop_mt.so.*.*.*
221 %attr(755,root,root) %{_libdir}/libsoundserver_idl.so.*.*.*
222 # lt_dlopened modules (*.la needed)
223 %attr(755,root,root) %{_libdir}/libartscbackend.so.*.*.*
224 %{_libdir}/libartscbackend.la
225 %attr(755,root,root) %{_libdir}/libartsdsp.so.*.*.*
226 %{_libdir}/libartsdsp.la
227 %attr(755,root,root) %{_libdir}/libartsdsp_st.so.*.*.*
228 %{_libdir}/libartsdsp_st.la
229 %attr(755,root,root) %{_libdir}/libartsgslplayobject.so.*.*.*
230 %{_libdir}/libartsgslplayobject.la
231 %attr(755,root,root) %{_libdir}/libartswavplayobject.so.*.*.*
232 %{_libdir}/libartswavplayobject.la
233 #
234 %{_libdir}/mcop
235 %{_mandir}/man1/artscat.1*
236 %{_mandir}/man1/artsd.1*
237 %{_mandir}/man1/artsdsp.1*
238 %{_mandir}/man1/artsplay.1*
239 %{_mandir}/man1/artsrec.1*
240 %{_mandir}/man1/artsshell.1*
241 %{_mandir}/man1/artswrapper.1*
242
243 %files devel
244 %defattr(644,root,root,755)
245 %attr(755,root,root) %{_bindir}/mcopidl
246 %attr(755,root,root) %{_libdir}/libartsflow.so
247 %attr(755,root,root) %{_libdir}/libartsflow_idl.so
248 %attr(755,root,root) %{_libdir}/libartsgslplayobject.so
249 %attr(755,root,root) %{_libdir}/libartswavplayobject.so
250 %attr(755,root,root) %{_libdir}/libgmcop.so
251 %attr(755,root,root) %{_libdir}/libkmedia2.so
252 %attr(755,root,root) %{_libdir}/libkmedia2_idl.so
253 %attr(755,root,root) %{_libdir}/libmcop.so
254 %attr(755,root,root) %{_libdir}/libmcop_mt.so
255 %attr(755,root,root) %{_libdir}/libsoundserver_idl.so
256 # it seems to be only (lt_)dlopened, nothing links with it - so not needed
257 # %attr(755,root,root) %{_libdir}/libx11globalcomm.so
258 # shared libraries
259 %{_libdir}/libartsflow.la
260 %{_libdir}/libartsflow_idl.la
261 %{_libdir}/libgmcop.la
262 %{_libdir}/libkmedia2.la
263 %{_libdir}/libkmedia2_idl.la
264 %{_libdir}/libmcop.la
265 %{_libdir}/libmcop_mt.la
266 %{_libdir}/libsoundserver_idl.la
267 #
268 %{_includedir}/arts
269 %exclude %{_includedir}/arts/qiomanager.h
270 %{_mandir}/man1/mcopidl.1*
271
272 %files -n artsc-devel
273 %defattr(644,root,root,755)
274 %attr(755,root,root) %{_bindir}/artsc-config
275 %attr(755,root,root) %{_libdir}/libartsc.so
276 %attr(755,root,root) %{_libdir}/libartscbackend.so
277 %attr(755,root,root) %{_libdir}/libartsdsp.so
278 %attr(755,root,root) %{_libdir}/libartsdsp_st.so
279 %{_libdir}/libartsc.la
280 %{_includedir}/artsc
281 %{_mandir}/man1/artsc-config.1*
282
283 %files X11
284 %defattr(644,root,root,755)
285 # lt_dlopened module (.la needed)
286 %attr(755,root,root) %{_libdir}/libx11globalcomm.so.*.*.*
287 %{_libdir}/libx11globalcomm.la
288
289 %files qt
290 %defattr(644,root,root,755)
291 # shared library
292 %attr(755,root,root) %{_libdir}/libqtmcop.so.*.*.*
293
294 %files qt-devel
295 %defattr(644,root,root,755)
296 %attr(755,root,root) %{_libdir}/libqtmcop.so
297 %{_libdir}/libqtmcop.la
298 %{_includedir}/arts/qiomanager.h
This page took 0.054224 seconds and 4 git commands to generate.