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

136 lines
4.7 KiB
RPMSpec
Raw Normal View History

#
# spec file for package audacity
#
Accepting request 109608 from home:RedDwarf:branches:multimedia:apps - Update to version 2.0.0 * Bug fixes for: - Interface: - Fixed playback speed and synchronization problems when dragging clips or tracks between tracks having different sample rates. - Imports and Exports: - Fixed crashes when changing the sample format of read-directly WAV or AIFF files using the Track Drop-Down Menu. - Fixed a crash importing MP3 files that had duplicate metadata tags (this is a bug in current libsndfile which has been patched in Audacity; MP3 files mislabeled as WAV which have duplicate tags will still crash Audacity on Linux if Audacity has been compiled against an affected version of system libsndfile). - Fixed an issue where excessively high or corrupted sample values in the audio could corrupt exports from the start of the problem for the rest of the file, and could corrupt the rest of the project. - Fixed Audacity could not be compiled against FFmpeg 0.7.x and 0.8.x. - Effects and Analysis: - Fixed crash on launch when using "Ambisonic Decoders (PC)" VST plug-ins and other plug-ins that enable additional floating point exceptions. - Fixed Plot Spectrum background could be transparent on some machines. - Bug fixes for Click Track, High Pass, Low Pass and Vocal Remover. - Chirp, Tone and Silence generators now remember their settings. - Other miscellaneous bug fixes. * Changes and Improvements: - New Interface preference to show the track name in the display (this is off by default). - Longer default Playback preference for effects preview and preview OBS-URL: https://build.opensuse.org/request/show/109608 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/audacity?expand=0&rev=60
2012-03-16 10:48:38 +01:00
# Copyright (c) 2012 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: desktop-file-utils
BuildRequires: gcc-c++
BuildRequires: hicolor-icon-theme
Accepting request 109608 from home:RedDwarf:branches:multimedia:apps - Update to version 2.0.0 * Bug fixes for: - Interface: - Fixed playback speed and synchronization problems when dragging clips or tracks between tracks having different sample rates. - Imports and Exports: - Fixed crashes when changing the sample format of read-directly WAV or AIFF files using the Track Drop-Down Menu. - Fixed a crash importing MP3 files that had duplicate metadata tags (this is a bug in current libsndfile which has been patched in Audacity; MP3 files mislabeled as WAV which have duplicate tags will still crash Audacity on Linux if Audacity has been compiled against an affected version of system libsndfile). - Fixed an issue where excessively high or corrupted sample values in the audio could corrupt exports from the start of the problem for the rest of the file, and could corrupt the rest of the project. - Fixed Audacity could not be compiled against FFmpeg 0.7.x and 0.8.x. - Effects and Analysis: - Fixed crash on launch when using "Ambisonic Decoders (PC)" VST plug-ins and other plug-ins that enable additional floating point exceptions. - Fixed Plot Spectrum background could be transparent on some machines. - Bug fixes for Click Track, High Pass, Low Pass and Vocal Remover. - Chirp, Tone and Silence generators now remember their settings. - Other miscellaneous bug fixes. * Changes and Improvements: - New Interface preference to show the track name in the display (this is off by default). - Longer default Playback preference for effects preview and preview OBS-URL: https://build.opensuse.org/request/show/109608 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/audacity?expand=0&rev=60
2012-03-16 10:48:38 +01:00
%define _use_internal_dependency_generator 0
%define __find_requires %wx_requires
BuildRequires: wxWidgets-devel
BuildRequires: pkgconfig(alsa)
BuildRequires: pkgconfig(expat)
BuildRequires: pkgconfig(flac)
BuildRequires: pkgconfig(flac++)
BuildRequires: pkgconfig(gtk+-2.0) >= 2.4.0
BuildRequires: pkgconfig(id3tag)
BuildRequires: pkgconfig(jack)
BuildRequires: pkgconfig(ogg)
BuildRequires: pkgconfig(shared-mime-info)
BuildRequires: pkgconfig(sndfile)
BuildRequires: pkgconfig(soundtouch)
BuildRequires: pkgconfig(vamp-hostsdk)
BuildRequires: pkgconfig(vorbis)
BuildRequires: pkgconfig(vorbisenc)
BuildRequires: pkgconfig(vorbisfile)
# This would require to patch our portaudio package with "PortMixer"... an extra API that never got integrated in PortAudio.
#BuildRequires: portaudio-devel
%if %{with ffmpeg}
BuildRequires: libffmpeg_oldabi-devel
%endif
%if %{with mad}
BuildRequires: pkgconfig(mad)
%endif
%if %{with twolame}
BuildRequires: pkgconfig(twolame)
%endif
Version: 2.0.2
Accepting request 109608 from home:RedDwarf:branches:multimedia:apps - Update to version 2.0.0 * Bug fixes for: - Interface: - Fixed playback speed and synchronization problems when dragging clips or tracks between tracks having different sample rates. - Imports and Exports: - Fixed crashes when changing the sample format of read-directly WAV or AIFF files using the Track Drop-Down Menu. - Fixed a crash importing MP3 files that had duplicate metadata tags (this is a bug in current libsndfile which has been patched in Audacity; MP3 files mislabeled as WAV which have duplicate tags will still crash Audacity on Linux if Audacity has been compiled against an affected version of system libsndfile). - Fixed an issue where excessively high or corrupted sample values in the audio could corrupt exports from the start of the problem for the rest of the file, and could corrupt the rest of the project. - Fixed Audacity could not be compiled against FFmpeg 0.7.x and 0.8.x. - Effects and Analysis: - Fixed crash on launch when using "Ambisonic Decoders (PC)" VST plug-ins and other plug-ins that enable additional floating point exceptions. - Fixed Plot Spectrum background could be transparent on some machines. - Bug fixes for Click Track, High Pass, Low Pass and Vocal Remover. - Chirp, Tone and Silence generators now remember their settings. - Other miscellaneous bug fixes. * Changes and Improvements: - New Interface preference to show the track name in the display (this is off by default). - Longer default Playback preference for effects preview and preview OBS-URL: https://build.opensuse.org/request/show/109608 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/audacity?expand=0&rev=60
2012-03-16 10:48:38 +01:00
Release: 0
Summary: A Free, Cross-Platform Digital Audio Editor
Accepting request 109608 from home:RedDwarf:branches:multimedia:apps - Update to version 2.0.0 * Bug fixes for: - Interface: - Fixed playback speed and synchronization problems when dragging clips or tracks between tracks having different sample rates. - Imports and Exports: - Fixed crashes when changing the sample format of read-directly WAV or AIFF files using the Track Drop-Down Menu. - Fixed a crash importing MP3 files that had duplicate metadata tags (this is a bug in current libsndfile which has been patched in Audacity; MP3 files mislabeled as WAV which have duplicate tags will still crash Audacity on Linux if Audacity has been compiled against an affected version of system libsndfile). - Fixed an issue where excessively high or corrupted sample values in the audio could corrupt exports from the start of the problem for the rest of the file, and could corrupt the rest of the project. - Fixed Audacity could not be compiled against FFmpeg 0.7.x and 0.8.x. - Effects and Analysis: - Fixed crash on launch when using "Ambisonic Decoders (PC)" VST plug-ins and other plug-ins that enable additional floating point exceptions. - Fixed Plot Spectrum background could be transparent on some machines. - Bug fixes for Click Track, High Pass, Low Pass and Vocal Remover. - Chirp, Tone and Silence generators now remember their settings. - Other miscellaneous bug fixes. * Changes and Improvements: - New Interface preference to show the track name in the display (this is off by default). - Longer default Playback preference for effects preview and preview OBS-URL: https://build.opensuse.org/request/show/109608 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/audacity?expand=0&rev=60
2012-03-16 10:48:38 +01:00
License: GPL-2.0+
Group: Productivity/Multimedia/Sound/Editors and Convertors
Accepting request 109608 from home:RedDwarf:branches:multimedia:apps - Update to version 2.0.0 * Bug fixes for: - Interface: - Fixed playback speed and synchronization problems when dragging clips or tracks between tracks having different sample rates. - Imports and Exports: - Fixed crashes when changing the sample format of read-directly WAV or AIFF files using the Track Drop-Down Menu. - Fixed a crash importing MP3 files that had duplicate metadata tags (this is a bug in current libsndfile which has been patched in Audacity; MP3 files mislabeled as WAV which have duplicate tags will still crash Audacity on Linux if Audacity has been compiled against an affected version of system libsndfile). - Fixed an issue where excessively high or corrupted sample values in the audio could corrupt exports from the start of the problem for the rest of the file, and could corrupt the rest of the project. - Fixed Audacity could not be compiled against FFmpeg 0.7.x and 0.8.x. - Effects and Analysis: - Fixed crash on launch when using "Ambisonic Decoders (PC)" VST plug-ins and other plug-ins that enable additional floating point exceptions. - Fixed Plot Spectrum background could be transparent on some machines. - Bug fixes for Click Track, High Pass, Low Pass and Vocal Remover. - Chirp, Tone and Silence generators now remember their settings. - Other miscellaneous bug fixes. * Changes and Improvements: - New Interface preference to show the track name in the display (this is off by default). - Longer default Playback preference for effects preview and preview OBS-URL: https://build.opensuse.org/request/show/109608 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/audacity?expand=0&rev=60
2012-03-16 10:48:38 +01:00
Url: http://audacity.sourceforge.net/
Source0: http://audacity.googlecode.com/files/audacity-minsrc-%{version}.tar.bz2
Source1: audacity-license-nyquist
# PATCH-FIX-OPENSUSE audacity-no_buildstamp.patch reddwarf@opensuse.org -- this patch removes the buildstamp
Patch0: audacity-no_buildstamp.patch
# About the access to the bug tracker: "Generally we restrict Bugzilla accounts to experienced C++ developers, or to very experienced Audacity bug watchers who want to test our nightly builds regularly."
# Being a packager, it seems, it's not enough. I am not even going to discuss that stupid politic
# PATCH-FIX-UPSTREAM audacity-2.0.2-docdir.patch email wrote to feedback@audacityteam.org reddwarf@opensuse.org -- make configure honor --docdir
Patch1: audacity-2.0.2-docdir.patch
# PATCH-FIX-UPSTREAM audacity-implicit.patch email wrote to feedback@audacityteam.org reddwarf@opensuse.org -- Include ctype.h since it uses isdigit()
Patch2: audacity-implicit.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Recommends: libmp3lame0
Recommends: libavformat52
Recommends: libavcodec52
Recommends: libavutil50
%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.
%prep
%setup -q -n audacity-src-%{version}
%patch0
%patch1
%patch2
cp %{SOURCE1} LICENSE_NYQUIST.txt
# Make sure we use the system versions
rm -r lib-src/libvamp/
%if %{with ffmpeg}
rm -r lib-src/ffmpeg/
%endif
%build
%configure --docdir=%{_defaultdocdir}/audacity/ \
%ifnarch %ix86 x86_64
--disable-sse
%endif
make %{?_smp_mflags}
%install
%make_install
# email wrote to feedback@audacityteam.org
mkdir -p %{buildroot}%{_datadir}/icons/hicolor/48x48/mimetypes/
mv %{buildroot}%{_datadir}/pixmaps/gnome-mime-application-x-audacity-project.xpm %{buildroot}%{_datadir}/icons/hicolor/48x48/mimetypes/application-x-audacity-project.xpm
rm -r %{buildroot}%{_datadir}/pixmaps
%find_lang %{name}
%post
%icon_theme_cache_post
%mime_database_post
%desktop_database_post
%postun
%desktop_database_postun
%mime_database_postun
%icon_theme_cache_postun
%files -f %{name}.lang
%defattr(-,root,root)
%doc LICENSE.txt README.txt LICENSE_NYQUIST.txt
%{_defaultdocdir}/audacity/
%{_mandir}/man1/audacity.1*
%{_bindir}/audacity
%{_datadir}/audacity/
%{_datadir}/applications/audacity.desktop
%{_datadir}/mime/packages/audacity.xml
%{_datadir}/icons/hicolor/*/apps/audacity.*
%{_datadir}/icons/hicolor/*/mimetypes/application-x-audacity-project.*
%changelog