File awesfx.spec of Package awesfx
#
# spec file for package awesfx (Version 0.5.1a)
#
# 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: awesfx
BuildRequires: alsa-devel
Summary: SoundFont Utilities for SB AWE32/64 and Emu10k1 Drivers
Version: 0.5.1a
Release: 8
License: GPL v2 or later
Group: Productivity/Multimedia/Sound/Midi
BuildRoot: %{_tmppath}/%{name}-%{version}-build
URL: http://www.alsa-project.org/~iwai/awedrv.html
Source: awesfx-%{version}.tar.bz2
Patch: awesfx-autoreconf-fix.diff
Patch1: awesfx-udev-soundfont-fix.diff
%description
The AWESFX package includes utility programs for controlling the
wavetable function on SB AWE32/64 and Emu10k1 sound cards.
Authors:
--------
Takashi Iwai <tiwai@suse.de>
%prep
%setup
%patch -p1
%patch1 -p1
%{?suse_update_config:%{suse_update_config -f}}
%build
autoreconf -fi
%configure
make
%install
make DESTDIR=$RPM_BUILD_ROOT install
# install udev and helper scripts
mkdir -p $RPM_BUILD_ROOT/etc/udev/rules.d
install -c -m 0644 etc/*.rules $RPM_BUILD_ROOT/etc/udev/rules.d
mkdir -p $RPM_BUILD_ROOT/etc/alsa.d
install -c -m 0755 etc/load-soundfont $RPM_BUILD_ROOT/etc/alsa.d
install -c -m 0755 etc/udev-soundfont $RPM_BUILD_ROOT/etc/alsa.d
%clean
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc AUTHORS COPYING README ChangeLog
%doc *.txt
%{_bindir}/*
%dir %{_datadir}/sounds/sf2
%{_datadir}/sounds/sf2/*
%doc %{_mandir}/*/*
/etc/udev
/etc/alsa.d
%changelog
* Wed Aug 29 2007 - tiwai@suse.de
- fix udev script to load properly with recent udev versions
- fix for autoreconf
* Mon Aug 06 2007 - tiwai@suse.de
- updated to version 0.5.1a:
* really fix the build without linux/awe_voice.h
* Wed Jul 25 2007 - tiwai@suse.de
- updated to version 0.5.1:
* include awe_voice.h into the package
* include udev files into the package
* Tue Apr 17 2007 - tiwai@suse.de
- move udev-related stuff from alsa package
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Tue Aug 31 2004 - tiwai@suse.de
- updated to version 0.5.0d. (misc fixes only)
* Fri Feb 27 2004 - tiwai@suse.de
- updated to version 0.5.0b.
* Wed Feb 04 2004 - tiwai@suse.de
- updated to version 0.5.0a.
* Fri Jan 23 2004 - tiwai@suse.de
- updated to version 0.5.0. using auto-tools now.
ALSA emux loader is added.
* Sun Jan 11 2004 - adrian@suse.de
- add %%defattr
* Fri Mar 08 2002 - kukuk@suse.de
- Add /usr/share/sounds/sf2 to filelist
* Tue Jan 08 2002 - tiwai@suse.de
- fixed buffer overflow with a long HOME env. variable.
* Fri Sep 21 2001 - tiwai@suse.de
- Fixed a bug in incremental loading: duplication of instrument
layers are avoided.
* Tue Feb 27 2001 - tiwai@suse.de
- Apply the forgotten patch.
* Fri Jan 05 2001 - tiwai@suse.de
- Removed CVS directories from source archive.
- Strip installed binaries.
* Tue Dec 05 2000 - tiwai@suse.de
- Move default soundfont directory to /usr/share/sounds/sf2.
* Thu Sep 14 2000 - tiwai@suse.de
- Fixed version number and documents.
* Tue Aug 01 2000 - tiwai@suse.de
- Initial version: 0.4.4