]> git.pld-linux.org Git - packages/awesfx.git/blob - awesfx.spec
- release 3
[packages/awesfx.git] / awesfx.spec
1 Summary:        Utility programs for the AWE32 sound driver
2 Summary(pl.UTF-8):      Programy pomocnicze dla sterownika SoundBlastera AWE32
3 Summary(ru.UTF-8):      Утилиты для звукового драйвера AWE32
4 Summary(uk.UTF-8):      Утиліти для звукового драйвера AWE32
5 Name:           awesfx
6 Version:        0.5.0d
7 Release:        3
8 License:        GPL v2
9 Group:          Applications/Sound
10 Source0:        http://www.alsa-project.org/~iwai/%{name}-%{version}.tar.gz
11 # Source0-md5:  c258e52dd67a41fc20a31d25836c7256
12 # Source1:      http://www.pvv.org/~thammer/localfiles/soundfonts_other/gu11-rom.zip
13 Source1:        gu11-rom.zip
14 # Source1-md5:  fe8f019945c0cbfc2d38dc5f0f94eb24
15 Patch0:         %{name}-etc_dir.patch
16 URL:            http://www.alsa-project.org/~iwai/awedrv.html#Utils
17 BuildRequires:  alsa-lib-devel >= 1.0.0
18 BuildRequires:  autoconf
19 BuildRequires:  automake
20 BuildRequires:  libtool
21 BuildRequires:  unzip
22 Obsoletes:      awesfx-devel
23 ExclusiveArch:  %{ix86} %{x8664} alpha ppc
24 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26 %description
27 The awesfx package contains necessary utilities for the AWE32 sound
28 driver. This package contains the following programs:
29  - asfxload - soundFont file loader for ALSA
30  - sfxload - soundFont file loader for OSS emulation
31  - setfx - chorus/reverb effect loader
32  - aweset - change the running mode of AWE driver
33  - sf2text - convert SoundFont to readable text
34  - text2sf - revert from text to SoundFont file
35  - gusload - GUS PAT file loader
36  - sfxtest - example program to control AWE driver
37
38 %description -l pl.UTF-8
39 Pakiet awesfx zawiera programy niezbędne dla wykorzystania możliwości
40 sterownika SoundBlastera AWE32. Pakiet zawiera następujące programy:
41  - asfxload - program ładujący SoundFonty dla ALSy
42  - sfxload - program ładujący SoundFonty dla emulacji OSS
43  - setfx - program ładujący efekty chorus/reverb
44  - aweset - zmiana parametrów pracy sterownika AWE
45  - sf2text - konwerter SoundFontów do postaci tekstowej
46  - text2sf - konwerter z postaci tekstowej na SoundFont
47  - gusload - program ładujący pliki PAT karty Gravis UltraSound
48  - sfxtest - przykładowy program wykorzystujący sterownika AWE
49
50 %description -l ru.UTF-8
51 Пакет awesfx включает утилиты для звуковой карты AWE32.
52
53 %description -l uk.UTF-8
54 Пакет awesfx містить утиліти для звукової карти AWE32.
55
56 %prep
57 %setup -q
58 install -d gu11-rom
59 unzip %{SOURCE1} -d gu11-rom
60 %patch0 -p1
61
62 %build
63 %{__libtoolize}
64 %{__aclocal}
65 %{__automake}
66 %{__autoconf}
67 %configure
68 %{__make}
69
70 %install
71 rm -rf $RPM_BUILD_ROOT
72 install -d $RPM_BUILD_ROOT/bin
73
74 %{__make} install \
75         DESTDIR=$RPM_BUILD_ROOT
76
77 mv -f $RPM_BUILD_ROOT%{_bindir}/sfxload $RPM_BUILD_ROOT/bin
78 mv -f $RPM_BUILD_ROOT%{_bindir}/asfxload $RPM_BUILD_ROOT/bin
79 cp -f gu11-rom/GU11-ROM.{INS,SF2} $RPM_BUILD_ROOT%{_datadir}/sounds/sf2
80 rm -f $RPM_BUILD_ROOT%{_mandir}/man1/asfxload.1
81 echo '.so sfxload.1' > $RPM_BUILD_ROOT%{_mandir}/man1/asfxload.1
82
83 %clean
84 rm -rf $RPM_BUILD_ROOT
85
86 %files
87 %defattr(644,root,root,755)
88 %doc ChangeLog README SBKtoSF2.txt gu11-rom/*.TXT
89 %attr(755,root,root) /bin/*
90 %attr(755,root,root) %{_bindir}/*
91 %{_datadir}/sounds/sf2
92 %{_mandir}/man1/*
This page took 0.122843 seconds and 3 git commands to generate.