]> git.pld-linux.org Git - packages/audacity.git/blobdiff - audacity.spec
- up to 1.2.4b
[packages/audacity.git] / audacity.spec
index 1635b531df7f98ba72641f17ba269ab8958e7c68..7bbba5c8f50d2ee90a8e3e36f4ea04dcffd6bd8a 100644 (file)
@@ -1,27 +1,23 @@
-#
-# Conditional build:
-%bcond_with gtk1       # use wxGTK instead of wxGTK2
-#
 Summary:       Audacity - manipulate digital audio waveforms
 Summary(pl):   Audacity - narzêdzie do obróbki plików d¼wiêkowych
 Summary(ru):   Êðîññïëàòôîðìåííûé çâóêîâîé ðåäàêòîð
 Name:          audacity
-Version:       1.2.0
-%define                _pre pre2
-Release:       0.%{_pre}.1
+Version:       1.2.4b
+Release:       1
 License:       GPL
 Vendor:                Dominic Mazzoni <dominic@minorninth.com>
 Group:         X11/Applications/Sound
-Source0:       http://dl.sourceforge.net/sourceforge/%{name}/%{name}-src-%{version}-%{_pre}.tar.bz2
-# Source0-md5: 4cb15dbb0b8d295c4bd205d089a91a48
+Source0:       http://dl.sourceforge.net/audacity/%{name}-src-%{version}.tar.gz
+# Source0-md5: 37df5b6119302f7ab77ca16d25311756
 Source1:       %{name}.desktop
 Source2:       %{name}-icon.png
 Patch0:                %{name}-system-expat.patch
-Patch1:                %{name}-helpfile_location.patch
-Patch2:                %{name}-not_require_lame-libs-devel.patch
-Patch3:                %{name}-opt.patch
+Patch1:                %{name}-not_require_lame-libs-devel.patch
+Patch2:                %{name}-opt.patch
+Patch3:                %{name}-types.patch
 URL:           http://audacity.sourceforge.net/
 BuildRequires: autoconf
+BuildRequires: automake
 BuildRequires: expat-devel
 BuildRequires: fftw-devel >= 2.1.4
 BuildRequires: flac-devel
@@ -33,8 +29,8 @@ BuildRequires:        libsamplerate-devel
 BuildRequires: libsndfile-devel
 BuildRequires: libstdc++-devel
 BuildRequires: libvorbis-devel >= 1:1.0
-%{?with_gtk1:BuildRequires:    wxGTK-devel >= 2.4.0}
-%{?without_gtk1:BuildRequires: wxGTK2-devel >= 2.4.0}
+BuildRequires: which
+BuildRequires: wxGTK2-devel >= 2.6.0
 BuildRequires: zip
 Requires:      lame-libs
 Requires:      libid3tag >= 0.15.0b-2
@@ -62,15 +58,17 @@ Audacity - 
 ïëàãèíîâ, ê ëþáîé ÷àñòè çâóêîâîãî ôàéëà.
 
 %prep
-%setup -q -n %{name}-src-%{version}-%{_pre}
+%setup -q -n %{name}-src-%{version}
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
 %patch3 -p1
 
 %build
+cp -f /usr/share/automake/config.sub .
+cp -f /usr/share/automake/config.sub lib-src/soundtouch/config
 %{__autoconf}
-export WX_CONFIG="`which wxgtk%{!?_with_gtk1:2}-2.4-config`"
+export WX_CONFIG="`which wx-gtk2-ansi-config`"
 %configure \
        --with-help \
        --with-id3tag=system \
@@ -81,7 +79,6 @@ export WX_CONFIG="`which wxgtk%{!?_with_gtk1:2}-2.4-config`"
        --with-vorbis=system
 
 %{__make} \
-       CCC="%{__cxx} -fno-rtti" \
        OPTFLAGS="%{rpmcflags}"
 
 %install
@@ -95,7 +92,7 @@ install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
 install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
 
-install audacity-1.2-help.htb $RPM_BUILD_ROOT%{_datadir}/%{name}
+mv -f $RPM_BUILD_ROOT%{_datadir}/locale/{zh,zh_CN}
 
 %find_lang %{name}
 
This page took 0.087585 seconds and 4 git commands to generate.