]> git.pld-linux.org Git - packages/audacity.git/blob - audacity.spec
- added wx patch (missing include), release 4 for wx 2.6.0 (gtk1 dropped)
[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 Summary(ru):    Êðîññïëàòôîðìåííûé çâóêîâîé ðåäàêòîð
4 Name:           audacity
5 Version:        1.2.3
6 Release:        4
7 License:        GPL
8 Vendor:         Dominic Mazzoni <dominic@minorninth.com>
9 Group:          X11/Applications/Sound
10 Source0:        http://dl.sourceforge.net/audacity/%{name}-src-%{version}.tar.gz
11 # Source0-md5:  dbfc1b401420aa694753d35acb5a8a28
12 Source1:        %{name}.desktop
13 Source2:        %{name}-icon.png
14 Patch0:         %{name}-system-expat.patch
15 Patch1:         %{name}-not_require_lame-libs-devel.patch
16 Patch2:         %{name}-opt.patch
17 Patch3:         %{name}-wx.patch
18 URL:            http://audacity.sourceforge.net/
19 BuildRequires:  autoconf
20 BuildRequires:  automake
21 BuildRequires:  expat-devel
22 BuildRequires:  fftw-devel >= 2.1.4
23 BuildRequires:  flac-devel
24 BuildRequires:  gettext-devel
25 BuildRequires:  libid3tag-devel >= 0.15.0b-2
26 BuildRequires:  libjpeg-devel
27 BuildRequires:  libmad-devel >= 0.14.2b-4
28 BuildRequires:  libsamplerate-devel
29 BuildRequires:  libsndfile-devel
30 BuildRequires:  libstdc++-devel
31 BuildRequires:  libvorbis-devel >= 1:1.0
32 BuildRequires:  which
33 BuildRequires:  wxGTK2-devel >= 2.6.0
34 BuildRequires:  zip
35 Requires:       lame-libs
36 Requires:       libid3tag >= 0.15.0b-2
37 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
38
39 %description
40 Audacity is a program that lets you manipulate digital audio
41 waveforms. It imports many sound file formats, including WAV, AIFF,
42 AU, IRCAM, MP3, and Ogg Vorbis. It supports all common editing
43 operations such as Cut, Copy, and Paste, plus it will mix tracks and
44 let you apply plug-in effects to any part of a sound.
45
46 %description -l pl
47 Audacity to program obs³uguj±cy ró¿ne formaty plików audio. Obs³uguje
48 WAV, AIFF, AU, IRCAM, MP3, oraz Ogg Vorbis. Program ten umo¿liwia
49 wykonywanie podstawowych czynno¶ci edycyjnych takich jak kasowanie,
50 wstawianie i miksowanie ¶cie¿ki d¼wiêkowej. Umo¿liwia tak¿e
51 wykonywanie dowolnych innych operacji poprzez system wtyczek.
52
53 %description -l ru
54 Audacity - ýòî çâóêîâîé ðåäàêòîð, ïîçâîëÿþùèé ðàáîòàòü ñ ôàéëàìè â
55 ôîðìàòàõ WAV, AIFF, AU, IRCAM, MP3 è Ogg Vorbis. Â íåì ðåàëèçîâàíû âñå
56 îñíîâíûå îïåðàöèè, òàêèå êàê óäàëåíèå, êîïèðîâàíèå, âñòàâêà,
57 ìèêøèðîâàíèå òðåêîâ è ïðèìåíåíèå ýôôåêòîâ, îôîðìëåííûõ â âèäå
58 ïëàãèíîâ, ê ëþáîé ÷àñòè çâóêîâîãî ôàéëà.
59
60 %prep
61 %setup -q -n %{name}-src-%{version}
62 %patch0 -p1
63 %patch1 -p1
64 %patch2 -p1
65 %patch3 -p1
66
67 %build
68 cp -f /usr/share/automake/config.sub .
69 cp -f /usr/share/automake/config.sub lib-src/soundtouch/config
70 %{__autoconf}
71 export WX_CONFIG="`which wx-gtk2-ansi-config`"
72 %configure \
73         --with-help \
74         --with-id3tag=system \
75         --with-libmad=system \
76         --with-libsamplerate=system \
77         --with-libsndfile=system \
78         --with-libflac=system \
79         --with-vorbis=system
80
81 %{__make} \
82         CCC="%{__cxx} -fno-rtti" \
83         OPTFLAGS="%{rpmcflags}"
84
85 %install
86 rm -rf $RPM_BUILD_ROOT
87 install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
88
89 %{__make} install \
90         DESTDIR=$RPM_BUILD_ROOT \
91         INSTALL_PATH=$RPM_BUILD_ROOT
92
93 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
94 install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
95
96 %find_lang %{name}
97
98 %clean
99 rm -rf $RPM_BUILD_ROOT
100
101 %files -f %{name}.lang
102 %defattr(644,root,root,755)
103 %doc README.txt
104 %attr(755,root,root) %{_bindir}/audacity
105 %{_datadir}/%{name}
106 %{_mandir}/man1/*.1*
107 %{_desktopdir}/*
108 %{_pixmapsdir}/*
This page took 0.178256 seconds and 4 git commands to generate.