]> git.pld-linux.org Git - packages/ecasound.git/blob - ecasound.spec
92141b4b85ef5acd41ad69c5605bccee97108991
[packages/ecasound.git] / ecasound.spec
1 %include        /usr/lib/rpm/macros.python
2 Summary:        Software package for multitrack audio processing
3 Summary(pl):    Oprogramowanie do wielo¶cie¿kowego przetwarzania d¼wiêku
4 Name:           ecasound
5 Version:        2.1.0
6 Release:        1
7 License:        GPL
8 Group:          Applications/Sound
9 Group(de):      Applikationen/Laut
10 Group(es):      Aplicaciones/Sonido
11 Group(pl):      Aplikacje/D¼wiêk
12 Group(pt_BR):   Aplicações/Som
13 Source0:        http://ecasound.seul.org/download/%{name}-%{version}.tar.gz
14 Patch0:         %{name}-am_fix.patch
15 Patch1:         %{name}-ac_fix.patch
16 Patch2:         %{name}-readline.patch
17 Patch3:         %{name}-am15.patch
18 BuildRequires:  autoconf
19 BuildRequires:  automake
20 BuildRequires:  audiofile-devel >= 0.2.0
21 %ifnarch sparc sparc64
22 %{!?_without_alsa:BuildRequires:        alsa-lib-devel}
23 %endif
24 BuildRequires:  libtool
25 BuildRequires:  libstdc++-devel
26 BuildRequires:  readline-devel >= 4.2
27 BuildRequires:  rpm-pythonprov
28 BuildRequires:  python-devel >= 2.2
29 Requires:       lame
30 Requires:       mpg123
31 Requires:       libecasound = %{version}
32 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33
34 %description
35 Ecasound is a software package designed for multitrack audio
36 processing. It can be used for simple tasks like audio playback,
37 recording and format conversions, as well as for multitrack effect
38 processing, mixing, recording and signal recycling. Ecasound supports
39 a wide range of audio inputs, outputs and effect algorithms. Several
40 open-source audio packages, like for instance ALSA, OSS, mpg123, lame,
41 libaudiofile and MikMod, are directly supported. One of the advantages
42 of ecasound's chain-based design is that effects can easily be
43 combined both in series and in parallel. Oscillators and MIDI-CCs can
44 be used for controlling effect parameters. Included user-interfaces
45 are ecasound - a versatile console mode interface, qtecasound - a
46 Qt-based X-interface and various command-line utils suitable for batch
47 processing.
48
49 %description -l pl
50 Ecasound jest programem do wielo¶cie¿kowej edycji d¼wiêku, który mo¿e
51 byæ u¿ywany tak do prostych zadañ typu odtwarzanie i nagrywanie muzyki
52 czy te¿ konwersji pomiêdzy formatami plików muzycznych jak i do
53 wielo¶cie¿kowego nak³adania efektów, miksowania (przenikania,
54 wyciszania), nagrywania i odzyskiwania (w domy¶le odszumiania lub
55 wyrzucania zniekszta³ceñ) sygna³u.
56
57 Ecasound wspiera szerok± gamê ¼róde³ i wyj¶æ d¼wiêku oraz algorytmów
58 do jego przetwarzania. Ecasound wspiera wiele wolnych (open source)
59 projektów, takich jak ALSA, OSS, mpg123, lame, libaudiofile czy te¿
60 MikMod. Jedn± z zalet programu ecasound jest mo¿liwo¶æ ³añcuchowego
61 (szeregowego) lub równoleg³ego ³±czenia efektów, które mog± byæ
62 kontrolowane poprzez oscylatory lub MIDI-CC. Pakiet ten zawiera
63 tekstowy interfejs u¿ytkownika oraz kilka innych narzêdzi nadaj±cych
64 siê do przetwarzania wsadowego. Dostêpny jest tak¿e graficzny
65 interfejs u¿ytkownika - qtecasound.
66
67 %package -n libecasound
68 Summary:        Ecasound libraries
69 Summary(pl):    Biblioteki programu ecasound
70 Group:          Development/Libraries
71 Group(de):      Entwicklung/Bibliotheken
72 Group(es):      Desarrollo/Bibliotecas
73 Group(fr):      Development/Librairies
74 Group(pl):      Programowanie/Biblioteki
75 Group(pt_BR):   Desenvolvimento/Bibliotecas
76 Group(ru):      òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
77 Group(uk):      òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
78
79 %description -n libecasound
80 Ecasound libraries.
81
82 %description -l pl -n libecasound
83 Biblioteki programu ecasound.
84
85 %package -n libecasound-devel
86 Summary:        Ecasound headers
87 Summary(pl):    Pliki nag³ówkowe bibliotek programu ecasound
88 Group:          Development/Libraries
89 Group(de):      Entwicklung/Bibliotheken
90 Group(es):      Desarrollo/Bibliotecas
91 Group(fr):      Development/Librairies
92 Group(pl):      Programowanie/Biblioteki
93 Group(pt_BR):   Desenvolvimento/Bibliotecas
94 Group(ru):      òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
95 Group(uk):      òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
96 Requires:       libecasound = %{version}
97
98 %description -n libecasound-devel
99 Ecasound headers.
100
101 %description -l pl -n libecasound-devel
102 Pliki nag³ówkowe bibliotek programu ecasound.
103
104 %package -n libecasound-static
105 Summary:        Ecasound static libraries
106 Summary(pl):    Biblioteki statyczne programu ecasound
107 Group:          Development/Libraries
108 Group(de):      Entwicklung/Bibliotheken
109 Group(es):      Desarrollo/Bibliotecas
110 Group(fr):      Development/Librairies
111 Group(pl):      Programowanie/Biblioteki
112 Group(pt_BR):   Desenvolvimento/Bibliotecas
113 Group(ru):      òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
114 Group(uk):      òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
115 Requires:       libecasound-devel = %{version}
116
117 %description -n libecasound-static
118 Ecasound static libraries.
119
120 %description -l pl -n libecasound-static
121 Biblioteki statyczne programu ecasound.
122
123 %package plugins
124 Summary:        Ecasound plugins (ALSA, Audio File Library, aRts)
125 Summary(pl):    Wtyczki dla programu ecasound (ALSA, Audio File Library, aRts)
126 Group:          Applications/Sound
127 Group(de):      Applikationen/Laut
128 Group(es):      Aplicaciones/Sonido
129 Group(pl):      Aplikacje/D¼wiêk
130 Group(pt_BR):   Aplicações/Som
131 Requires:       ecasound = %{version}
132
133 %description plugins
134 This package contains ecasound plugins, which give support for ALSA,
135 Audio File Library and aRts.
136
137 %description -l pl plugins
138 Pakiet ten zawiera wtyczki dla programu ecasound, które umo¿liwiaj±
139 wspó³pracê z bibliotekami takich projektów jak ALSA, Audio File
140 Library oraz aRts.
141
142 %package -n python-%{name}
143 Summary:        Python module for Ecasound
144 Summary(pl):    Modu³ jêzyka Python dla biblioteki programu ecasound
145 Group:          Development/Languages/Python
146 Group(de):      Entwicklung/Sprachen/Python
147 Group(es):      Desarrollo/Lenguages/Python
148 Group(fr):      Development/Langues/Python
149 Group(pl):      Programowanie/Jêzyki/Python
150 %requires_eq    python
151
152 %description -n python-%{name}
153 Python module for Ecasound library.
154
155 %description -l pl -n python-%{name}
156 Modu³ jêzyka Python dla biblioteki programu ecasound.
157
158 %prep
159 %setup -q
160 %patch0 -p1
161 %patch1 -p1
162 %patch2 -p1
163 %patch3 -p1
164
165 %build
166 rm missing
167 %ifarch sparc sparc64
168 libtoolize --copy --force
169 %endif
170 aclocal
171 autoconf
172 automake -a -c
173 CXXFLAGS="%{rpmcflags} -D_REENTRANT %{!?debug:-DNDEBUG}"
174 %configure \
175         --enable-sys-readline \
176         --with-python-includes=%{py_incdir} \
177         --with-python-modules=%{py_libdir} \
178         %{?_without_alsa:--disable-alsa}
179
180 %{__make}
181
182 %install
183 rm -rf $RPM_BUILD_ROOT
184 %{__install} -d $RPM_BUILD_ROOT%{py_sitedir}
185
186 %{__make} DESTDIR=$RPM_BUILD_ROOT mandir=%{_mandir} install
187
188 install pyecasound/*.py $RPM_BUILD_ROOT%{py_sitedir}
189 %py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
190 %py_comp $RPM_BUILD_ROOT%{py_sitedir}
191
192 %post   -n libecasound -p /sbin/ldconfig
193 %postun -n libecasound -p /sbin/ldconfig
194
195 %clean
196 rm -rf $RPM_BUILD_ROOT
197
198 %files
199 %defattr(644,root,root,755)
200 %attr(755,root,root) %{_bindir}/ecaconvert
201 %attr(755,root,root) %{_bindir}/ecafixdc
202 %attr(755,root,root) %{_bindir}/ecanormalize
203 %attr(755,root,root) %{_bindir}/ecaplay
204 %attr(755,root,root) %{_bindir}/ecasignalview
205 %attr(755,root,root) %{_bindir}/ecasound
206 %{_mandir}/man1/eca*
207 %{_mandir}/man5/eca*
208
209 %files -n libecasound
210 %defattr(644,root,root,755)
211 %dir %{_datadir}/ecasound
212 %{_datadir}/ecasound/*
213 %attr(755,root,root) %{_libdir}/libkvutils*.so.*.*
214 %attr(755,root,root) %{_libdir}/libecasound*.so.*.*
215
216 %files -n libecasound-devel
217 %defattr(644,root,root,755)
218 %attr(755,root,root) %{_bindir}/ecasound-config
219 %attr(755,root,root) %{_bindir}/ecasoundc-config
220 %{_includedir}/ecasound
221 %{_includedir}/kvutils
222 %attr(755,root,root) %{_libdir}/libkvutils.so
223 %attr(755,root,root) %{_libdir}/libkvutils.la
224 %attr(755,root,root) %{_libdir}/libecasound*.so
225 %attr(755,root,root) %{_libdir}/libecasound*.la
226
227 %files -n libecasound-static
228 %defattr(644,root,root,755)
229 %{_libdir}/libkvutils.a
230 %{_libdir}/libecasound.a
231 %{py_dyndir}/*.a
232
233 %files plugins
234 %defattr(644,root,root,755)
235 %dir %{_libdir}/ecasound-plugins
236 %attr(755,root,root) %{_libdir}/ecasound-plugins/lib*.so*
237 %{_libdir}/ecasound-plugins/lib*.la
238 %{_libdir}/ecasound-plugins/lib*.a
239
240 %files -n python-%{name}
241 %defattr(644,root,root,755)
242 %attr(755,root,root) %{py_dyndir}/*.so
243 %{py_sitedir}/*.py[co]
This page took 0.086431 seconds and 3 git commands to generate.