snd/snd.spec

237 lines
7.3 KiB
RPMSpec

#
# spec file for package snd (Version 8.9)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: snd
BuildRequires: alsa-devel fftw3-devel freeglut-devel gsl gsl-devel gtk2-devel guile-devel jack-devel ladspa libdrm-devel libsamplerate-devel update-desktop-files
Summary: Powerful Sound File Editor
Version: 8.9
Release: 1
License: Public Domain, Freeware
Group: Productivity/Multimedia/Sound/Editors and Convertors
Requires: ladspa
Source: snd-%{version}.tar.bz2
Source1: snd.desktop
Source2: snd.png
URL: http://ccrma-www.stanford.edu/CCRMA/Software/snd/snd.html
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Snd is a sound editor modelled loosely after Emacs and an old,
sorely-missed PDP-10 sound editor named Dpysnd. It can accommodate any
number of sounds each with any number of channels and can be customized
and extended using guile and guile-gtk.
Authors:
--------
Bill Schottstaedt <bil@ccrma.stanford.edu>
%prep
%setup -n snd-8
%{?suse_update_config:%{suse_update_config -f}}
find -name "*~" -type f | xargs -r rm -v
%build
# aclocal
# autoconf
CFLAGS="$RPM_OPT_FLAGS $CFLAGS -fno-strict-aliasing" \
CXXFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" \
./configure --prefix=%{_prefix} \
--with-gtk \
--with-alsa \
--with-jack \
--with-ladspa \
--with-guile \
--with-static-xm \
--with-gl
make %{?jobs:-j %jobs}
make sndplay sndrecord sndinfo audinfo
%install
install -d -m 755 $RPM_BUILD_ROOT%{_bindir}
for i in snd sndplay sndrecord sndinfo audinfo ; do
install -c -m 755 $i $RPM_BUILD_ROOT%{_bindir}
done
mkdir -p $RPM_BUILD_ROOT%{_libdir}/snd/scheme
cp -a *.scm $RPM_BUILD_ROOT%{_libdir}/snd/scheme
mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1
install -c -m 0644 snd.1 $RPM_BUILD_ROOT%{_mandir}/man1
%suse_update_desktop_file -i snd AudioVideo AudioVideoEditing
mkdir -p $RPM_BUILD_ROOT%{_datadir}/pixmaps
cp %{SOURCE2} $RPM_BUILD_ROOT%{_datadir}/pixmaps
%clean
test "$RPM_BUILD_ROOT" != "/" -a -d "$RPM_BUILD_ROOT" && rm -rf $RPM_BUILD_ROOT
%files
%defattr(-, root, root)
%doc COPYING
%doc *.Snd
%doc Snd.ad
%doc *.html
%doc *.png
%doc tutorial
%doc %{_mandir}/man?/*
%{_bindir}/*
%{_libdir}/snd
%{_datadir}/applications/*.desktop
%{_datadir}/pixmaps/*.png
%changelog
* Tue Mar 27 2007 - tiwai@suse.de
- update to version 8.9:
* more fft windows
* better noise reduction in clean.scm
* added cairo graphics backend
* Mon Feb 12 2007 - tiwai@suse.de
- update to version 8.8:
* poussin-sum and jackson-sum in dsp.scm
* changed default-output-data-format to mus-bfloat
* removed initFile and the (undocumented) htmlDir X resources
* added read/write support for Apple's new CAFF (64-bit) audio
files
* Tue Jan 09 2007 - tiwai@suse.de
- updated to version 8.7:
* improvement in frame.scm
* many *.fs and *.rb improvements
* more to see NEWS and HISTORY.Snd
* Fri Oct 13 2006 - aj@suse.de
- Add guile-devel to build requires.
* Thu Sep 21 2006 - tiwai@suse.de
- updated to version 8.4:
* many ruby, forth, and sndins-related improvements
* improvements in some *.ins files
* snd_frg.scm, display-bark-fft, def-optkey-instrument, etc.
* Wed Sep 06 2006 - tiwai@suse.de
- updated to version 8.3:
* Some additions to CLM generators
* new scms: dlocsig.scm, green.scm, snd8.scm
* g_signal and gtk_print_* to xg.c
* merged new-icons.scm into new-buttons.scm
* toolbar.scm also works in gtk
* *.fs updates
* Tue Jul 04 2006 - tiwai@suse.de
- updated to version 8.2:
* fmviolin.clm.
* changed after-apply-hook to after-apply-controls-hook
* removed mus-make-error.
* Walter Zorn's wz_tooltip.js to spruce up the documentation
* Wed May 17 2006 - tiwai@suse.de
- updated to version 8.1:
* many new scm and pd files
* improved alsa support
* see HISTORY.Snd for details
- Use gtk2 as GUI.
- Add gsl support.
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Mon Jan 16 2006 - tiwai@suse.de
- updated to version 7.18.
* Sat Jan 14 2006 - schwab@suse.de
- Don't strip binaries.
* Wed Oct 12 2005 - tiwai@suse.de
- removed glib* from neededforbuild.
* Tue Apr 19 2005 - ro@suse.de
- added missing sentinel
* Mon Feb 14 2005 - tiwai@suse.de
- updated to version 7.10.
* Mon Jan 24 2005 - tiwai@suse.de
- update dto version 7.9
- use fftw3, libsamplerate.
* Thu Apr 29 2004 - ro@suse.de
- added -fno-strict-aliasing
* Mon Mar 22 2004 - ro@suse.de
- removed *~ backup files
* Fri Feb 27 2004 - tiwai@suse.de
- updated to version 7.2
- support jack and opengl.
- built with the standard guile.
- build as non-root.
- added desktop file and icon.
* Fri Nov 21 2003 - ro@suse.de
- compile with -DALSA_PCM_OLD_HW_PARAMS_API
* Fri Nov 07 2003 - ro@suse.de
- fix for current autoconf
* Mon Aug 25 2003 - tiwai@suse.de
- updated to version 6.11.
* Thu Jun 12 2003 - kukuk@suse.de
- Add missing directories to filelist
* Mon Feb 03 2003 - tiwai@suse.de
- removed -mminimal-toc for ppc64 (bug #23266).
* Fri Jan 17 2003 - tiwai@suse.de
- updated to version 6.5.
- renamed patches to avoid the file name confliction.
* Tue Nov 26 2002 - tiwai@suse.de
- updated to version 6.3.
* Mon Nov 11 2002 - ro@suse.de
- changed neededforbuild <xshared> to <x-devel-packages>
- changed neededforbuild <xdevel> to <>
* Tue Sep 24 2002 - tiwai@suse.de
- updated to snd-6.1.
regenerated no-gtk patch.
* Mon Aug 05 2002 - tiwai@suse.de
- build guile-1.5 together with snd. guile-1.4.x is incompatible
and the scm files provided by snd don't work with it.
snd is linked statically with libguile.
- provides dlp's version of snd together with a start-up script.
- provides tutorial files.
* Tue Jul 16 2002 - tiwai@suse.de
- updated to snd-5.12.
- build snd with motif instead of gtk.
the gtk version is unlikely developed by the author...
* Sat Jun 29 2002 - olh@suse.de
- build with -mminimal-toc on ppc64
* Wed Apr 10 2002 - tiwai@suse.de
- updated to snd-5.8.
- don't rebuild configure script;
now snd can use gtk2, which is not supported with guile-gtk.
* Tue Jan 15 2002 - tiwai@suse.de
- updated to snd-5.6.
* Tue Dec 04 2001 - tiwai@suse.de
- updated to snd-5.5.
now built with ALSA 0.9.0.
* Mon Nov 12 2001 - tiwai@suse.de
- updated to snd-5.4.
* Fri Oct 05 2001 - tiwai@suse.de
- updated to snd-5.3.
* Tue Sep 04 2001 - tiwai@suse.de
- updated to snd-5.2.
built from the 5.2 tarball.
* Mon Aug 13 2001 - tiwai@suse.de
- updated to snd-5.1 from cvs 20010813.
* Tue Jul 10 2001 - tiwai@suse.de
- updated to snd-5.
* Mon Mar 26 2001 - tiwai@suse.de
- Updated to snd-4.12.
* Thu Mar 08 2001 - tiwai@suse.de
- Fixed compile on ia64.
* Mon Feb 05 2001 - tiwai@suse.de
- Updated to snd-4.10.
* Wed Dec 13 2000 - tiwai@suse.de
- Updated to snd-4.8.
* Tue Nov 28 2000 - tiwai@suse.de
- Compile snd utilities.
- Fixed files list.
- Added guile-gtk in neededforbuild.
- Support ALSA also on ppc.
* Thu Nov 02 2000 - tiwai@suse.de
- Updated to snd-4.7.
- Fixed spec file for long package-name support.
* Tue Sep 26 2000 - tiwai@suse.de
- Update to snd-4.6.
- Compile with gtk instead of lesstif.
* Fri Sep 01 2000 - tiwai@suse.de
- Compile fix for alpha.
* Mon Jul 24 2000 - tiwai@suse.de
- snd ver.4 - compiled with motif and ALSA (for i386) and OSS (for PPC)