]> git.pld-linux.org Git - packages/ecasound.git/blob - ecasound.spec
- fixed %build: regenerate all autoconf/aumake files for allow build in
[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.9dev1
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 BuildRequires:  autoconf
17 BuildRequires:  automake
18 BuildRequires:  ncurses-devel >= 5.0
19 BuildRequires:  readline-devel
20 BuildRequires:  alsa-lib-devel
21 BuildRequires:  audiofile-devel >= 0.1.7
22 BuildRequires:  python-devel
23 Requires:       lame
24 Requires:       mpg123
25 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27 %description
28 Ecasound is a software package designed for multitrack audio
29 processing. It can be used for simple tasks like audio playback,
30 recording and format conversions, as well as for multitrack effect
31 processing, mixing, recording and signal recycling. Ecasound supports
32 a wide range of audio inputs, outputs and effect algorithms. Several
33 open-source audio packages, like for instance ALSA, OSS, mpg123, lame,
34 libaudiofile and MikMod, are directly supported. One of the advantages
35 of ecasound's chain-based design is that effects can easily be
36 combined both in series and in parallel. Oscillators and MIDI-CCs can
37 be used for controlling effect parameters. Included user-interfaces
38 are ecasound - a versatile console mode interface, qtecasound - a
39 Qt-based X-interface and various command-line utils suitable for batch
40 processing.
41
42 %description -l pl
43 Ecasound jest programem do wielo¶cie¿kowej edycji d¼wiêku, który mo¿e
44 byæ u¿ywany tak do prostych zadañ typu odtwarzanie i nagrywanie muzyki
45 czy te¿ konwersji pomiêdzy formatami plików muzycznych jak i do
46 wielo¶cie¿kowego nak³adania efektów, miksowania (przenikania,
47 wyciszania), nagrywania i odzyskiwania (w domy¶le odszumiania lub
48 wyrzucania zniekszta³ceñ) sygna³u.
49
50 Ecasound wspiera szerok± gamê ¼róde³ i wyj¶æ d¼wiêku oraz algorytmów
51 do jego przetwarzania. Ecasound wspiera wiele wolnych (open source)
52 projektów, takich jak ALSA, OSS, mpg123, lame, libaudiofile czy te¿
53 MikMod. Jedn± z zalet programu ecasound jest mo¿liwo¶æ ³añcuchowego
54 (szeregowego) lub równoleg³ego ³±czenia efektów, które mog± byæ
55 kontrolowane poprzez oscylatory lub MIDI-CC. Pakiet ten zawiera
56 tekstowy interfejs u¿ytkownika oraz kilka innych narzêdzi nadaj±cych
57 siê do przetwarzania wsadowego. Dostêpny jest tak¿e graficzny
58 interfejs u¿ytkownika - qtecasound.
59
60 %package -n libecasound
61 Summary:        Ecasound libraries
62 Summary(pl):    Biblioteki programu ecasound
63 Group:          Development/Libraries
64 Group(de):      Entwicklung/Libraries
65 Group(fr):      Development/Librairies
66 Group(pl):      Programowanie/Biblioteki
67
68 %description -n libecasound
69 Ecasound libraries.
70
71 %description -l pl -n libecasound
72 Biblioteki programu ecasound.
73
74 %package -n libecasound-devel
75 Summary:        Ecasound headers
76 Summary(pl):    Pliki nag³ówkowe bibliotek programu ecasound
77 Group:          Development/Libraries
78 Group(de):      Entwicklung/Libraries
79 Group(fr):      Development/Librairies
80 Group(pl):      Programowanie/Biblioteki
81 Requires:       libecasound = %{version}
82
83 %description -n libecasound-devel
84 Ecasound headers.
85
86 %description -l pl -n libecasound-devel
87 Pliki nag³ówkowe bibliotek programu ecasound.
88
89 %package -n libecasound-static
90 Summary:        Ecasound static libraries
91 Summary(pl):    Biblioteki statyczne programu ecasound
92 Group:          Development/Libraries
93 Group(de):      Entwicklung/Libraries
94 Group(fr):      Development/Librairies
95 Group(pl):      Programowanie/Biblioteki
96 Requires:       libecasound-devel = %{version}
97
98 %description -n libecasound-static
99 Ecasound static libraries.
100
101 %description -l pl -n libecasound-static
102 Biblioteki statyczne programu ecasound.
103
104 %package plugins
105 Summary:        Ecasound plugins (ALSA, Audio File Library, aRts)
106 Summary(pl):    Wtyczki dla programu ecasound (ALSA, Audio File Library, aRts)
107 Group:          Applications/Sound
108 Group(de):      Applikationen/Laut
109 Group(pl):      Aplikacje/D¼wiêk
110 Requires:       ecasound = %{version}
111
112 %description plugins
113 This package contains ecasound plugins, which give support for ALSA,
114 Audio File Library and aRts.
115
116 %description -l pl plugins
117 Pakiet ten zawiera wtyczki dla programu ecasound, które umo¿liwiaj±
118 wspó³pracê z bibliotekami takich projektów jak ALSA, Audio File
119 Library oraz aRts.
120
121 %package -n python-%{name}
122 Summary:        Python module for Ecasound
123 Summary(pl):    Modu³ jêzyka Python dla biblioteki programu ecasound
124 Group:          Development/Languages/Python
125 Group(de):      Entwicklung/Sprachen/Python
126 Group(pl):      Programowanie/Jêzyki/Python
127
128 %description -n python-%{name}
129 Python module for Ecasound library.
130
131 %description -l pl -n python-%{name}
132 Modu³ jêzyka Python dla biblioteki programu ecasound.
133
134 %prep
135 %setup -q
136
137 %build
138 aclocal
139 autoconf
140 automake -a -c
141 CXXFLAGS="$RPM_OPT_FLAGS -fno-rtti"
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.039997 seconds and 4 git commands to generate.