]> git.pld-linux.org Git - packages/audacity.git/blob - audacity.spec
- use http for sources on sourceforge
[packages/audacity.git] / audacity.spec
1 Summary:        Audacity - manipulate digital audio waveforms
2 Summary(pl):    Audacity - narzêdzie do obróbki plików d¼wiêkowych
3 Name:           audacity
4 Version:        1.1.1
5 %define subv    3
6 Release:        1
7 License:        GPL
8 Vendor:         Dominic Mazzoni <dominic@minorninth.com>
9 Group:          X11/Applications/Sound
10 Source0:        http://dl.sourceforge.net/%{name}/%{name}-src-%{version}-%{subv}.tgz
11 Source1:        %{name}.desktop
12 Source2:        %{name}-icon.png
13 Patch0:         %{name}-system-expat.patch
14 Patch1:         %{name}-helpfile_location.patch
15 Patch2:         %{name}-not_require_lame-libs-devel.patch
16 Patch3:         %{name}-opt.patch
17 Patch4:         %{name}-segv.patch
18 URL:            http://audacity.sourceforge.net/
19 BuildRequires:  autoconf
20 BuildRequires:  expat-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:  wxGTK-devel >= 2.3.2-10
27 Requires:       lame-libs
28 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29
30 %description
31 Audacity is a program that manipulates digital audio waveforms.
32 Supports wav, mp3 and ogg/vorbis.
33
34 %description -l pl
35 Audacity to program obs³uguj±cy ró¿ne formaty dzwiêku cyfrowego.
36 Obs³uguje .wav, .mp3 oraz ogg/vorbis.
37
38 %prep
39 %setup -q -n %{name}-src-%{version}-%{subv}
40 %patch0 -p1
41 %patch1 -p1
42 %patch2 -p1
43 %patch3 -p1
44 %patch4 -p1
45
46 %build
47 %{__autoconf}
48 %configure \
49         --with-id3tag=system \
50         --with-libmad=system \
51         --with-libsndfile=system \
52         --with-vorbis=system
53
54 %{__make} \
55         CCC="%{__cxx} -fno-exceptions -fno-rtti" \
56         OPTFLAGS="%{rpmcflags}"
57
58 %install
59 rm -rf $RPM_BUILD_ROOT
60 install -d $RPM_BUILD_ROOT{%{_applnkdir}/Multimedia,%{_pixmapsdir}}
61
62 %{__make} install \
63         PREFIX=$RPM_BUILD_ROOT%{_prefix}
64
65 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Multimedia
66 install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
67
68 # not built in this version
69 #install audacity-help.htb $RPM_BUILD_ROOT%{_datadir}/%{name}
70
71 %find_lang %{name}
72
73 %clean
74 rm -rf $RPM_BUILD_ROOT
75
76 %files -f %{name}.lang
77 %defattr(644,root,root,755)
78 %doc README.txt
79 %attr(755,root,root) %{_bindir}/audacity
80 %{_datadir}/%{name}
81 %{_mandir}/man1/*.1*
82 %{_applnkdir}/*/*
83 %{_pixmapsdir}/*
This page took 0.138885 seconds and 4 git commands to generate.