]>
Commit | Line | Data |
---|---|---|
23c811f8 JR |
1 | Summary: Utility programs for the AWE32 sound driver. |
2 | Name: awesfx | |
3 | Version: 0.4.3a | |
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/awesfx-%{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 | Copyright: GPL/distributable | |
12 | Prefix: /usr | |
13 | ExclusiveArch: i386 alpha | |
14 | BuildRoot: /var/tmp/awesfx-root | |
15 | %description | |
16 | The awesfx package contains necessary utilities for the AWE32 | |
17 | sound driver. | |
18 | ||
19 | If you must use an AWE32 sound driver, you should install | |
20 | this package. | |
21 | ||
22 | %prep | |
23 | %setup | |
24 | mkdir gu11-rom | |
25 | cd gu11-rom | |
26 | unzip $RPM_SOURCE_DIR/gu11-rom.zip | |
27 | cd .. | |
28 | %patch -p1 | |
29 | mkdir include/linux | |
30 | cp $RPM_SOURCE_DIR/awe_voice.h include/linux | |
31 | ||
32 | %build | |
33 | xmkmf | |
34 | make Makefiles | |
35 | make | |
36 | ||
37 | %install | |
38 | rm -rf $RPM_BUILD_ROOT | |
39 | mkdir -p $RPM_BUILD_ROOT/usr/{man/man1,bin} | |
40 | mkdir -p $RPM_BUILD_ROOT/etc/midi | |
41 | mkdir -p $RPM_BUILD_ROOT/bin | |
42 | make install | |
43 | make install.man | |
44 | mv $RPM_BUILD_ROOT/usr/bin/sfxload $RPM_BUILD_ROOT/bin/ | |
45 | mv gu11-rom/GU11-ROM.SF2 $RPM_BUILD_ROOT/etc/midi | |
46 | ||
47 | %clean | |
48 | rm -rf $RPM_BUILD_ROOT | |
49 | ||
50 | %files | |
51 | %defattr(-,root,root) | |
52 | %doc ChangeLog.sfx README SBKtoSF2.txt bank-samples | |
53 | %doc gu11-rom | |
54 | /etc/midi/GU11-ROM.SF2 | |
55 | /bin/sfxload | |
56 | /usr/bin/setfx | |
57 | /usr/bin/sf2text | |
58 | /usr/bin/text2sf | |
59 | /usr/bin/gusload | |
60 | /usr/bin/sfxtest | |
61 | /usr/man/man1/sfxload.1 |