]> git.pld-linux.org Git - packages/awesfx.git/blob - awesfx.spec
- adapter(ized)
[packages/awesfx.git] / awesfx.spec
1 Summary:        Utility programs for the AWE32 sound driver.
2 Name:           awesfx
3 Version:        0.4.3b
4 Release:        2
5 Group:          Applications/Multimedia
6 URL:            http//bahamut.mm.t.u-tokyo.ac.jp/~iwai/awedrv/index.html
7 Source:         http://bahamut.mm.t.u-tokyo.ac.jp/~iwai/awedrv/%{name}-%{version}.tgz
8 Source2:        http://www.pvv.org/~thammer/localfiles/soundfonts_other/gu11-rom.zip
9 Source3:        awe_voice.h
10 Patch:          awesfx-0.4.3a-make.patch
11 License:        GPL/distributable
12 ExclusiveArch:  i386 alpha
13 BuildRoot:      /tmp/%{name}-%{version}-root
14 %description
15 The awesfx package contains necessary utilities for the AWE32
16 sound driver.
17
18 If you must use an AWE32 sound driver, you should install
19 this package.
20
21 %prep
22 %setup -q
23 mkdir gu11-rom
24 cd gu11-rom
25 unzip $RPM_SOURCE_DIR/gu11-rom.zip
26 cd ..
27 %patch -p1
28 mkdir include/linux
29 cp $RPM_SOURCE_DIR/awe_voice.h include/linux
30
31 %build
32 xmkmf
33 make Makefiles
34 make 
35
36 %install
37 rm -rf $RPM_BUILD_ROOT
38 install -d $RPM_BUILD_ROOT/usr/{man/man1,bin}
39 install -d $RPM_BUILD_ROOT/etc/midi
40 install -d $RPM_BUILD_ROOT/bin
41 make install
42 make install.man
43 mv $RPM_BUILD_ROOT/usr/bin/sfxload $RPM_BUILD_ROOT/bin/
44 mv gu11-rom/GU11-ROM.SF2 $RPM_BUILD_ROOT/etc/midi
45
46 %clean
47 rm -rf $RPM_BUILD_ROOT
48
49 %files
50 %defattr(644,root,root,755)
51 %doc ChangeLog.sfx README SBKtoSF2.txt bank-samples
52 %doc gu11-rom
53 /etc/midi/GU11-ROM.SF2
54 /bin/sfxload
55 /usr/bin/setfx
56 /usr/bin/sf2text
57 /usr/bin/text2sf
58 /usr/bin/gusload
59 /usr/bin/sfxtest
60 /usr/man/man1/sfxload.1
This page took 0.296197 seconds and 3 git commands to generate.