audacity/audacity.spec

230 lines
7.6 KiB
RPMSpec
Raw Normal View History

Name: audacity
Version: 2.1.2
Release: 1mamba
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
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libalsa-devel
BuildRequires: libatk-devel
BuildRequires: libcairo-devel
BuildRequires: libexpat-devel
BuildRequires: libflac-devel
BuildRequires: libfontconfig-devel
BuildRequires: libfreetype-devel
BuildRequires: libgcc
BuildRequires: libgdk-pixbuf-devel
BuildRequires: libglib-devel
BuildRequires: libgtk2-devel
BuildRequires: libid3tag-devel
BuildRequires: libjack-devel
BuildRequires: liblame-devel
BuildRequires: libmad-devel
BuildRequires: libogg-devel
BuildRequires: libpango-devel
BuildRequires: libsamplerate-devel
BuildRequires: libsndfile-devel
BuildRequires: libsoundtouch-devel
BuildRequires: libstdc++6-devel
BuildRequires: libtwolame-devel
BuildRequires: libvorbis-devel
BuildRequires: libwxBase-unicode-devel
BuildRequires: libwxGTK-unicode-devel
## AUTOBUILDREQ-END
BuildRequires: libwx_baseu-devel
BuildRequires: libwx_gtk3u-devel
BuildRequires: liblrdf-devel
BuildRequires: libraptor-devel
BuildRequires: librdf-devel
BuildRequires: libsoundtouch-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.
%prep
%setup -q -n audacity-%{version}
#%patch0 -p1
#%patch1 -p1
#%patch2 -p0
#%patch3 -p1
#cd lib-src/portmixer
#autoreconf
#cd ../..
%build
#export WX_CONFIG=/usr/bin/wx-config-unicode
./configure \
--with-wx-version=3.0 \
--prefix=%{_prefix} \
--mandir=%{_mandir} \
--with-lib-preference="system local" \
--with-ladspa \
--with-portmixer \
--with-libsamplerate \
--enable-unicode \
%ifnarch %{ix86} x86_64
--disable-sse
%endif
# --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/plug-ins/*
%{_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
* 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