]> git.pld-linux.org Git - packages/ecasound.git/blob - ecasound.spec
- fixed missing $RPM_BUILD_ROOT on stripping libraries.
[packages/ecasound.git] / ecasound.spec
1 Summary:        Software package for multitrack audio processing
2 Summary(pl):    Oprogramowanie do wielo¶cie¿kowego przetwarzania d¼wiêku
3 Name:           ecasound
4 Version:        1.8.0d14
5 Release:        1
6 License:        GPL
7 Group:          Applications/Sound
8 Group(pl):      Aplikacje/D¼wiêk
9 Source0:        http://ecasound.seul.org/download/%{name}-%{version}.tar.gz
10 Patch0:         ecasound-ncurses.patch.bz2
11 Patch1:         ecasound-kvutils.patch.bz2
12 BuildRequires:  qt-devel >= 2.0
13 BuildRequires:  audiofile-devel >= 0.1.7
14 BuildRequires:  readline-devel
15 BuildRequires:  ncurses-devel >= 5.0
16 BuildRequires:  autoconf
17 BuildRequires:  automake
18 Requires:       lame
19 Requires:       mpg123
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
23 Ecasound is a software package designed for multitrack audio
24 processing. It can be used for simple tasks like audio playback,
25 recording and format conversions, as well as for multitrack effect
26 processing, mixing, recording and signal recycling. Ecasound supports
27 a wide range of audio inputs, outputs and effect algorithms. Several
28 open-source audio packages, like for instance ALSA, OSS, mpg123, lame,
29 libaudiofile and MikMod, are directly supported. One of the advantages
30 of ecasound's chain-based design is that effects can easily be
31 combined both in series and in parallel. Oscillators and MIDI-CCs can
32 be used for controlling effect parameters. Included user-interfaces
33 are ecasound - a versatile console mode interface, qtecasound - a
34 Qt-based X-interface and various command-line utils suitable for batch
35 processing.
36
37 %description -l pl
38 Ecasound jest programem do wielo¶cie¿kowej edycji d¼wiêku, który mo¿e
39 byæ u¿ywany tak do prostych zadañ typu odtwarzanie i nagrywanie muzyki
40 czy te¿ konwersji pomiêdzy formatami plików muzycznych jak i do
41 wielo¶cie¿kowego przetwarzania ...(TODO)...
42
43 Ecasound wspiera szerok± gamê ¼róde³ i wyj¶æ d¼wiêku oraz algorytmów
44 do jego przetwarzania. Ecasound wspiera wiele wolnych (open source)
45 projektów, takich jak ALSA, OSS, mpg123, lame, libaudiofile czy te¿
46 MikMod. Jedn± z zalet programu ecasound jest mo¿liwo¶æ ³añcuchowego
47 (szeregowego) lub równoleg³ego ³±czenia efektów, które mog± byæ
48 kontrolowane poprzez oscylatory lub MIDI-CC. Pakiet ten zawiera
49 tekstowy interfejs u¿ytkownika oraz kilka innych narzêdzi nadaj±cych
50 siê do przetwarzania wsadowego. Dostêpny jest tak¿e graficzny
51 interfejs u¿ytkownika - qtecasound.
52
53 %package -n libecasound
54 Summary:        Ecasound libraries
55 Summary(pl):    Biblioteki programu ecasound
56 Group:          Development/Libraries
57 Group(fr):      Development/Librairies
58 Group(pl):      Programowanie/Biblioteki
59
60 %description -n libecasound
61 Ecasound libraries.
62
63 %description -l pl -n libecasound
64 Biblioteki programu ecasound.
65
66 %package -n libecasound-devel
67 Summary:        Ecasound headers
68 Summary(pl):    Pliki nag³ówkowe bibliotek programu ecasound
69 Group:          Development/Libraries
70 Group(fr):      Development/Librairies
71 Group(pl):      Programowanie/Biblioteki
72 Requires:       libecasound = %{version}
73
74 %description -n libecasound-devel
75 Ecasound headers.
76
77 %description -l pl -n libecasound-devel
78 Pliki nag³ówkowe bibliotek programu ecasound.
79
80 %package -n libecasound-static
81 Summary:        Ecasound static libraries
82 Summary(pl):    Biblioteki statyczne programu ecasound
83 Group:          Development/Libraries
84 Group(fr):      Development/Librairies
85 Group(pl):      Programowanie/Biblioteki
86 Requires:       libecasound-devel = %{version}
87
88 %description -n libecasound-static
89 Ecasound static libraries.
90
91 %description -l pl -n libecasound-static
92 Biblioteki statyczne programu ecasound.
93
94 %package -n qtecasound
95 Summary:        Ecasound QT frontend
96 Summary(pl):    Interfejs graficzny dla programu ecasound
97 Group:          Applications/Sound
98 Group(pl):      Aplikacje/D¼wiêk
99
100 %description -n qtecasound
101 This is qtecasound, Qt-based X-interface for ecasound. It is usable
102 but isn't yet as powerful as the console mode version. This program
103 features:
104 - control panel (start, stop, rewind, forward, ...)
105 - session setup (load, save and view chainsetups)
106 - chainsetup view (add, remove, attach and view inputs, outputs and
107   chains; enable/disable chains)
108 - waveform view (supports caching)
109 - chain view (chain and effect status)
110
111 %description -l pl -n qtecasound
112 N/A.
113
114 %package -n libqtecasound
115 Summary:        Ecasound QT frontend library
116 Summary(pl):    Biblioteki interfejsu graficznego programu ecasound
117 Group:          Development/Libraries
118 Group(fr):      Development/Librairies
119 Group(pl):      Programowanie/Biblioteki
120
121 %description -n libqtecasound
122 Ecasound QT frontend library.
123
124 %description -l pl -n libqtecasound
125 Biblioteki interfejsu graficznego programu ecasound.
126
127 %package -n libqtecasound-devel
128 Summary:        Ecasound QT frontend library headers
129 Summary(pl):    Pliki nag³ówkowe bibliotek interfejsu graficznego programu ecasound
130 Group:          Development/Libraries
131 Group(fr):      Development/Librairies
132 Group(pl):      Programowanie/Biblioteki
133 Requires:       ibqtecasound = %{version}
134
135 %description -n libqtecasound-devel
136 Ecasound QT frontend library headers.
137
138 %description -l pl -n libqtecasound-devel
139 Pliki nag³ówkowe bibliotek interfejsu graficznego programu ecasound.
140
141 %package -n libqtecasound-static
142 Summary:        Ecasound QT frontend static library
143 Summary(pl):    Biblioteki stayczne interfejsu graficznego programu ecasound
144 Group:          Development/Libraries
145 Group(fr):      Development/Librairies
146 Group(pl):      Programowanie/Biblioteki
147 Requires:       libqtecasound-devel = %{version}
148
149 %description -n libqtecasound-static
150 Ecasound QT frontend static library.
151
152 %description -l pl -n libqtecasound-static
153 Biblioteki stayczne interfejsu graficznego programu ecasound.
154
155 %prep
156 %setup -q
157 %patch0 -p1
158 %patch1 -p1
159
160 %build
161 automake
162 autoconf
163 LDFLAGS="-s"
164 CXXFLAGS="$RPM_OPT_FLAGS -fno-rtti"
165 export LDFLAGS CXXFLAGS
166 %configure \
167         --with-qt-includes=%{_prefix}/X11R6/include \
168         --with-qt-libraries=%{_prefix}/X11R6/lib \
169         --enable-sys-readline
170 %{__make}
171
172 %install
173 rm -rf $RPM_BUILD_ROOT
174 %{__make} DESTDIR=$RPM_BUILD_ROOT mandir=%{_mandir} install
175
176 strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/lib*.so.*.*
177
178 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/*/*
179
180 %clean
181 rm -rf $RPM_BUILD_ROOT
182
183 %post   -n libecasound -p /sbin/ldconfig
184 %postun -n libecasound -p /sbin/ldconfig
185
186 %post   -n libqtecasound -p /sbin/ldconfig
187 %postun -n libqtecasound -p /sbin/ldconfig
188
189 %files
190 %defattr(644,root,root,755)
191 %attr(755,root,root) %{_bindir}/ecafixdc
192 %attr(755,root,root) %{_bindir}/ecanormalize
193 %attr(755,root,root) %{_bindir}/ecaplay
194 %attr(755,root,root) %{_bindir}/ecasound
195 %{_mandir}/man1/eca*
196 %{_mandir}/man5/eca*
197
198 %files -n libecasound
199 %defattr(644,root,root,755)
200 %dir %{_datadir}/ecasound
201 %{_datadir}/ecasound/*
202 %attr(755,root,root) %{_libdir}/libkvutils*.so.*.*
203 %attr(755,root,root) %{_libdir}/libecasound*.so.*.*
204
205 %files -n libecasound-devel
206 %defattr(644,root,root,755)
207 %{_includedir}/ecasound/[^qe]*
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
219 %files -n qtecasound
220 %defattr(644,root,root,755)
221 %attr(755,root,root) %{_bindir}/qtecasound
222 %{_mandir}/man1/qt*
223
224 %files -n libqtecasound
225 %defattr(644,root,root,755)
226 %attr(755,root,root) %{_libdir}/libqtecasound*.so.*.*
227
228 %files -n libqtecasound-devel
229 %defattr(644,root,root,755)
230 %{_includedir}/ecasound/qe*
231 %attr(755,root,root) %{_libdir}/libqtecasound*.so
232 %attr(755,root,root) %{_libdir}/libqtecasound*.la
233
234 %files -n libqtecasound-static
235 %defattr(644,root,root,755)
236 %{_libdir}/libqtecasound*.a
This page took 0.079543 seconds and 4 git commands to generate.