Files
libadplug/libadplug.spec
Martin Pluskal 312d6c184e - Update to version 2.4
Bug fixes:
  * Many fixes, cleanup, and refactoring across all players based
    on fuzzing tests. Huge thanks to Alexander Miller for these.
    There are too many to list here - please read the commit log.
  * Fixes to SurroundOPL getchip(), fixing missing note problems.
  * Many code typo fixes (thanks to luz paz for these).
  * Make SOP player endian aware and many further fixes across
    players.
  * Fix RAD2 player crashes with files referencing unused
    instruments.
  * Added stress tests and many build fixes across platforms.
  New formats:
  * MUS,ADL: Add support for Coktel Vision game music files to
    Visual Composer player.
  * MID: Detect MIDI Type 1 multi-track files.
  * PIS: Beni Tracker.
  * MTR: Master Tracker Loader.
  * A2M: Add new player for A2M and A2T (versions 1-14).
  * D00: Add support for reheadered D00 songs.
  * PLX: PALLADIX Sound System.
  * LD0: Add support for old LOUDNESS files that don't have MIDI
    instrument data.
  Misc:
  * Updated NukedOPL to master 730f8c238a152cb3314e46919789a666c9d81d82
  * Updated ADL player to ScummVM version from Dec 7, 2020.
- Run checks

OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/libadplug?expand=0&rev=4
2025-04-08 07:35:19 +00:00

119 lines
3.7 KiB
RPMSpec

#
# spec file for package libadplug
#
# Copyright (c) 2025 SUSE LLC
#
# 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 sover 0
%define soname 2_4-%{sover}
%define libname libadplug%{soname}
Name: libadplug
Version: 2.4
Release: 0
Summary: AdLib Sound Player Library
License: LGPL-2.1-only
Group: System/Libraries
#Git-Clone: https://github.com/adplug/adplug.git
URL: https://adplug.github.io/
Source: https://github.com/adplug/adplug/archive/refs/tags/adplug-%{version}.tar.gz
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: gcc-c++
BuildRequires: libtool
BuildRequires: make
BuildRequires: makeinfo
BuildRequires: pkgconfig
BuildRequires: pkgconfig(libbinio)
%description
AdPlug is a hardware independent AdLib sound player library.
AdPlug plays sound data, originally created for the AdLib (OPL2) and
Sound Blaster (Dual OPL2/OPL3) audio boards, directly from its original
format on top of an emulator or by using the real hardware.
No OPL chip is required for playback.
%package -n %{libname}
Summary: AdLib Sound Player Library
Group: System/Libraries
%description -n %{libname}
AdPlug is a hardware independent AdLib sound player library.
AdPlug plays sound data, originally created for the AdLib (OPL2) and
Sound Blaster (Dual OPL2/OPL3) audio boards, directly from its original
format on top of an emulator or by using the real hardware.
No OPL chip is required for playback.
%package -n libadplug-devel
Summary: Development Files for %{name}
Group: Development/Libraries/C and C++
Requires: %{libname} = %{version}-%{release}
Requires: pkgconfig(libbinio)
%description -n libadplug-devel
AdPlug is a hardware independent AdLib sound player library.
AdPlug plays sound data, originally created for the AdLib (OPL2) and
Sound Blaster (Dual OPL2/OPL3) audio boards, directly from its original
format on top of an emulator or by using the real hardware.
No OPL chip is required for playback.
This subpackage contains libraries and header files for developing
applications that want to make use of libadplug.
%package -n adplugdb
Summary: AdPlug Database Maintenance Utility
Group: Productivity/Multimedia/Sound/Utilities
%description -n adplugdb
adplugdb maintains database files in AdPlug database format. It can add, list
and remove records within a central database, or merge a set of databases
together into one single database.
%prep
%autosetup -p1 -n "adplug-adplug-%{version}"
%build
autoreconf -fiv
%configure --disable-static
%make_build
%install
%make_install
find %{buildroot} -type f -name "*.la" -delete -print
%post -n %{libname} -p /sbin/ldconfig
%postun -n %{libname} -p /sbin/ldconfig
%check
%make_build check
%files -n %{libname}
%license COPYING
%doc ChangeLog NEWS README
%{_libdir}/libadplug-%{version}.so.%{sover}*
%files -n libadplug-devel
%{_includedir}/adplug
%{_libdir}/libadplug.so
%{_libdir}/pkgconfig/adplug.pc
%{_infodir}/libadplug.info%{?ext_info}
%files -n adplugdb
%license COPYING
%doc README
%{_bindir}/adplugdb
%{_mandir}/man1/adplugdb.1%{?ext_man}
%changelog