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