File snd_sf2.spec of Package snd_sf2

#
# spec file for package snd_sf2 (Version 0.1.2)
#
# Copyright (c) 2005 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://www.suse.de/feedback/
#

# norootforbuild

Name:         snd_sf2
License:      Other License(s), see package
Group:        Productivity/Multimedia/Sound/Midi
Provides:     soundfont
Requires:     awesfx
BuildRoot:    %{_tmppath}/%{name}-%{version}-build
Autoreqprov:  on
Version:      0.1.2
Release:      524
Summary:      Soundfont and MIDI Sample
Source:       snd_sf2.tar.gz
Patch:        snd_sf2-readme-encoding.patch
BuildArchitectures: noarch

%description
This package contains the following sound fonts: Vintage Dreams Waves v
2.0. by Ian Wilson and GeneralUser 1.1 by Samuel Collins. Vintage
Dreams Waves features 128 analog synthesizer patches and 8 drum kits.
The sound font can be used with Sound Blaster AWE and SB Live! sound
cards. The package also provides a sample MIDI file for this sound
font. The ROM sound font GeneralUser 1.1 only works with SB AWE
soundcards. It is General MIDI compatible.



Authors:
--------
    Ian Wilson <vintagedreamworks@hotmail.com>
    Samuel Collins <maple@mwt.net>
    Matthias Nagorni <mana@suse.de>

%prep
%setup -c
%patch -p 1

%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/usr/share/sounds
mkdir -p $RPM_BUILD_ROOT%{_docdir}/%{name}
cp -a sf2 $RPM_BUILD_ROOT/usr/share/sounds
cp -a mid $RPM_BUILD_ROOT/usr/share/sounds
cp -a doc/* $RPM_BUILD_ROOT%{_docdir}/%{name}

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%dir /usr/share/sounds/sf2
/usr/share/sounds/sf2/*
%dir /usr/share/sounds/mid
/usr/share/sounds/mid/*
%dir %{_docdir}/%{name}
%{_docdir}/%{name}/*

%changelog -n snd_sf2
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Mon Feb 07 2005 - ke@suse.de
- Change README encoding to UTF-8; reported by Stefan BrĂ¼ns [#50106].
* Mon Feb 23 2004 - hmacht@suse.de
- added option norootforbuild in specfile
* Tue Dec 05 2000 - mana@suse.de
- Added new rom soundfont gu11-rom
  Moved COPYRIGHT and README files to /usr/share/doc/packages
* Mon Dec 04 2000 - mana@suse.de
- New package snd_sf2 created