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