2024-01-05 23:33:56 +01:00
|
|
|
Name: gt
|
|
|
|
Version: 0.4
|
2024-01-05 23:33:56 +01:00
|
|
|
Release: 2mamba
|
2024-01-05 23:33:56 +01:00
|
|
|
Summary: Modified Timidity which supportes enhanced gus format patches
|
|
|
|
Group: Applications/Multimedia
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
2024-01-05 23:33:56 +01:00
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: https://alsa.opensrc.org/index.php/GusSoundfont
|
2024-01-05 23:33:56 +01:00
|
|
|
Source: ftp://ling.lll.hawaii.edu/pub/greg/gt-%{version}.tar.gz
|
|
|
|
License: GPL
|
|
|
|
Patch0: gt-0.4-noac3.patch
|
|
|
|
Patch1: gt-0.4-compile-fix.patch
|
|
|
|
Patch2: gt-0.4-optflags.patch
|
|
|
|
Patch3: gt-0.4-config-default-velocity-layer.patch
|
|
|
|
Patch4: gt-0.4-ppc-compile-fix.patch
|
|
|
|
Patch5: gt-0.4-unsf-bigendian-fix.patch
|
|
|
|
Patch6: gt-0.4-unsf-tremolo.patch
|
2024-01-05 23:33:56 +01:00
|
|
|
Patch7: gt-0.4-glibc-2.36.patch
|
2024-01-05 23:33:56 +01:00
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libalsa-devel
|
|
|
|
BuildRequires: libncurses-devel
|
|
|
|
BuildRequires: libvorbis-devel
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
|
|
|
|
%description
|
|
|
|
Modified timidity midi player which supportes enhanced gus format patches and
|
|
|
|
surround audio output.
|
|
|
|
|
|
|
|
%package -n soundfont-utils
|
|
|
|
Summary: Utilities for converting from / to various soundfont formats
|
|
|
|
Group: Applications/Multimedia
|
|
|
|
|
|
|
|
%description -n soundfont-utils
|
|
|
|
Utilities for converting from / to various soundfont formats and a midi file
|
|
|
|
disassembler.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
%patch0 -p1
|
|
|
|
%patch1 -p1
|
|
|
|
%patch2 -p1
|
|
|
|
%patch3 -p1
|
|
|
|
#%patch4 -p1
|
|
|
|
%patch5 -p1
|
|
|
|
%patch6 -p1
|
2024-01-05 23:33:56 +01:00
|
|
|
%patch7 -p1
|
2024-01-05 23:33:56 +01:00
|
|
|
cp -p src/README README.timidity
|
|
|
|
|
|
|
|
# NON FREE
|
|
|
|
rm -rf examples/patch
|
|
|
|
rm -rf sfz
|
|
|
|
rm -rf src/ac3*
|
|
|
|
|
|
|
|
%build
|
|
|
|
export CFLAGS="%{optflags} -fsigned-char"
|
|
|
|
%configure
|
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall
|
|
|
|
|
|
|
|
mv %{buildroot}%{_bindir}/dim %{buildroot}%{_bindir}/midi-disasm
|
|
|
|
mv %{buildroot}%{_mandir}/man1/dim.1 %{buildroot}%{_mandir}/man1/midi-disasm.1
|
|
|
|
sed -i 's/dim/midi-disasm/g' %{buildroot}%{_mandir}/man1/midi-disasm.1
|
|
|
|
touch -r utils/midifile.c %{buildroot}%{_mandir}/man1/midi-disasm.1
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/gt
|
2024-01-05 23:33:56 +01:00
|
|
|
%{_mandir}/man1/gt.1*
|
|
|
|
%doc AUTHORS COPYING
|
2024-01-05 23:33:56 +01:00
|
|
|
|
|
|
|
%files -n soundfont-utils
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/midi-disasm
|
|
|
|
%{_bindir}/patcat
|
|
|
|
%{_bindir}/patinfo
|
|
|
|
%{_bindir}/sf2cfg
|
|
|
|
%{_bindir}/sfz2pat
|
|
|
|
%{_bindir}/unsf
|
|
|
|
%{_bindir}/wav2pat
|
2024-01-05 23:33:56 +01:00
|
|
|
%{_mandir}/man1/midi-disasm.1*
|
|
|
|
%{_mandir}/man1/patcat.1*
|
|
|
|
%{_mandir}/man1/sf2cfg.1*
|
|
|
|
%{_mandir}/man1/sfz2pat.1*
|
|
|
|
%{_mandir}/man1/unsf.1*
|
|
|
|
%doc AUTHORS COPYING
|
2024-01-05 23:33:56 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-01-05 23:33:56 +01:00
|
|
|
* Sat Aug 20 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4-2mamba
|
|
|
|
- rebuilt for x86_64
|
|
|
|
|
2024-01-05 23:33:56 +01:00
|
|
|
* Thu Jul 08 2010 gil <puntogil@libero.it> 0.4-1mamba
|
|
|
|
- package created by autospec
|