]> git.pld-linux.org Git - packages/ecasound.git/blob - ecasound.spec
- adapterized.
[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 Group(de):      Entwicklung/Sprachen/Python
127 Group(pl):      Programowanie/Jêzyki/Python
128
129 %description -n python-%{name}
130 Python module for Ecasound library.
131
132 %description -l pl -n python-%{name}
133 Modu³ jêzyka Python dla biblioteki programu ecasound.
134
135 %prep
136 %setup -q
137 %patch -p1
138
139 %build
140 CXXFLAGS="$RPM_OPT_FLAGS -fno-rtti"
141 automake
142 %configure \
143         --enable-sys-readline
144 %{__make}
145
146 %install
147 rm -rf $RPM_BUILD_ROOT
148 %{__make} DESTDIR=$RPM_BUILD_ROOT mandir=%{_mandir} install
149
150 ( cd pyecasound
151   %python_compile_opt
152   %python_compile
153   install *.pyc *.pyo $RPM_BUILD_ROOT%{python_sitepkgsdir}
154 )
155
156
157 %clean
158 rm -rf $RPM_BUILD_ROOT
159
160 %post   -n libecasound -p /sbin/ldconfig
161 %postun -n libecasound -p /sbin/ldconfig
162
163 %files
164 %defattr(644,root,root,755)
165 %attr(755,root,root) %{_bindir}/ecaconvert
166 %attr(755,root,root) %{_bindir}/ecafixdc
167 %attr(755,root,root) %{_bindir}/ecanormalize
168 %attr(755,root,root) %{_bindir}/ecaplay
169 %attr(755,root,root) %{_bindir}/ecasignalview
170 %attr(755,root,root) %{_bindir}/ecasound
171 %{_mandir}/man1/eca*
172 %{_mandir}/man5/eca*
173
174 %files -n libecasound
175 %defattr(644,root,root,755)
176 %dir %{_datadir}/ecasound
177 %{_datadir}/ecasound/*
178 %attr(755,root,root) %{_libdir}/libkvutils*.so.*.*
179 %attr(755,root,root) %{_libdir}/libecasound*.so.*.*
180
181 %files -n libecasound-devel
182 %defattr(644,root,root,755)
183 %attr(755,root,root) %{_bindir}/ecasound-config
184 %attr(755,root,root) %{_bindir}/ecasoundc-config
185 %{_includedir}/ecasound/*
186 %{_includedir}/kvutils/*
187 %attr(755,root,root) %{_libdir}/libkvutils.so
188 %attr(755,root,root) %{_libdir}/libkvutils.la
189 %attr(755,root,root) %{_libdir}/libecasound*.so
190 %attr(755,root,root) %{_libdir}/libecasound*.la
191
192 %files -n libecasound-static
193 %defattr(644,root,root,755)
194 %{_libdir}/libkvutils.a
195 %{_libdir}/libecasound.a
196
197 %files plugins
198 %defattr(644,root,root,755)
199 %dir %{_libdir}/ecasound-plugins
200 %attr(755,root,root) %{_libdir}/ecasound-plugins/lib*.so*
201 %{_libdir}/ecasound-plugins/lib*.la
202 %{_libdir}/ecasound-plugins/lib*.a
203
204 %files -n python-%{name}
205 %defattr(644,root,root,755)
206 %attr(755,root,root) %{python_sitepkgsdir}/*.so
207 %{python_sitepkgsdir}/*.pyo
208 %{python_sitepkgsdir}/*.pyc
This page took 0.063177 seconds and 4 git commands to generate.