]> git.pld-linux.org Git - packages/ecasound.git/blob - ecasound.spec
- :!sort BuildRequires rules.
[packages/ecasound.git] / ecasound.spec
1
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.0.3
6 Release:        2
7 License:        GPL
8 Group:          Applications/Sound
9 Group(de):      Applikationen/Laut
10 Group(pl):      Aplikacje/D¼wiêk
11 Source0:        http://ecasound.seul.org/download/%{name}-%{version}.tar.gz
12 Patch0:         %{name}-am_fix.patch
13 Patch1:         %{name}-ac_fix.patch
14 Patch2:         %{name}-readline.patch
15 Patch3:         %{name}-am15.patch
16 BuildRequires:  autoconf
17 BuildRequires:  automake
18 BuildRequires:  audiofile-devel >= 0.2.0
19 %ifnarch sparc sparc64
20 %{!?_without_alsa:BuildRequires:        alsa-lib-devel}
21 %endif
22 BuildRequires:  libtool
23 BuildRequires:  libstdc++-devel
24 BuildRequires:  readline-devel >= 4.2
25 BuildRequires:  rpm-pythonprov
26 BuildRequires:  python-devel >= 2.1
27 Requires:       lame
28 Requires:       mpg123
29 Requires:       libecasound = %{version}
30 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31
32 %include /usr/lib/rpm/macros.python
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/Libraries
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/Libraries
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/Libraries
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(pl):      Aplikacje/D¼wiêk
129 Requires:       ecasound = %{version}
130
131 %description plugins
132 This package contains ecasound plugins, which give support for ALSA,
133 Audio File Library and aRts.
134
135 %description -l pl plugins
136 Pakiet ten zawiera wtyczki dla programu ecasound, które umo¿liwiaj±
137 wspó³pracê z bibliotekami takich projektów jak ALSA, Audio File
138 Library oraz aRts.
139
140 %package -n python-%{name}
141 Summary:        Python module for Ecasound
142 Summary(pl):    Modu³ jêzyka Python dla biblioteki programu ecasound
143 Group:          Development/Languages/Python
144 Group(de):      Entwicklung/Sprachen/Python
145 Group(pl):      Programowanie/Jêzyki/Python
146 %requires_eq    python
147
148 %description -n python-%{name}
149 Python module for Ecasound library.
150
151 %description -l pl -n python-%{name}
152 Modu³ jêzyka Python dla biblioteki programu ecasound.
153
154 %prep
155 %setup -q
156 %patch0 -p1
157 %patch1 -p1
158 %patch2 -p1
159 %patch3 -p1
160
161 %build
162 rm missing
163 %ifarch sparc sparc64
164 libtoolize --copy --force
165 %endif
166 aclocal
167 autoconf
168 automake -a -c
169 CXXFLAGS="%{rpmcflags} -D_REENTRANT"
170 %configure \
171         --enable-sys-readline \
172         --with-python-includes=%{py_incdir} \
173         --with-python-modules=%{py_libdir} \
174         %{?_without_alsa:--disable-alsa}
175
176 %{__make}
177
178 %install
179 rm -rf $RPM_BUILD_ROOT
180 %{__install} -d $RPM_BUILD_ROOT%{py_sitedir}
181
182 %{__make} DESTDIR=$RPM_BUILD_ROOT mandir=%{_mandir} install
183
184 install pyecasound/*.py $RPM_BUILD_ROOT%{py_sitedir}
185 %py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
186 %py_comp $RPM_BUILD_ROOT%{py_sitedir}
187
188 %post   -n libecasound -p /sbin/ldconfig
189 %postun -n libecasound -p /sbin/ldconfig
190
191 %clean
192 rm -rf $RPM_BUILD_ROOT
193
194 %files
195 %defattr(644,root,root,755)
196 %attr(755,root,root) %{_bindir}/ecaconvert
197 %attr(755,root,root) %{_bindir}/ecafixdc
198 %attr(755,root,root) %{_bindir}/ecanormalize
199 %attr(755,root,root) %{_bindir}/ecaplay
200 %attr(755,root,root) %{_bindir}/ecasignalview
201 %attr(755,root,root) %{_bindir}/ecasound
202 %{_mandir}/man1/eca*
203 %{_mandir}/man5/eca*
204
205 %files -n libecasound
206 %defattr(644,root,root,755)
207 %dir %{_datadir}/ecasound
208 %{_datadir}/ecasound/*
209 %attr(755,root,root) %{_libdir}/libkvutils*.so.*.*
210 %attr(755,root,root) %{_libdir}/libecasound*.so.*.*
211
212 %files -n libecasound-devel
213 %defattr(644,root,root,755)
214 %attr(755,root,root) %{_bindir}/ecasound-config
215 %attr(755,root,root) %{_bindir}/ecasoundc-config
216 %{_includedir}/ecasound/*
217 %{_includedir}/kvutils/*
218 %attr(755,root,root) %{_libdir}/libkvutils.so
219 %attr(755,root,root) %{_libdir}/libkvutils.la
220 %attr(755,root,root) %{_libdir}/libecasound*.so
221 %attr(755,root,root) %{_libdir}/libecasound*.la
222
223 %files -n libecasound-static
224 %defattr(644,root,root,755)
225 %{_libdir}/libkvutils.a
226 %{_libdir}/libecasound.a
227 %{py_dyndir}/*.a
228
229 %files plugins
230 %defattr(644,root,root,755)
231 %dir %{_libdir}/ecasound-plugins
232 %attr(755,root,root) %{_libdir}/ecasound-plugins/lib*.so*
233 %{_libdir}/ecasound-plugins/lib*.la
234 %{_libdir}/ecasound-plugins/lib*.a
235
236 %files -n python-%{name}
237 %defattr(644,root,root,755)
238 %attr(755,root,root) %{py_dyndir}/*.so
239 %{py_sitedir}/*.py[co]
This page took 0.057907 seconds and 4 git commands to generate.