rebuilt for x86_64 [release 0.4-2mamba;Sat Aug 20 2022]

This commit is contained in:
Silvan Calarco 2024-01-05 23:33:56 +01:00
parent b44727ab4f
commit 64d207d897
2 changed files with 26 additions and 13 deletions

10
gt-0.4-glibc-2.36.patch Normal file
View File

@ -0,0 +1,10 @@
--- gt-0.4/src/playmidi.c.orig 2022-08-20 14:21:43.842992492 +0200
+++ gt-0.4/src/playmidi.c 2022-08-20 14:21:36.543082327 +0200
@@ -3140,7 +3140,6 @@
static unsigned xxmp_epoch = 0;
static unsigned time_expired = 0;
static unsigned last_time_expired = 0;
-extern int gettimeofday (struct timeval *, struct timezone *);
static struct timeval tv;
static struct timezone tz;
static void

29
gt.spec
View File

@ -1,12 +1,12 @@
Name: gt
Version: 0.4
Release: 1mamba
Release: 2mamba
Summary: Modified Timidity which supportes enhanced gus format patches
Group: Applications/Multimedia
Vendor: openmamba
Distribution: openmamba
Packager: gil <puntogil@libero.it>
URL: http://alsa.opensrc.org/index.php/GusSoundfont
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://alsa.opensrc.org/index.php/GusSoundfont
Source: ftp://ling.lll.hawaii.edu/pub/greg/gt-%{version}.tar.gz
License: GPL
Patch0: gt-0.4-noac3.patch
@ -16,13 +16,13 @@ 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
Patch7: gt-0.4-glibc-2.36.patch
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libalsa-devel
BuildRequires: libncurses-devel
BuildRequires: libvorbis-devel
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Modified timidity midi player which supportes enhanced gus format patches and
@ -37,7 +37,6 @@ Utilities for converting from / to various soundfont formats and a midi file
disassembler.
%prep
%setup -q
%patch0 -p1
%patch1 -p1
@ -46,6 +45,7 @@ disassembler.
#%patch4 -p1
%patch5 -p1
%patch6 -p1
%patch7 -p1
cp -p src/README README.timidity
# NON FREE
@ -73,8 +73,8 @@ touch -r utils/midifile.c %{buildroot}%{_mandir}/man1/midi-disasm.1
%files
%defattr(-,root,root)
%{_bindir}/gt
%{_mandir}/man1/gt.1.gz
%doc AUTHORS COPYING ChangeLog FEATURES NEWS README*
%{_mandir}/man1/gt.1*
%doc AUTHORS COPYING
%files -n soundfont-utils
%defattr(-,root,root)
@ -85,13 +85,16 @@ touch -r utils/midifile.c %{buildroot}%{_mandir}/man1/midi-disasm.1
%{_bindir}/sfz2pat
%{_bindir}/unsf
%{_bindir}/wav2pat
%{_mandir}/man1/midi-disasm.1.gz
%{_mandir}/man1/patcat.1.gz
%{_mandir}/man1/sf2cfg.1.gz
%{_mandir}/man1/sfz2pat.1.gz
%{_mandir}/man1/unsf.1.gz
%doc utils/README* utils/GUSSF2-SPEC
%{_mandir}/man1/midi-disasm.1*
%{_mandir}/man1/patcat.1*
%{_mandir}/man1/sf2cfg.1*
%{_mandir}/man1/sfz2pat.1*
%{_mandir}/man1/unsf.1*
%doc AUTHORS COPYING
%changelog
* Sat Aug 20 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4-2mamba
- rebuilt for x86_64
* Thu Jul 08 2010 gil <puntogil@libero.it> 0.4-1mamba
- package created by autospec