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