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