]> git.pld-linux.org Git - packages/ecasound.git/blob - ecasound.spec
- make %%{_libdir}/python2.0/site-packages missing directoty in %install.
[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:        3
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}-am_fix.patch
17 Patch1:         %{name}-ac_fix.patch
18 Patch2:         %{name}-readline.patch
19 BuildRequires:  autoconf
20 BuildRequires:  automake
21 BuildRequires:  libtool
22 BuildRequires:  readline-devel >= 4.2
23 %ifnarch sparc sparc64
24 BuildRequires:  alsa-lib-devel
25 %endif
26 BuildRequires:  audiofile-devel >= 0.2.0
27 BuildRequires:  python-devel
28 Requires:       lame
29 Requires:       mpg123
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:          Development/Libraries
69 Group(de):      Entwicklung/Libraries
70 Group(fr):      Development/Librairies
71 Group(pl):      Programowanie/Biblioteki
72
73 %description -n libecasound
74 Ecasound libraries.
75
76 %description -l pl -n libecasound
77 Biblioteki programu ecasound.
78
79 %package -n libecasound-devel
80 Summary:        Ecasound headers
81 Summary(pl):    Pliki nag³ówkowe bibliotek programu ecasound
82 Group:          Development/Libraries
83 Group(de):      Entwicklung/Libraries
84 Group(fr):      Development/Librairies
85 Group(pl):      Programowanie/Biblioteki
86 Requires:       libecasound = %{version}
87
88 %description -n libecasound-devel
89 Ecasound headers.
90
91 %description -l pl -n libecasound-devel
92 Pliki nag³ówkowe bibliotek programu ecasound.
93
94 %package -n libecasound-static
95 Summary:        Ecasound static libraries
96 Summary(pl):    Biblioteki statyczne programu ecasound
97 Group:          Development/Libraries
98 Group(de):      Entwicklung/Libraries
99 Group(fr):      Development/Librairies
100 Group(pl):      Programowanie/Biblioteki
101 Requires:       libecasound-devel = %{version}
102
103 %description -n libecasound-static
104 Ecasound static libraries.
105
106 %description -l pl -n libecasound-static
107 Biblioteki statyczne programu ecasound.
108
109 %package plugins
110 Summary:        Ecasound plugins (ALSA, Audio File Library, aRts)
111 Summary(pl):    Wtyczki dla programu ecasound (ALSA, Audio File Library, aRts)
112 Group:          Applications/Sound
113 Group(de):      Applikationen/Laut
114 Group(pl):      Aplikacje/D¼wiêk
115 Requires:       ecasound = %{version}
116
117 %description plugins
118 This package contains ecasound plugins, which give support for ALSA,
119 Audio File Library and aRts.
120
121 %description -l pl plugins
122 Pakiet ten zawiera wtyczki dla programu ecasound, które umo¿liwiaj±
123 wspó³pracê z bibliotekami takich projektów jak ALSA, Audio File
124 Library oraz aRts.
125
126 %package -n python-%{name}
127 Summary:        Python module for Ecasound
128 Summary(pl):    Modu³ jêzyka Python dla biblioteki programu ecasound
129 Group:          Development/Languages/Python
130 Group(de):      Entwicklung/Sprachen/Python
131 Group(pl):      Programowanie/Jêzyki/Python
132
133 %description -n python-%{name}
134 Python module for Ecasound library.
135
136 %description -l pl -n python-%{name}
137 Modu³ jêzyka Python dla biblioteki programu ecasound.
138
139 %prep
140 %setup -q
141 %patch0 -p1
142 %patch1 -p1
143 %patch2 -p1
144
145 %build
146 rm missing
147 libtoolize --copy --force
148 aclocal
149 autoconf
150 automake -a -c
151 CXXFLAGS="%{rpmcflags} -D_REENTRANT"
152 %configure \
153         --enable-sys-readline
154 %{__make}
155
156 %install
157 rm -rf $RPM_BUILD_ROOT
158 %{__install} -d $RPM_BUILD_ROOT%{_libdir}/python2.0/site-packages
159
160 %{__make} DESTDIR=$RPM_BUILD_ROOT mandir=%{_mandir} install
161
162 ( cd pyecasound
163   %python_compile_opt
164   %python_compile
165   install *.pyc *.pyo $RPM_BUILD_ROOT%{python_sitepkgsdir}
166 )
167
168 %post   -n libecasound -p /sbin/ldconfig
169 %postun -n libecasound -p /sbin/ldconfig
170
171 %clean
172 rm -rf $RPM_BUILD_ROOT
173
174 %files
175 %defattr(644,root,root,755)
176 %attr(755,root,root) %{_bindir}/ecaconvert
177 %attr(755,root,root) %{_bindir}/ecafixdc
178 %attr(755,root,root) %{_bindir}/ecanormalize
179 %attr(755,root,root) %{_bindir}/ecaplay
180 %attr(755,root,root) %{_bindir}/ecasignalview
181 %attr(755,root,root) %{_bindir}/ecasound
182 %{_mandir}/man1/eca*
183 %{_mandir}/man5/eca*
184
185 %files -n libecasound
186 %defattr(644,root,root,755)
187 %dir %{_datadir}/ecasound
188 %{_datadir}/ecasound/*
189 %attr(755,root,root) %{_libdir}/libkvutils*.so.*.*
190 %attr(755,root,root) %{_libdir}/libecasound*.so.*.*
191
192 %files -n libecasound-devel
193 %defattr(644,root,root,755)
194 %attr(755,root,root) %{_bindir}/ecasound-config
195 %attr(755,root,root) %{_bindir}/ecasoundc-config
196 %{_includedir}/ecasound/*
197 %{_includedir}/kvutils/*
198 %attr(755,root,root) %{_libdir}/libkvutils.so
199 %attr(755,root,root) %{_libdir}/libkvutils.la
200 %attr(755,root,root) %{_libdir}/libecasound*.so
201 %attr(755,root,root) %{_libdir}/libecasound*.la
202
203 %files -n libecasound-static
204 %defattr(644,root,root,755)
205 %{_libdir}/libkvutils.a
206 %{_libdir}/libecasound.a
207
208 %files plugins
209 %defattr(644,root,root,755)
210 %dir %{_libdir}/ecasound-plugins
211 %attr(755,root,root) %{_libdir}/ecasound-plugins/lib*.so*
212 %{_libdir}/ecasound-plugins/lib*.la
213 %{_libdir}/ecasound-plugins/lib*.a
214
215 %files -n python-%{name}
216 %defattr(644,root,root,755)
217 %attr(755,root,root) %{python_sitepkgsdir}/*.so
218 %{python_sitepkgsdir}/*.pyo
219 %{python_sitepkgsdir}/*.pyc
This page took 0.074796 seconds and 4 git commands to generate.