|
|
bdc207a |
Name: audacity
|
|
|
77ba62c |
Version: 1.3.2
|
|
|
2c2058a |
Release: 1%{?dist}
|
|
|
bdc207a |
Summary: A multitrack audio editor
|
|
|
bdc207a |
|
|
|
bdc207a |
Group: Applications/Multimedia
|
|
|
bdc207a |
License: GPL
|
|
|
bdc207a |
URL: http://audacity.sourceforge.net
|
|
|
77ba62c |
Source: http://dl.sf.net/sourceforge/audacity/audacity-src-1.3.2.tar.gz
|
|
|
bdc207a |
Source1: audacity.png
|
|
|
77ba62c |
Patch4: audacity-1.3.2-destdir.patch
|
|
|
37f2430 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
bdc207a |
BuildRequires: libogg-devel
|
|
|
bdc207a |
BuildRequires: libvorbis-devel
|
|
|
bdc207a |
BuildRequires: zlib-devel
|
|
|
bdc207a |
BuildRequires: perl
|
|
|
bdc207a |
BuildRequires: gettext
|
|
|
bdc207a |
BuildRequires: zip
|
|
|
bdc207a |
BuildRequires: flac-devel
|
|
|
bdc207a |
BuildRequires: ladspa-devel
|
|
|
bdc207a |
BuildRequires: libsamplerate-devel
|
|
|
bdc207a |
BuildRequires: libsndfile-devel
|
|
|
bdc207a |
BuildRequires: libid3tag-devel
|
|
|
bdc207a |
BuildRequires: desktop-file-utils
|
|
|
77ba62c |
BuildRequires: wxGTK2-devel
|
|
|
77ba62c |
Requires(post): shared-mime-info, desktop-file-utils
|
|
|
77ba62c |
Requires(postun): shared-mime-info, desktop-file-utils
|
|
|
021b88b |
|
|
|
021b88b |
# Compile options:
|
|
|
021b88b |
# --with mp3 : enable mp3 support
|
|
|
021b88b |
# --with portaudiov19 : enable version 19 of portaudio (disables portmixer)
|
|
|
021b88b |
|
|
cvsextras |
28e0689 |
|
|
cvsextras |
28e0689 |
%description
|
|
cvsextras |
28e0689 |
Audacity is a cross-platform multitrack audio editor. It allows you to
|
|
cvsextras |
28e0689 |
record sounds directly or to import Ogg, WAV, AIFF, AU, IRCAM, or MP3
|
|
cvsextras |
28e0689 |
files. It features a few simple effects, all of the editing features
|
|
cvsextras |
28e0689 |
you should need, and unlimited undo. The GUI was built with wxWindows
|
|
cvsextras |
28e0689 |
and the audio I/O currently uses OSS under Linux. Audacity runs on
|
|
cvsextras |
28e0689 |
Linux/*BSD, MacOS, and Windows.
|
|
cvsextras |
28e0689 |
|
|
cvsextras |
28e0689 |
%prep
|
|
|
77ba62c |
%setup -q -n %{name}-src-%{version}-beta
|
|
|
77ba62c |
%patch4 -p1 -b .destdir
|
|
cvsextras |
28e0689 |
cp -a src/Languages.cpp src/Languages.cpp.orig
|
|
cvsextras |
28e0689 |
iconv -f ISO_8859-1 -t UTF-8 src/Languages.cpp.orig > src/Languages.cpp
|
|
cvsextras |
28e0689 |
for i in help/wxhelp/audacity.hhk help/wxhelp/exportmp3.htm locale/*.po src/export/ExportMP3.cpp
|
|
cvsextras |
28e0689 |
do
|
|
|
e696c74 |
perl -pi -e 's!libmp3lame.so([^.0-9]+)!libmp3lame.so.0$1!g' $i
|
|
cvsextras |
28e0689 |
done
|
|
|
2c2058a |
%ifarch %{ix86} x86_64
|
|
|
2c2058a |
perl -pi -e 's|^CXXFLAGS =|CXXFLAGS = -msse |' lib-src/soundtouch/source/SoundTouch/Makefile.in
|
|
|
2c2058a |
%else
|
|
|
2c2058a |
perl -pi -e 's|.define ALLOW_SSE.*||' lib-src/soundtouch/include/*.h
|
|
|
240c82e |
%endif
|
|
cvsextras |
28e0689 |
|
|
|
1a421ba |
|
|
|
77ba62c |
%build
|
|
|
021b88b |
%configure --with-help --with-libsndfile=system --with-libsamplerate=system --with-libflac=system --with-ladspa --with-vorbis=system --with-id3tag=system %{?_with_mp3:--with-libmad=system} %{?_with_portaudiov19:--with-portaudio=v19 --without-portmixer}
|
|
cvsextras |
28e0689 |
make
|
|
cvsextras |
28e0689 |
|
|
|
77ba62c |
|
|
cvsextras |
28e0689 |
%install
|
|
cvsextras |
28e0689 |
rm -rf ${RPM_BUILD_ROOT}
|
|
cvsextras |
28e0689 |
make DESTDIR=${RPM_BUILD_ROOT} install
|
|
cvsextras |
28e0689 |
mkdir -p $RPM_BUILD_ROOT%{_datadir}/pixmaps
|
|
cvsextras |
28e0689 |
cp %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/pixmaps
|
|
cvsextras |
28e0689 |
|
|
cvsextras |
28e0689 |
cat > audacity.desktop <
|
|
cvsextras |
28e0689 |
[Desktop Entry]
|
|
|
021b88b |
Name=Audacity
|
|
|
021b88b |
GenericName=Sound editor
|
|
cvsextras |
28e0689 |
Type=Application
|
|
cvsextras |
28e0689 |
Exec=audacity
|
|
cvsextras |
28e0689 |
Icon=audacity.png
|
|
cvsextras |
28e0689 |
Terminal=false
|
|
cvsextras |
28e0689 |
Comment=A multitrack audio editor
|
|
cvsextras |
28e0689 |
Encoding=UTF-8
|
|
|
021b88b |
X-Desktop-File-Install-Version=0.4
|
|
|
77ba62c |
MimeType=audio/x-wav;application/ogg;audio/x-aiff;audio/x-aiffc;audio/x-aifc;audio/basic;application/x-audacity-project;
|
|
cvsextras |
28e0689 |
StartupWMClass=Audacity
|
|
cvsextras |
28e0689 |
EOF
|
|
|
77ba62c |
rm -f $RPM_BUILD_ROOT%{_datadir}/applications/*
|
|
|
77ba62c |
desktop-file-install \
|
|
|
77ba62c |
--vendor fedora \
|
|
cvsextras |
28e0689 |
--add-category Application \
|
|
cvsextras |
28e0689 |
--add-category GNOME \
|
|
cvsextras |
28e0689 |
--add-category AudioVideo \
|
|
cvsextras |
28e0689 |
--dir $RPM_BUILD_ROOT%{_datadir}/applications \
|
|
cvsextras |
28e0689 |
audacity.desktop
|
|
cvsextras |
28e0689 |
|
|
cvsextras |
28e0689 |
%{find_lang} %{name}
|
|
cvsextras |
28e0689 |
|
|
|
77ba62c |
|
|
cvsextras |
28e0689 |
%clean
|
|
cvsextras |
28e0689 |
rm -rf ${RPM_BUILD_ROOT}
|
|
cvsextras |
28e0689 |
|
|
|
77ba62c |
|
|
|
021b88b |
%post
|
|
|
77ba62c |
%{_bindir}/update-mime-database %{_datadir}/mime > /dev/null 2>&1 || :
|
|
|
77ba62c |
%{_bindir}/update-desktop-database /usr/share/applications > /dev/null 2>&1 || :
|
|
|
77ba62c |
|
|
|
021b88b |
|
|
|
021b88b |
%postun
|
|
|
77ba62c |
%{_bindir}/update-mime-database %{_datadir}/mime > /dev/null 2>&1 || :
|
|
|
77ba62c |
%{_bindir}/update-desktop-database /usr/share/applications > /dev/null 2>&1 || :
|
|
|
77ba62c |
|
|
|
021b88b |
|
|
cvsextras |
28e0689 |
%files -f %{name}.lang
|
|
cvsextras |
28e0689 |
%defattr(-,root,root,-)
|
|
cvsextras |
28e0689 |
%{_bindir}/*
|
|
cvsextras |
28e0689 |
%{_datadir}/audacity
|
|
|
77ba62c |
%{_mandir}/man*/*
|
|
cvsextras |
28e0689 |
%{_datadir}/applications/*
|
|
cvsextras |
28e0689 |
%{_datadir}/pixmaps/*
|
|
|
77ba62c |
%{_datadir}/mime/packages/*
|
|
cvsextras |
28e0689 |
%doc %{_datadir}/doc/*
|
|
cvsextras |
28e0689 |
|
|
cvsextras |
28e0689 |
%changelog
|
|
|
77ba62c |
* Fri Jan 5 2007 Gerard Milmeister <gemi@bluewin.ch> - 1.3.2-1
|
|
|
77ba62c |
- new version 1.3.2
|
|
|
77ba62c |
|
|
|
2c2058a |
* Tue Jan 2 2007 Gerard Milmeister <gemi@bluewin.ch> - 1.2.6-1
|
|
|
2c2058a |
- new version 1.2.6
|
|
|
2c2058a |
|
|
|
7a9e022 |
* Sat Nov 11 2006 Gerard Milmeister <gemi@bluewin.ch> - 1.2.5-3
|
|
|
7a9e022 |
- correct mime types in .desktop file
|
|
|
214c621 |
- msse flag only on intel
|
|
|
214c621 |
|
|
|
240c82e |
* Fri Nov 3 2006 Gerard Milmeister <gemi@bluewin.ch> - 1.2.5-2
|
|
|
240c82e |
- remove -msse flag for ppc
|
|
|
240c82e |
|
|
|
bdc207a |
* Fri Nov 3 2006 Gerard Milmeister <gemi@bluewin.ch> - 1.2.5-1
|
|
|
bdc207a |
- new version 1.2.5
|
|
|
bdc207a |
|
|
|
1f6c29d |
* Mon Aug 28 2006 Gerard Milmeister <gemi@bluewin.ch> - 1.2.4-0.2.b
|
|
|
1f6c29d |
- Rebuild for FE6
|
|
|
1f6c29d |
|
|
|
1a421ba |
* Fri Mar 17 2006 Michael Schwendt <mschwendt[AT]users.sf.net> - 1.2.4-0.1.b
|
|
|
1a421ba |
- Update to 1.2.4b (stable release).
|
|
|
1a421ba |
- Follow upstream recommendation and use the GTK+ 1.x wxGTK.
|
|
|
1a421ba |
This is because of various issues with fonts/layout/behaviour.
|
|
|
1a421ba |
- Build with compat-wxGTK-devel.
|
|
|
1a421ba |
- Modify build section to find wx-2.4-config instead of wx-config.
|
|
|
1a421ba |
|
|
|
731a1f7 |
* Fri May 20 2005 David Woodhouse <dwmw2@infradead.org> - 1.2.3-5
|
|
|
731a1f7 |
- Bump release number again due to spurious build system failure and
|
|
|
731a1f7 |
the fact that the build system seems to be ignoring repeated build
|
|
|
731a1f7 |
requests for the previous version.
|
|
|
731a1f7 |
|
|
|
910c558 |
* Fri May 20 2005 David Woodhouse <dwmw2@infradead.org> - 1.2.3-4
|
|
|
910c558 |
- Add more possible MIME types for ogg which may be seen even though
|
|
|
910c558 |
they're not standard.
|
|
|
910c558 |
|
|
|
e696c74 |
* Thu Apr 7 2005 Gerard Milmeister <gemi@bluewin.ch> - 1.2.3-3
|
|
|
e696c74 |
- Build gtk2 version by default
|
|
|
e696c74 |
|
|
|
ca71fc1 |
* Fri Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
|
|
|
ca71fc1 |
- rebuilt
|
|
|
ca71fc1 |
|
|
|
e9494d9 |
* Tue Apr 5 2005 Gerard Milmeister <gemi@bluewin.ch> - 1.2.3-2
|
|
|
e9494d9 |
- Rebuild to pick a new FLAC dependencies
|
|
|
e9494d9 |
|
|
|
021b88b |
* Sat Nov 20 2004 Gerard Milmeister <gemi@bluewin.ch> - 0:1.2.3-1
|
|
|
021b88b |
- New Version 1.2.3
|
|
|
021b88b |
|
|
|
021b88b |
* Sat Oct 30 2004 Michael Schwendt <mschwendt[AT]users.sf.net> - 0:1.2.2-0.fdr.1
|
|
|
4142a23 |
- Update to 1.2.2, patch aboutdialog to be readable with wxGTK.
|
|
|
4142a23 |
|
|
cvsextras |
28e0689 |
* Mon May 10 2004 Gerard Milmeister <gemi@bluewin.ch> - 0:1.2.1-0.fdr.1
|
|
cvsextras |
28e0689 |
- New Version 1.2.1
|
|
cvsextras |
28e0689 |
|
|
cvsextras |
28e0689 |
* Sun Apr 11 2004 Gerard Milmeister <gemi@bluewin.ch> - 0:1.2.0-0.fdr.2
|
|
cvsextras |
28e0689 |
- Fix for Language.cpp restored
|
|
cvsextras |
28e0689 |
|
|
cvsextras |
28e0689 |
* Tue Mar 2 2004 Gerard Milmeister <gemi@bluewin.ch> - 0:1.2.0-0.fdr.1
|
|
cvsextras |
28e0689 |
- New Version 1.2.0
|
|
cvsextras |
28e0689 |
|
|
cvsextras |
28e0689 |
* Mon Nov 24 2003 Gerard Milmeister <gemi@bluewin.ch> - 0:1.2.0-0.fdr.4.pre3
|
|
cvsextras |
28e0689 |
- Added icon
|
|
cvsextras |
28e0689 |
- Separated mp3 plugin
|
|
cvsextras |
28e0689 |
|
|
cvsextras |
28e0689 |
* Sun Nov 23 2003 Gerard Milmeister <gemi@bluewin.ch> - 0:1.2.0-0.fdr.2.pre3
|
|
cvsextras |
28e0689 |
- Changes to specfile
|
|
cvsextras |
28e0689 |
|
|
cvsextras |
28e0689 |
* Sun Nov 2 2003 Gerard Milmeister <gemi@bluewin.ch> - 0:1.2.0-0.fdr.1.pre3
|
|
cvsextras |
28e0689 |
- New upstream version 1.2.0-pre3
|
|
cvsextras |
28e0689 |
|
|
cvsextras |
28e0689 |
* Sat Oct 25 2003 Gerard Milmeister <gemi@bluewin.ch> - 0:1.2.0-pre2.fdr.1
|
|
cvsextras |
28e0689 |
- First Fedora release
|
|
cvsextras |
28e0689 |
|