]> git.pld-linux.org Git - packages/audacity.git/blob - audacity.spec
- added patch which fix build with wxGTK-2.3.2,
[packages/audacity.git] / audacity.spec
1 Summary:        Audacity - manipulate digital audio waveforms
2 Summary(pl):    Audacity - manipulacja plikami audio
3 Name:           audacity
4 Version:        0.98
5 Release:        1
6 License:        GPL
7 Vendor:         Dominic Mazzoni <dominic@minorninth.com>
8 Group:          X11/Applications/Multimedia
9 Source0:        http://prdownloads.sourceforge.net/%{name}/%{name}-src-%{version}.tgz
10 Source1:        %{name}.desktop
11 Source2:        %{name}-icon.png
12 Patch0:         %{name}-dynamic_id3lib.patch
13 Patch1:         %{name}-helpfile_location.patch
14 Patch2:         %{name}-not_require_lame-libs-devel.patch
15 Patch3:         %{name}-wxGTK-2.3.2.patch
16 URL:            http://audacity.sourceforge.net/
17 Requires:       lame-libs
18 BuildRequires:  wxGTK-devel
19 BuildRequires:  mad-devel
20 BuildRequires:  libstdc++-devel
21 BuildRequires:  libvorbis-devel
22 BuildRequires:  libpng-devel
23 BuildRequires:  libjpeg-devel
24 BuildRequires:  libtiff-devel
25 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27 %define         _prefix         /usr/X11R6
28
29 %description
30 Audacity is a program that manipulates digital audio waveforms.
31 Supports wav, mp3 and ogg/vorbis.
32
33 %description -l pl
34 Audacity to program obs³uguj±cy ró¿ne formaty dzwiêku cyfrowego.
35 Obs³uguje .wav, .mp3 oraz ogg/vorbis.
36
37 %prep
38 %setup -q -n %{name}-src-%{version}
39 %patch0 -p1
40 %patch1 -p1
41 %patch2 -p1
42 %patch3 -p1
43
44 %build
45 autoconf
46 %configure \
47         --with-vorbis \
48         --with-libmad
49 %{__make} CCC="g++ -fno-exceptions -fno-rtti"
50
51 %install
52 rm -rf $RPM_BUILD_ROOT
53 install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/%{name},%{_applnkdir}/Multimedia,%{_pixmapsdir}}
54
55 install %{SOURCE1} $RPM_BUILD_ROOT/%{_applnkdir}/Multimedia
56 install %{SOURCE2} $RPM_BUILD_ROOT/%{_pixmapsdir}
57
58 install audacity $RPM_BUILD_ROOT%{_bindir}
59 install audacity-help.htb $RPM_BUILD_ROOT%{_datadir}/%{name}
60
61 gzip -9nf README.txt LICENSE.txt
62
63 %clean
64 rm -rf $RPM_BUILD_ROOT
65
66 %files
67 %defattr(644,root,root,755)
68 %doc README.txt.gz LICENSE.txt.gz
69 %attr(755,root,root) %{_bindir}/audacity
70 %{_datadir}/%{name}/*
71 %{_applnkdir}/*/*
72 %{_pixmapsdir}/*
This page took 0.126324 seconds and 4 git commands to generate.