]> git.pld-linux.org Git - packages/audacity.git/blob - audacity.spec
- updated to final 1.0.0 (latest stable version)
[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.0.0
5 Release:        1
6 License:        GPL
7 Vendor:         Dominic Mazzoni <dominic@minorninth.com>
8 Group:          X11/Applications/Multimedia
9 Source0:        ftp://ftp.sourceforge.net/pub/sourceforge/%{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 URL:            http://audacity.sourceforge.net/
16 BuildRequires:  id3lib-devel
17 BuildRequires:  libjpeg-devel
18 BuildRequires:  libpng-devel
19 BuildRequires:  libstdc++-devel
20 BuildRequires:  libtiff-devel
21 BuildRequires:  libvorbis-devel >= 1:1.0
22 BuildRequires:  mad-devel
23 BuildRequires:  wxGTK-devel >= 2.3.2-10
24 Requires:       lame-libs
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
43 %build
44 %{__autoconf}
45 %configure \
46         --with-id3 \
47         --with-libmad \
48         --with-vorbis
49
50 %{__make} CCC="g++ -fno-exceptions -fno-rtti"
51
52 %install
53 rm -rf $RPM_BUILD_ROOT
54 install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/%{name},%{_applnkdir}/Multimedia,%{_pixmapsdir}}
55
56 install %{SOURCE1} $RPM_BUILD_ROOT/%{_applnkdir}/Multimedia
57 install %{SOURCE2} $RPM_BUILD_ROOT/%{_pixmapsdir}
58
59 install audacity $RPM_BUILD_ROOT%{_bindir}
60 install audacity-help.htb $RPM_BUILD_ROOT%{_datadir}/%{name}
61
62 %clean
63 rm -rf $RPM_BUILD_ROOT
64
65 %files
66 %defattr(644,root,root,755)
67 %doc README.txt
68 %attr(755,root,root) %{_bindir}/audacity
69 %{_datadir}/%{name}
70 %{_applnkdir}/*/*
71 %{_pixmapsdir}/*
This page took 0.041805 seconds and 4 git commands to generate.