SHA256
1
0
forked from pool/wildmidi
wildmidi/wildmidi.spec
Luigi Baldoni 78ebb3d9b4 Accepting request 774624 from home:mnhauke:games
- Update to version 0.4.3
  * New API addition: WildMidi_InitVIO(). It is like WildMidi_Init(),
    but tells the library to use caller-provided functions for file IO.
    See wildmidi_lib.h or the man page WildMidi_InitVIO(3) for details.
  * Fixed a thinko in one of the buffer size checks added in v0.4.2.
  * Fixed possible out of bounds reads in sysex commands (bug #190).
  * Fixed invalid reads during config parse with short patch file names.
  * Do not treat a missing end-of-track marker as an error for type-0
    midi files (bug #183).
  * Fixed bad reading of high delta values in XMI converter (bug #199).
  * Fixed a memory leak when freeing a midi (bug #204).
  * Fixed slurred/echoy playback at quick tempos on looped instruments
    (bug #185).
  * Fixed certain midis sounding different compared to timidity, as if
    instruments not turned off (bug #186).
  * Fixed compilation on systems without libm.
  * Several clean-ups.

OBS-URL: https://build.opensuse.org/request/show/774624
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/wildmidi?expand=0&rev=2
2020-02-17 12:40:56 +00:00

99 lines
3.0 KiB
RPMSpec

#
# spec file for package wildmidi
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2007-2016 Hans de Goede <j.w.r.degoede@hhs.nl>
# Copyright (c) 2016 Pauline Emily <vilene@posteo.net>
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define soname libWildMidi2
Name: wildmidi
Version: 0.4.3
Release: 0
Summary: Softsynth midi player
License: GPL-3.0-or-later
Group: Productivity/Multimedia/Sound/Midi
URL: https://www.mindwerks.net/projects/wildmidi
Source: https://github.com/Mindwerks/wildmidi/archive/%{name}-%{version}.tar.gz
Source1: %{name}.cfg
BuildRequires: cmake
BuildRequires: dos2unix
BuildRequires: pkgconfig
BuildRequires: pkgconfig(alsa)
BuildRequires: pkgconfig(openal)
Requires: %{soname} = %{version}
%description
WildMidi is a software midi player which has a core softsynth library that can
be used with other applications.
%package devel
Summary: Development files for %{name}
License: LGPL-3.0-or-later
Group: Development/Libraries/C and C++
Requires: %{soname} = %{version}
%description devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.
%package -n %{soname}
Summary: WildMidi Midi Wavetable Synth Lib
License: LGPL-3.0-or-later
Group: System/Libraries
Requires: timidity
%description -n %{soname}
This package contains the WildMidi core softsynth library. The library is
designed to process a midi file and stream out the stereo audio data
through a buffer which an external program can then process further.
%prep
%setup -q -n %{name}-%{name}-%{version}
dos2unix -c ascii COPYING
%build
%cmake
make %{?_smp_mflags}
%install
%cmake_install
install -d %{buildroot}%{_sysconfdir}/wildmidi
install -m 644 %{SOURCE1} %{buildroot}%{_sysconfdir}/wildmidi
%post -n %{soname} -p /sbin/ldconfig
%postun -n %{soname} -p /sbin/ldconfig
%files
%license COPYING docs/license/GPLv3.txt
%doc README.md
%{_bindir}/%{name}
%{_mandir}/man1/%{name}.1%{?ext_man}
%files devel
%{_includedir}/%{name}_lib.h
%{_libdir}/libWildMidi.so
%{_libdir}/pkgconfig/wildmidi.pc
%{_mandir}/man3/WildMidi_*.3%{?ext_man}
%files -n %{soname}
%license docs/license/LGPLv3.txt
%{_libdir}/libWildMidi.so.*
%{_mandir}/man5/%{name}.cfg.5%{?ext_man}
%config(noreplace) %{_sysconfdir}/wildmidi
%changelog