]> git.pld-linux.org Git - packages/awesfx.git/blob - awesfx.spec
- release 2.
[packages/awesfx.git] / awesfx.spec
1 Summary:        Utility programs for the AWE32 sound driver.
2 Summary(pl):    Programy pomocnicze dla sterownika SoundBlastera AWE32.
3 Name:           awesfx
4 Version:        0.4.3c
5 Release:        2
6 License:        GPL/distributable
7 Group:          Applications/Multimedia
8 Group(pl):      Aplikacje/D¼wiêk
9 Source0:        http://mitglied.tripod.de/iwai/%{name}-%{version}.tgz
10 Source2:        http://www.pvv.org/~thammer/localfiles/soundfonts_other/gu11-rom.zip
11 Patch0:         awesfx-make.patch
12 URL:            http://mitglied.tripod.de/iwai/awedrv.html#Utils
13 ExclusiveArch:  %{ix86} alpha
14 BuildPrereq:    unzip
15 BuildRequires:  XFree86-devel
16 BuildRoot:      /tmp/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 The awesfx package contains necessary utilities for the AWE32 sound driver.
20 This packaing contains the following programs:
21  - sfxload      SoundFont file loader
22  - setfx        Chorus/reverb effect loader
23  - aweset       Change the running mode of AWE driver
24  - sf2text      Convert SoundFont to readable text
25  - text2sf      Revert from text to SoundFont file
26  - gusload      GUS PAT file loader
27  - sfxtest      Example program to control AWE driver
28
29 %description -l pl
30 Pakiet awesfx zawieta programy niezbêdne dla wykorzystania mo¿liwo¶ci
31 sterownika SoundBlastera AWE32. Pakiet zawiera nastêpuj±ce programy:
32  - sfxload      Program ³aduj±cy SoundFonty
33  - setfx        Program ³aduj±cy efekty chorus/reverb
34  - aweset       Zmiana parametrów pracy sterownika AWE
35  - sf2text      Konwerter SoundFontów do postaci tekstowej
36  - text2sf      Konwerter z postaci tekstowej na SoundFont
37  - gusload      Program ³aduj±cy pliki PAT karty Gravis UltraSound
38  - sfxtest      Przyk³adowy program wykorzystuj±cy sterownika AWE
39
40 %package devel
41 Summary:        Header files for programs using AWE library.
42 Group:          Development/Libraries
43 Group(fr):      Development/Librairies
44 Requires:       %{name} = %{version}
45
46 %description devel
47 If you want to write programs using Sound Blaster AWE WaveTable, you need
48 these files.
49
50 %description devel -l pl
51 Je¶li chcesz pisaæ programy wykorzystuj±ce sterownik SoundBlastera AWE
52 bêdziesz potrzebowa³ tych plików.
53
54 %prep
55 %setup -q
56 mkdir gu11-rom
57 cd gu11-rom
58 unzip $RPM_SOURCE_DIR/gu11-rom.zip
59 cd ..
60 %patch -p1
61
62 %build
63 xmkmf
64 make Makefiles
65 make OPT_FLAGS="$RPM_OPT_FLAGS"
66
67 %install
68 rm -rf $RPM_BUILD_ROOT
69 install -d $RPM_BUILD_ROOT{%{_mandir}/man1,%{_bindir},/bin} \
70         $RPM_BUILD_ROOT%{_datadir}/midi/{soundfont,virtualbank}
71
72 make install install.man \
73         DESTDIR=$RPM_BUILD_ROOT \
74         _MANDIR=%{_mandir}
75
76 mv $RPM_BUILD_ROOT%{_bindir}/sfxload $RPM_BUILD_ROOT/bin/
77 mv gu11-rom/GU11-ROM.SF2 $RPM_BUILD_ROOT%{_datadir}/midi/soundfont/gu11-rom.sf2
78 mv samples/* $RPM_BUILD_ROOT%{_datadir}/midi/virtualbank
79
80 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man1/* \
81         docs/{ChangeLog.sfx,README,SBKtoSF2.txt} \
82         gu11-rom/*
83
84 strip --strip-unneeded $RPM_BUILD_ROOT{/bin/*,%{_libdir}/*}
85
86 %post   -p /sbin/ldconfig
87 %postun -p /sbin/ldconfig
88
89 %clean
90 rm -rf $RPM_BUILD_ROOT
91
92 %files
93 %defattr(644,root,root,755)
94 %doc docs/*.gz gu11-rom/*
95 %attr(755,root,root) /bin/*
96 %attr(755,root,root) %{_bindir}/*
97 %attr(755,root,root) %{_libdir}/lib*.so.*.*
98 %{_datadir}/midi
99 %{_mandir}/man1/*
100
101 %files devel
102 %defattr(644,root,root,755)
103 %{_includedir}/awe
104 %attr(755,root,root) %{_libdir}/lib*.so
This page took 0.110882 seconds and 3 git commands to generate.