]> git.pld-linux.org Git - packages/ecasound.git/blob - ecasound.spec
- obsoletes for libecasound and dependend packages
[packages/ecasound.git] / ecasound.spec
1
2 #
3 # todo:
4 # - jackit.sf.net
5 #
6
7 #
8 # Conditional build:
9 # _without_alsa - without ALSA support
10 #
11
12 %include        /usr/lib/rpm/macros.python
13
14 Summary:        Software package for multitrack audio processing
15 Summary(pl):    Oprogramowanie do wielo¶cie¿kowego przetwarzania d¼wiêku
16 Name:           ecasound
17 Version:        2.2.0
18 Release:        2
19 License:        GPL
20 Group:          Applications/Sound
21 Source0:        http://ecasound.seul.org/download/%{name}-%{version}.tar.gz
22 Patch0:         %{name}-link.patch
23 %ifnarch sparc sparc64
24 %{!?_without_alsa:BuildRequires:        alsa-lib-devel}
25 %endif
26 BuildRequires:  autoconf
27 BuildRequires:  automake
28 BuildRequires:  libstdc++-devel
29 BuildRequires:  libtool >= 2:1.4d
30 BuildRequires:  python-devel >= 2.2
31 BuildRequires:  python-modules >= 2.2
32 BuildRequires:  readline-devel >= 4.2
33 BuildRequires:  rpm-pythonprov
34 Requires:       lame
35 Requires:       mpg123
36 # libecasound no longer supported
37 Obsoletes:      perl-Audio-Ecasound.spec php-pecl-ecasound.spec
38 Obsoletes:      libecasound libecasound-devel
39 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
40
41 %description
42 Ecasound is a software package designed for multitrack audio
43 processing. It can be used for simple tasks like audio playback,
44 recording and format conversions, as well as for multitrack effect
45 processing, mixing, recording and signal recycling. Ecasound supports
46 a wide range of audio inputs, outputs and effect algorithms. Several
47 open-source audio packages, like for instance ALSA, OSS, mpg123, lame,
48 libaudiofile and MikMod, are directly supported. One of the advantages
49 of ecasound's chain-based design is that effects can easily be
50 combined both in series and in parallel. Oscillators and MIDI-CCs can
51 be used for controlling effect parameters. Included user-interfaces
52 are ecasound - a versatile console mode interface, qtecasound - a
53 Qt-based X-interface and various command-line utils suitable for batch
54 processing.
55
56 %description -l pl
57 Ecasound jest programem do wielo¶cie¿kowej edycji d¼wiêku, który mo¿e
58 byæ u¿ywany tak do prostych zadañ typu odtwarzanie i nagrywanie muzyki
59 czy te¿ konwersji pomiêdzy formatami plików muzycznych jak i do
60 wielo¶cie¿kowego nak³adania efektów, miksowania (przenikania,
61 wyciszania), nagrywania i odzyskiwania (w domy¶le odszumiania lub
62 wyrzucania zniekszta³ceñ) sygna³u.
63
64 Ecasound wspiera szerok± gamê ¼róde³ i wyj¶æ d¼wiêku oraz algorytmów
65 do jego przetwarzania. Ecasound wspiera wiele wolnych (open source)
66 projektów, takich jak ALSA, OSS, mpg123, lame, libaudiofile czy te¿
67 MikMod. Jedn± z zalet programu ecasound jest mo¿liwo¶æ ³añcuchowego
68 (szeregowego) lub równoleg³ego ³±czenia efektów, które mog± byæ
69 kontrolowane poprzez oscylatory lub MIDI-CC. Pakiet ten zawiera
70 tekstowy interfejs u¿ytkownika oraz kilka innych narzêdzi nadaj±cych
71 siê do przetwarzania wsadowego. Dostêpny jest tak¿e graficzny
72 interfejs u¿ytkownika - qtecasound.
73
74 %package -n python-%{name}
75 Summary:        Python module for Ecasound
76 Summary(pl):    Modu³ jêzyka Python dla programu ecasound
77 Group:          Libraries/Python
78 %pyrequires_eq  python-modules
79
80 %description -n python-%{name}
81 Python module for Ecasound.
82
83 %description -n python-%{name} -l pl
84 Modu³ jêzyka Python dla programu ecasound.
85
86 %prep
87 %setup -q
88 %patch0 -p1
89
90 %build
91 rm -f missing
92 %{__libtoolize}
93 aclocal
94 %{__autoconf}
95 %{__automake}
96 CXXFLAGS="%{rpmcflags} -D_REENTRANT %{!?debug:-DNDEBUG} -I/usr/include/ncurses"
97 # disable audiofile - ecasound has native support for wav and raw formats
98 # disable oss       - ecasound works nicely with alsa oss emulation;
99 #                     in case of alsa building conditional, the oss should
100 #                     be enabled
101 # disable arts      - 'not really useful' as said by ecasound author
102 %configure \
103         --enable-sys-readline \
104         --with-python-includes=%{py_incdir} \
105         --with-python-modules=%{py_libdir} \
106         --disable-audiofile \
107         --disable-arts \
108         %{?_without_alsa:--disable-alsa} \
109         %{!?_without_alsa:--disable-oss}
110
111 %{__make}
112
113 %install
114 rm -rf $RPM_BUILD_ROOT
115 install -d $RPM_BUILD_ROOT%{py_sitedir}
116
117 %{__make} DESTDIR=$RPM_BUILD_ROOT mandir=%{_mandir} install
118
119 install pyecasound/*.py $RPM_BUILD_ROOT%{py_sitedir}
120 %py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
121 %py_comp $RPM_BUILD_ROOT%{py_sitedir}
122
123 %clean
124 rm -rf $RPM_BUILD_ROOT
125
126 %files
127 %defattr(644,root,root,755)
128 %doc BUGS NEWS README TODO
129 %attr(755,root,root) %{_bindir}/eca*
130 %{_datadir}/ecasound
131
132 %{_mandir}/man1/eca*
133 %{_mandir}/man5/eca*
134
135 %files -n python-%{name}
136 %defattr(644,root,root,755)
137 %attr(755,root,root) %{py_sitedir}/*.so
138 %{py_sitedir}/*.py[co]
This page took 0.042702 seconds and 3 git commands to generate.