SHA256
1
0
forked from pool/audacity
audacity/audacity.spec

448 lines
16 KiB
RPMSpec

#
# spec file for package audacity (Version 1.3.7)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
%bcond_with ffmpeg
%bcond_with mad
%bcond_with twolame
Name: audacity
BuildRequires: flac-devel gcc-c++ glib-devel jack-devel libexpat-devel
BuildRequires: libid3tag-devel libsamplerate-devel libsndfile-devel
BuildRequires: libvorbis-devel soundtouch-devel update-desktop-files
BuildRequires: wxGTK-devel
# Only needed because of internal PortAudio, why aren't we using the system version?
BuildRequires: alsa-devel
%if %{with ffmpeg}
BuildRequires: libffmpeg-devel
%endif
%if %{with mad}
BuildRequires: libmad-devel
%endif
%if %{with twolame}
BuildRequires: libtwolame-devel
%endif
Summary: A Free, Cross-Platform Digital Audio Editor
Version: 1.3.7
Release: 5
License: GPL v2 or later
Group: Productivity/Multimedia/Sound/Editors and Convertors
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Url: http://audacity.sourceforge.net/
Source: %{name}-minsrc-%{version}.tar.bz2
Source2: %{name}.png
#PATCH-FIX-OPENSUSE return_non_void.patch fixed non-void return value (bnc#477654)
Patch1: %{name}-%{version}-return_non_void.patch
Patch2: %{name}-%{version}-endian-fix.patch
Patch3: %{name}-%{version}-font-fix.patch
Patch5: %{name}-%{version}-retval.patch
Patch6: %{name}-%{version}-strict-aliasing.patch
#PATCH-FIX-UPSTREAM fix build issues when linked wxGTK configured with --enable-stl flag
Patch8: %{name}-%{version}-wxGTK_with_stl.patch
Patch9: %{name}-%{version}-modal-help-dialog.patch
Patch10: %{name}-%{version}-desktop_file.patch
Patch11: %{name}-%{version}-portaudio-non-mmap-alsa.patch
Patch12: %{name}-%{version}-audiodevdefaults.patch
%description
Audacity is a program that manipulates digital audio wave forms. In
addition to recording sounds directly from within the program, it
imports many sound file formats, including WAV, AIFF, AU, IRCAM, MP,
and Ogg Vorbis. With Audacity, you can edit wave data larger than the
physical memory size of your computer.
Authors:
--------
Dominic Mazzoni <dominic@minorninth.com>
Roger Dannenberg <rbd+@cs.cmu.edu>
Jason Cohen <cohen3+@andrew.cmu.edu>
Robert Leidle <rfl+@andrew.cmu.edu>
Mark Tomlinson <marktoml@hotmail.com>
Joshua Haberman <joshua@haberman.com>
Nasca Octavian Paul <paulnasca@email.ro>
Logan Lewis <proxima@proxc.com>
Matt Brubeck <mbrubeck@hmc.edu>
Mark Phillips <mitb@totaldeath.com>
Tony Oetzmann <airon@epost.de>
Harvey Lubin <agrapha@agrapha.com>
Tom Woodhams <tom@imaginemedia.co.uk>
%prep
%setup -q -n %{name}-src-%{version}
%patch1
%patch2
%patch3
%patch5
%patch6
%patch8
%patch9
%patch10
%patch11 -p1
%patch12 -p1
%build
%{?suse_update_config:%{suse_update_config -f . lib-src/*/.}}
export AUTOMAKE="automake --foreign"
%configure \
--enable-unicode \
--with-libvorbis=system \
%if %{with ffmpeg}
--with-ffmpeg=system \
%else
--without-ffmpeg \
%endif
%if %{with mad}
--with-libmad=system \
%else
--without-libmad \
%endif
%if %{with twolame}
--with-libtwolame=system \
%else
--without-libtwolame \
%endif
--with-libsndfile=system \
--with-libflac=system \
--with-libid3tag=system \
--with-libsamplerate=system \
--with-portaudio=v19
make %{?jobs:-j %jobs}
%install
make DESTDIR=$RPM_BUILD_ROOT install
%suse_update_desktop_file audacity
install -d -m755 $RPM_BUILD_ROOT%{_datadir}/pixmaps
install -m 644 %{SOURCE2} $RPM_BUILD_ROOT%{_datadir}/pixmaps
# we will add docs later in %files section
rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/audacity
%find_lang %{name}
%clean
rm -rf $RPM_BUILD_ROOT
%files -f %{name}.lang
%defattr(-,root,root)
%doc LICENSE.txt README.txt
%doc %{_mandir}/man?/*
%{_bindir}/audacity
%{_datadir}/audacity
%{_datadir}/applications/*.desktop
%{_datadir}/pixmaps/*.png
%{_datadir}/mime/packages/audacity.xml
%changelog
* Thu May 21 2009 cmorve69@yahoo.es
- Got portaudio-non-mmap-alsa.patch and audiodevdefaults.patch from
Fedora to allow it to work with PulseAudio
* Tue May 19 2009 cmorve69@yahoo.es
- Add alsa-devel BR to allow ALSA output
* Mon May 11 2009 cmorve69@yahoo.es
- removed unneeded BuildRequires
- make ffmpeg, mad and twolame support build options
- use upstream .desktop file
- do not force -fno-strict-aliasing since upstream already does
* Wed Apr 08 2009 mseben@suse.cz
- added wxGTK_with_stl.patch to fix build issues when linking wxGTK
configured with --enable-stl flag
* Mon Feb 23 2009 mseben@suse.cz
- added return_non_void.patch to fix non-void return value (bnc#477654)
* Mon Feb 02 2009 mseben@suse.cz
- updated to version 1.3.7
Bug Fixes:
* Muting/soloing caused incorrect channel results in exported
stereo files
* Nyquist effects: pasted unmodified audio into the result,
no progress bar, truncation of processed audio on cancel
* Noise Removal: pasted unmodified audio into the result, unwanted
filtering tail
* Uncompressed exports: export as WAV could be corrupted if
overwriting to same file, export multiple to uncompressed formats
only produced 16-bit WAV
* Compressed exports: MP3 exports now produce correct bit rate
mode, quality and length, with improved metadata visibility
in player applications, WMA exports containing metadata are now correct
* Restored support for multi-channel recording devices that can
record more than two channels using Audacity
* fixes for spurious clipping, label typing, no shortcuts after
running effects
* project rate now always changes to respect that of first imported file
New Features:
* F11 Full Screen mode, high-quality "Sliding Time Scale/Pitch Shift"
effect, Audio Contrast Analyzer
Other changes:
* As a first step towards improving latency correction, a fixed
rather than variable correction is now applied
* Numerous minor interface fixes and improvements
- obsolete *-compile.patch, *-locale.patch
* Mon Jan 12 2009 mseben@suse.cz
- fixed Khmer translation file (*-locale.patch)
- added array-delete.patch to fix array delete (bnc#442936)
- added transparent desktop icon (audacity.png)
- obsolete *-portaudio-shlib.patch, *-nosse.patch
* Thu Dec 11 2008 mseben@suse.cz
- updated to version 1.3.6
Interface:
* "Save Compressed Copy of Project" saves in much smaller .OGG
format to facilitate online transmission of projects
* Improved MIDI import and export routines, and clearer color
for selection region
* Default temporary directory on Mac now accessible in Finder
Import / Export:
* Stability improvements in on-demand loading
* FFmpeg: support for latest version of library, improved
version checks and error messages, stability improvements
in custom exporter
Bug Fixes:
* Crash in "Get Noise Profile" step of Noise Removal at project
rates below 20480 Hz.
* Underestimation of peak level in tracks with a small number
of different peaks
* Truncate Silence could result in repeated or lost audio if
applied to the whole of a track
* Other interface, generating, exporting and platform-specific
fixes
Compilation:
* Added autoconf macro archive to CVS, enabling *.nix users
without this archive to build --with -MIDI
- renamed *-modal-help-dialog.diff to *-modal-help-dialog.patch,
also changed for 1.3.6 tarball
- added libexpat-devel to BuildRequires (directory lib-src/expat
in tarball 1.3.6 no longer exists)
* Thu Nov 20 2008 tiwai@suse.de
- fix modal dialog with the help browser (bnc#440032)
* Wed May 28 2008 anosek@suse.cz
- updated to version 1.3.5
Recording / Playback
* Several bugs fixed so that latency correction should be better, and more devices work correctly.
* Problems with invalid sample rates under Linux should be much rarer.
* Newer version of Portaudio library.
* New feature to record onto the end of an existing track (hold Shift while clicking Record).
Import / Export
* Updated versions of Libogg, Libvorbis, Libflac, Libsndfile and Twolame libraries.
* Handling of unsupported file formats more informative.
* Handling of file names with slashes on OS X improved.
* New dialog allows replacement of illegal file name characters on all platforms.
Interface
* Improved scaling and layout for rulers and VU meters.
* Envelope fixes/improvements including full control of undo/redo.
* New keyboard shortcuts and improved menu navigation.
* Preferences:
o More intuitive tab arrangement.
o New options for mute/solo and Metadata Editor behavior.
o Language can now be changed without restart.
* Expanded Build Information tab.
Effects
* New Vocal Remover plug-in, improvements for Generate effects.
- dropped obsoleted patches (cflags.patch) (CVE-2007-6061.patch)
* Wed May 14 2008 schwab@suse.de
- Remove useless patch.
* Wed Apr 02 2008 anosek@suse.cz
- fixed Insecure symlink handling (bnc#344588) (CVE-2007-6061.patch)
- temp file is now created in users home directory
* Fri Jan 25 2008 adrian@suse.de
- remove mad-devel in BuildRequires to keep the package as part
of Factory
* Fri Jan 18 2008 anosek@suse.cz
- updated to version 1.3.4
New features
New Welcome Screen with introduction to Audacity.
New keyboard command: 'Mix and Render to New Track' (bound to Ctrl+Shift+M).
New keyboard shortcut: "Shift-A" starts playback when stopped, or performs "Stop and Select" when playing.
Added support for VAMP audio analysis plug-ins.
Solo button solos only one track at a time, and a track cannot be both mute and solo.
Interface
Keyboard shortcuts for making short/long jumps along the timeline.
Added 'Snap To' in the Selection Bar.
Made keyboard navigation easier when multiple menu items with the same first letter exist.
Enhanced interface for label editing.
Layout of OK/Cancel buttons consistency improved.
Preferences:
* "Select all audio in project, if none selected" (on by default).
* "Beep on completion of longer activities" (system bell, not main output).
* Other preferences cleaned up and explanations improved.
Envelopes: Many fixes when copying / pasting / repeating.
Many translation updates.
Track height fixed in several cases.
CleanSpeech mode switching without closing and re-opening fixed.
Opening/Saving Formats
Metadata editor added for OGG, FLAC and WAV/AIFF exports, and general improvements.
Metadata import improved.
Muted tracks are no longer audible in the exported mix.
Effects
Truncate Silence: support for multiple and stereo tracks.
Dtmf Generator:
* Added support for keypad letters.
* Added an amplitude control.
Compressor: variable decay time added.
Equalization:
* Clicks at start / end prevented.
* Improvements to saved curves being found.
* Preview works correctly.
'Merge' command appears in Undo history.
Clipping detected more reliably.
Nyquist plug-ins reviewed and enhanced.
Better (and more) progress bars.
Cancelling effect always restores previous audio.
Several improvement to effects in batch mode.
Recording/Playback
Improvements to latency correction.
Updated version of portaudio-v19 library.
Note that Help is no longer built in, but accessible on the Web via links in Audacity.
- dropped obsoleted patches:
* flac.patch - already in upstream
* equalization.patch - already in upstream
* build.patch
* hu_update.patch.bz2
- added patch to fix compilation errors (compile.patch)
* Wed Sep 19 2007 prusnak@suse.cz
- fix broken Equalization effect (equalization.patch) [#326217]
* Thu Aug 02 2007 anosek@suse.cz
- fixed Hungarian translation update [#295657] (hu_update.patch)
* Thu Jun 21 2007 sbrabec@suse.cz
- Build with system soundtouch.
- Build with jack support.
* Wed Jun 06 2007 sbrabec@suse.cz
- Removed invalid desktop Category "Application" (#254654).
* Tue May 29 2007 prusnak@suse.cz
- updated to 1.3.3
* added collapse/expand tracks
* multiple clips per track
* added selection bar
* improved label tracks
* better performance with large projects
* added transcription toolbar
* improved accessibility for the visually impaired
* added auto-save and automatic crash recovery
* added batch processing
* metadata may be added to OGG files
* EQ effect responsiveness improved
* new Auto Duck effect
* DTMF tone generator
- dropped obsoleted patches:
* ambigous.patch
* overflow-fix.patch (included in update)
* qualification.patch (included in update)
* wx-compat.patch
- added patches:
* flac.patch - adjust for new FLAC 1.1.4 API
* nosse.patch - don't try to use SSE on non-x86 archs
* Fri Apr 20 2007 schwab@suse.de
- Fix quoting in autoconf macros.
* Thu Aug 10 2006 anosek@suse.cz
- fixed build with new version of autotools (audacity-build.patch)
* Sun Feb 19 2006 stbinner@suse.de
- add GenericName to .desktop file
* Wed Feb 15 2006 sbrabec@suse.cz
- Build with portaudio19 (#151210).
* Mon Jan 30 2006 aj@suse.de
- Further fix to BuildRequires.
* Sun Jan 29 2006 aj@suse.de
- Fix buildrequires.
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Fri Dec 16 2005 sbrabec@suse.cz
- Returned back required wx-compat patch.
* Wed Dec 07 2005 sbrabec@suse.cz
- Updated to version 1.2.4b.
* Wed Nov 09 2005 sbrabec@suse.cz
- Strict aliasing fix.
* Tue Oct 25 2005 sbrabec@suse.cz
- Fixed extra qualification.
- Build with correct CFLAGS.
- Fixed random return values.
* Fri Oct 14 2005 sbrabec@suse.cz
- Disabled mad support.
* Fri Apr 15 2005 mcihar@suse.de
- add SDL-devel-packages because of wxGTK
* Thu Feb 17 2005 hvogel@suse.de
- mark as nosrc
* Tue Nov 23 2004 ro@suse.de
- fix build with current wxGTK
* Mon Nov 22 2004 mcihar@suse.cz
- update to 1.2.3
* Mon Sep 06 2004 mcihar@suse.cz
-fix build on 64-bit arches
* Fri Sep 03 2004 mcihar@suse.cz
- update to 1.2.2
* Thu Aug 05 2004 tiwai@suse.de
- updated to version 1.2.1.
- using wxGTK-compat library.
* Sun Mar 28 2004 tiwai@suse.de
- fixed the segfault at the start up (bug #34313)
- fixed the size of fonts for wxGTK with GTK-2.
- fixed possible buffer overflows.
- build with portaudio-v18, v19 seems problematic.
* Fri Mar 05 2004 tiwai@suse.de
- updated to version 1.2.0 final.
* Mon Feb 16 2004 tiwai@suse.de
- updated to version 1.2.0-pre4.
* Thu Jan 22 2004 tiwai@suse.de
- fixed the build with the latest autoconf.
* Wed Jan 14 2004 tiwai@suse.de
- updated to version 1.2.0-pre3.
- use portaudio v19 (shared lib).
* Tue Jan 13 2004 tiwai@suse.de
- fixed the neededforbuild for the latest wxGTK with gtk2.
* Sat Jan 10 2004 adrian@suse.de
- build as user
* Mon Sep 15 2003 tiwai@suse.de
- added desktop icon.
* Sun Sep 14 2003 adrian@suse.de
- add AudioVideoEditing Category
* Fri Aug 29 2003 tiwai@suse.de
- fixed the bug of WAVE display.
* Thu Aug 14 2003 tiwai@suse.de
- added desktop file.
* Mon Aug 11 2003 tiwai@suse.de
- updated to version 1.2.0-pre1.
- help file is installed under /usr/share/audacity.
* Thu Jul 03 2003 tiwai@suse.de
- fixed neededforbuild for the recent update of mad.
* Tue May 27 2003 ro@suse.de
- removed unpackaged files from buildroot
* Thu Mar 27 2003 tiwai@suse.de
- updated to version 1.1.3.
linked with libFLAC and libsamplerate.
* Tue Nov 26 2002 tiwai@suse.de
- updated to version 1.1.1.
- build with the system libsndfile since now audacity supports
libsndfile 1.0.
- enabled nyquist support.
* Fri Aug 30 2002 tiwai@suse.de
- updated to version 1.1.0 cvs 2002.08.30.
the 1.1.0 tarball version has a major bug regarding to project
file management (bug #18662). this version fixes the problem.
also, this one includes a help text, which wasn't there.
* Wed Jul 24 2002 tiwai@suse.de
- updated to version 1.1.0.
* Mon Jul 01 2002 tiwai@suse.de
- updated to the stable version 1.0.0-2.
* Wed Apr 17 2002 tiwai@suse.de
- fixed build with gcc-3.1.
* Wed Apr 10 2002 ro@suse.de
- work around autoconf problem: first AC_CHECK_HEADER
apparently has to be outside of an if ... fi block
* Fri Feb 01 2002 ro@suse.de
- changed neededforbuild <libpng> to <libpng-devel-packages>
* Fri Jan 25 2002 ro@suse.de
- added libpng,libjpeg,libtiff to neededforbuild
* Thu Jan 24 2002 tiwai@suse.de
- initial package version: 0.98.
- built with the shared id3lib.