audacity/audacity.spec

297 lines
9.8 KiB
RPMSpec

Name: audacity
Version: 2.4.0
Release: 2mamba
Epoch: 1
Summary: A free audio editor
Group: Graphical Desktop/Applications/Multimedia
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://audacity.sourceforge.net
Source: https://github.com/audacity/audacity.git/Audacity-%{version}/audacity-%{version}.tar.bz2
#Source: http://www.fosshub.com/Audacity.html/audacity-minsrc-%{version}.tar.xz
#Source: http://sourceforge.net/projects/audacity/files/audacity-minsrc-%{version}.tar.xz
#Source: http://www.fosshub.com/Audacity.html/audacity-minsrc-%{version}.tar.xz
Source1: audacity-desktop
Patch0: audacity-1.3.4-jack_default.patch
Patch1: audacity-1.3.8-gsocket.patch
Patch2: audacity-1.3.12-portmixer.patch
Patch3: audacity-1.3.12-playback_underrun.patch
Patch4: audacity-2.1.2-ffmpeg-3.0.patch
Patch5: audacity-2.1.2-gcc-6.1.0.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: ldconfig
BuildRequires: libalsa-devel
BuildRequires: libatk-devel
BuildRequires: libbzip2-devel
BuildRequires: libcairo-devel
BuildRequires: libexpat-devel
BuildRequires: libflac-devel
BuildRequires: libfreetype-devel
BuildRequires: libgcc
BuildRequires: libgdk-pixbuf-devel
BuildRequires: libglib-devel
BuildRequires: libgraphite2-devel
BuildRequires: libgtk-devel
BuildRequires: libharfbuzz-devel
BuildRequires: libid3tag-devel
BuildRequires: libjack-devel
BuildRequires: liblilv-devel
BuildRequires: libmad-devel
BuildRequires: libogg-devel
BuildRequires: libpango-devel
BuildRequires: libpcre-devel
BuildRequires: libpng-devel
BuildRequires: libserd-devel
BuildRequires: libsndfile-devel
BuildRequires: libsord-devel
BuildRequires: libsoundtouch-devel
BuildRequires: libsoxr-devel
BuildRequires: libsratom-devel
BuildRequires: libstdc++6-devel
BuildRequires: libsuil-devel
BuildRequires: libtwolame-devel
BuildRequires: libudev-devel
BuildRequires: libvamp-plugin-sdk-devel
BuildRequires: libvorbis-devel
BuildRequires: libwx_baseu-devel
BuildRequires: libwx_gtk3u-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
BuildRequires: libsoundtouch-devel >= 1.9.2-1mamba
BuildRequires: libwx_baseu-devel >= 3.1.3
BuildRequires: libwx_gtk3u-devel >= 3.1.3
BuildRequires: liblrdf-devel
BuildRequires: libraptor-devel
BuildRequires: librdf-devel
BuildRequires: gettext-devel >= 0.14.1
BuildRoot: %{_tmppath}/%{name}-%{version}-root
Requires: liblame
%description
Audacity is a free audio editor.
You can record sounds, play sounds, import and export WAV, AIFF, and MP3 files, and more.
Use it to edit your sounds using Cut, Copy and Paste (with unlimited Undo), mix tracks together, or apply effects to your recordings.
It also has a built-in amplitude envelope editor, a customizable spectrogram mode and a frequency analysis window for audio analysis applications.
Built-in effects include Bass Boost, Wahwah, and Noise Removal, and it also supports VST plug-in effects.
%debug_package
%prep
%setup -q -n audacity-%{version}
#cd lib-src/portmixer
#autoreconf
#cd ../..
%build
#export WX_CONFIG=/usr/bin/wx-config-unicode
WX_CONFIG=wx-config-unicode-3 ./configure \
--with-wx-version=3.1 \
--prefix=%{_prefix} \
--mandir=%{_mandir} \
--with-libsndfile="system" \
--with-ffmpeg="system" \
--with-expat="system" \
--with-lame="system" \
--with-libsoxr="system" \
--with-portaudio \
--with-portmidi \
--with-libflac \
--with-libid3tag \
--with-libsamplerate \
--with-sbsms \
--with-soundtouch \
--with-libtwolame \
--with-libvorbis \
--with-lv2 \
%ifnarch %{ix86} x86_64
--disable-sse \
%endif
%ifarch arm
LDFLAGS="-latomic -lavutil"
%endif
# --with-lib-preference="system local" \
# --with-ladspa \
# --with-portmixer \
# --with-portaudio=local \
# --with-libsamplerate \
# --enable-unicode \
# --without-ffmpeg \
# --without-portmixer \
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall \
INSTALL_PATH=%{buildroot} \
PACKAGE=audacity
#install -D -m 0755 %{SOURCE1} %{buildroot}%{_datadir}/applications/audacity.desktop
%find_lang %{name}
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files -f %{name}.lang
%defattr(-,root,root)
%{_bindir}/audacity
%{_datadir}/appdata/audacity.appdata.xml
%{_datadir}/applications/audacity.desktop
%dir %{_datadir}/audacity/include
%dir %{_datadir}/audacity/include/audacity
%{_datadir}/audacity/include/audacity/*.h
%{_datadir}/audacity/nyquist/*
%{_datadir}/audacity/EQDefaultCurves.xml
%{_datadir}/mime/packages/audacity.xml
%{_datadir}/icons/hicolor/*/apps/audacity.png
%{_datadir}/icons/hicolor/scalable/apps/audacity.svg
%{_datadir}/pixmaps/audacity*.xpm
%{_datadir}/pixmaps/gnome-mime-application-x-audacity-project.xpm
%{_datadir}/doc/audacity/*
%{_mandir}/man1/*
%changelog
* Mon May 18 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 2.4.0-2mamba
- rebuilt with required wx 3.1 version
* Sun May 17 2020 Automatic Build System <autodist@mambasoft.it> 2.4.0-1mamba
- automatic version update by autodist
* Fri Nov 22 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 2.3.3-1mamba
- update to 2.3.3
* Tue May 14 2019 Automatic Build System <autodist@mambasoft.it> 2.3.2-1mamba
- automatic version update by autodist
* Mon Mar 11 2019 Automatic Build System <autodist@mambasoft.it> 2.3.1-1mamba
- automatic version update by autodist
* Sat Nov 24 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 2.3.0-2mamba
- rebuilt
* Wed Oct 03 2018 Automatic Build System <autodist@mambasoft.it> 2.3.0-1mamba
- automatic version update by autodist
* Thu Feb 22 2018 Automatic Build System <autodist@mambasoft.it> 2.2.2-1mamba
- automatic version update by autodist
* Wed Dec 20 2017 Automatic Build System <autodist@mambasoft.it> 2.2.1-1mamba
- automatic version update by autodist
* Thu Dec 07 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 2.2.0-1mamba
- update to 2.2.0
* Tue May 30 2017 Automatic Build System <autodist@mambasoft.it> 2.1.3-1mamba
- automatic version update by autodist
* Mon Jun 13 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 2.1.2-2mamba
- rebuilt by autoport with build requirements: libsoundtouch-devel>=1.9.2-1mamba
* Sat Jan 23 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 2.1.2-1mamba
- update to 2.1.2
* Sat Jan 23 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 2.1.2-1mamba
- update to 2.1.2
* Sat Aug 08 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 2.1.1-1mamba
- update to 2.1.1
* Wed Apr 15 2015 Automatic Build System <autodist@mambasoft.it> 2.1.0-1mamba
- automatic version update by autodist
* Wed Oct 01 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.6-1mamba
- update to 2.0.6
* Tue Oct 22 2013 Automatic Build System <autodist@mambasoft.it> 2.0.5-1mamba
- automatic version update by autodist
* Sun Oct 20 2013 Automatic Build System <autodist@mambasoft.it> 2.0.4-1mamba
- automatic version update by autodist
* Fri Jan 25 2013 Automatic Build System <autodist@mambasoft.it> 2.0.3-1mamba
- update to 2.0.3
* Fri Aug 24 2012 Automatic Build System <autodist@mambasoft.it> 2.0.2-1mamba
- automatic version update by autodist
* Fri Jun 29 2012 Automatic Build System <autodist@mambasoft.it> 2.0.1-1mamba
- automatic version update by autodist
* Wed Mar 14 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.0-2mamba
- rebuilt after patching libportaudio with Pa_GetStreamHostApiType
* Wed Mar 14 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.0-1mamba
- update to 2.0.0
* Sat Aug 13 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.13-2mamba
- remove requirement for libgail-gnome with is obsolete in gnome 3.0
* Fri Jun 24 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.13-1mamba
- update to 1.3.13
* Sat Dec 04 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.12-2mamba
- rebuilt with portmixer support (added patch)
* Fri Nov 26 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.12-1mamba
- update to 1.3.12
* Thu Oct 15 2009 Automatic Build System <autodist@mambasoft.it> 1.3.9-1mamba
- automatic update to 1.3.9 by autodist
* Mon Aug 03 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.8-1mamba
- update to 1.3.8
- use internal icon in desktop file
* Thu Nov 13 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.6-1mamba
- update to 1.3.6
* Sat Jun 21 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.5-1mamba
- update to 1.3.5
* Mon Apr 07 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.4-3mamba
- added portaudio patch to enable jack by default
* Wed Feb 13 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.4-2mamba
- added requirement for liblame (mp3 export function)
* Mon Feb 11 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.4-1mamba
- update to 1.3.4
* Sun Sep 30 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.3-2mamba
- rebuilt against wxGTK 2.8
* Sat Jul 21 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.3-1mamba
- update to 1.3.3
* Mon Dec 04 2006 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.2-1qilnx
- update to version 1.3.2 by autospec
* Thu Nov 16 2006 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.6-1qilnx
- update to version 1.2.6 by autospec
* Mon Feb 27 2006 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.4b-1qilnx
- update to version 1.2.4b by autospec
- fixed KDE menu link
* Tue Jun 14 2005 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.0.cvs14062005-1qilnx
- update to version 1.3.0.cvs14062005 by autospec
* Tue Mar 29 2005 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.3-1qilnx
- update to version 1.2.3 by autospec
* Mon Sep 20 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.2-2qilnx
- fixed kde menu entry
* Fri Sep 10 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.2-1qilnx
- new version build
* Sat Feb 07 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.2pre2-1qilnx
- first build