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