audacity/audacity.spec

299 lines
10 KiB
RPMSpec
Raw Permalink Normal View History

Name: audacity
Version: 3.0.2
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: https://www.audacityteam.org/
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
Patch6: audacity-2.4.2-x86-sse-build-fix.patch
Patch7: audacity-3.0.2-gcc-11.1.0.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libalsa-devel
BuildRequires: libatk-devel
BuildRequires: libatomic-devel
BuildRequires: libcairo-devel
BuildRequires: libexpat-devel
BuildRequires: libflac-devel
BuildRequires: libgcc
BuildRequires: libgdk-pixbuf-devel
BuildRequires: libglib-devel
BuildRequires: libgtk3-devel
BuildRequires: libharfbuzz-devel
BuildRequires: libid3tag-devel
BuildRequires: liblilv-devel
BuildRequires: libmad-devel
BuildRequires: libogg-devel
BuildRequires: libpango-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: 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.5
BuildRequires: libwx_gtk3u-devel >= 3.1.5
BuildRequires: liblrdf-devel
BuildRequires: libraptor-devel
BuildRequires: librdf-devel
BuildRequires: gettext-devel >= 0.14.1
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
#-D -T
#:<< _EOF
%global __provides_exclude_from ^%{_libdir}/audacity/.*$
#%ifarch %{ix86}
#%patch6 -p1
#%endif
%patch7 -p1
# Disable check for wxWidget audacity fork
sed -i "s|NOT ours|0|" cmake-proxies/wxWidgets/CMakeLists.txt
%build
#:<< _EOF
%cmake -d build \
-DwxWidgets_CONFIG_EXECUTABLE=/usr/bin/wx-config-unicode-3 \
-Daudacity_use_sqlite=local \
-Daudacity_use_sndfile=system \
-Daudacity_use_soxr=system \
-Daudacity_use_lame=system \
-Daudacity_use_twolame=system \
-Daudacity_use_flac=system \
-Daudacity_use_ladspa=on \
-Daudacity_use_vorbis=system \
-Daudacity_use_id3tag=system \
-Daudacity_use_expat=system \
-Daudacity_use_soundtouch=system \
-Daudacity_use_vamp=system \
-Daudacity_use_lv2=system \
-Daudacity_use_portaudio=local \
-Daudacity_use_midi=system \
-Daudacity_use_ogg=system \
-Daudacity_use_ffmpeg=loaded
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
# remove internally installed wxwidgets libraries
rm -rf %{buildroot}%{_libdir}/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
%{_datadir}/mime/packages/audacity.xml
%dir %{_datadir}/audacity/modules
%{_datadir}/audacity/modules/mod-*.so
%dir %{_datadir}/audacity/plug-ins
%{_datadir}/audacity/plug-ins/*.ny
%{_datadir}/audacity/nyquist/*
%{_datadir}/audacity/EQDefaultCurves.xml
%{_datadir}/icons/hicolor/*/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
* Sat Jul 10 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 3.0.2-2mamba
- rebuilt with official wxWidgets 3.1.5
* Tue Apr 20 2021 Automatic Build System <autodist@mambasoft.it> 3.0.2-1mamba
- automatic version update by autodist
* Sun Mar 21 2021 Automatic Build System <autodist@mambasoft.it> 3.0.0-1mamba
- automatic version update by autodist
* Sun Jun 28 2020 Automatic Build System <autodist@mambasoft.it> 2.4.2-1mamba
- automatic version update by autodist
* Thu May 21 2020 Automatic Build System <autodist@mambasoft.it> 2.4.1-1mamba
- automatic version update by autodist
* 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