File snd_sf2.spec of Package snd_sf2

#
# spec file for package snd_sf2 (Version 0.1.2)
#
# Copyright (c) 2009 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/
#

# norootforbuild


Name:           snd_sf2
License:        SUSE-Freeware
Group:          Productivity/Multimedia/Sound/Midi
Provides:       soundfont
Requires:       awesfx
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
AutoReqProv:    on
Version:        0.1.2
Release:        658
Summary:        Soundfont and MIDI Sample
Source:         snd_sf2.tar.gz
Patch:          snd_sf2-readme-encoding.patch
BuildArch:      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
* 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
openSUSE Build Service is sponsored by