1 Summary: Audacity - manipulate digital audio waveforms
2 Summary(pl): Audacity - narzêdzie do obróbki plików d¼wiêkowych
7 Vendor: Dominic Mazzoni <dominic@minorninth.com>
8 Group: X11/Applications/Sound
9 Source0: http://dl.sourceforge.net/%{name}/%{name}-src-%{version}.tgz
10 Source1: %{name}.desktop
11 Source2: %{name}-icon.png
12 Patch0: %{name}-system-expat.patch
13 Patch1: %{name}-helpfile_location.patch
14 Patch2: %{name}-not_require_lame-libs-devel.patch
15 Patch3: %{name}-opt.patch
16 URL: http://audacity.sourceforge.net/
17 BuildRequires: autoconf
18 BuildRequires: expat-devel
20 #BuildRequires: flac-devel
21 BuildRequires: libjpeg-devel
22 BuildRequires: libsndfile-devel
23 BuildRequires: libstdc++-devel
24 BuildRequires: libvorbis-devel >= 1:1.0
25 BuildRequires: mad-devel
26 BuildRequires: wxGTK2-devel >= 2.4.0
27 BuildRequires: fftw-devel >= 2.1.4
29 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
32 Audacity is a program that manipulates digital audio waveforms.
33 Supports wav, mp3 and ogg/vorbis.
36 Audacity to program obs³uguj±cy ró¿ne formaty dzwiêku cyfrowego.
37 Obs³uguje .wav, .mp3 oraz ogg/vorbis.
40 %setup -q -n %{name}-src-%{version}
48 export WX_CONFIG=/usr/bin/wxgtk2-2.4-config
51 --with-id3tag=system \
52 --with-libmad=system \
53 --with-libsndfile=system \
58 CCC="%{__cxx} -fno-exceptions -fno-rtti" \
59 OPTFLAGS="%{rpmcflags}"
62 rm -rf $RPM_BUILD_ROOT
63 install -d $RPM_BUILD_ROOT{%{_applnkdir}/Multimedia,%{_pixmapsdir}}
66 DESTDIR=$RPM_BUILD_ROOT \
67 INSTALL_PATH=$RPM_BUILD_ROOT
69 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Multimedia
70 install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
72 # not built in this version
73 #install audacity-help.htb $RPM_BUILD_ROOT%{_datadir}/%{name}
78 rm -rf $RPM_BUILD_ROOT
80 %files -f %{name}.lang
81 %defattr(644,root,root,755)
83 %attr(755,root,root) %{_bindir}/audacity