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