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