File vgmtools.spec of Package vgmtools

#
# spec file for package vgmtools
#
# Copyright (c) 2023, Martin Hauke <mardnh@gmx.de>
#
# 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/
#


Name:           vgmtools
Version:        0.1+git20230127
Release:        0
Summary:        A collection of tools for the VGM file
License:        GPL-2.0-only
Group:          Productivity/Multimedia/Sound/Editors and Convertors
URL:            https://github.com/vgmrips/vgmtools
Source:         %{name}-%{version}.tar.xz
BuildRequires:  cmake >= 3.7
BuildRequires:  gcc-c++
BuildRequires:  pkgconfig
BuildRequires:  pkgconfig(zlib)

%description
A collection of tools for the VGM file

 * dro2vgm - DRO to VGM Converter
 * imf2vgm - IMF to VGM Converter
 * opl_23 - OPL 2<->3 Converter
 * opt_oki - VGM OKIM6258 Optimizer
 * optdac - VGM DAC Optimizer
 * optvgm32 - VGM PWM Optimizer
 * optvgmrf - VGM RF-PCM Optimizer
 * raw2vgm - RAW to VGM Converter
 * vgm_cmp - VGM Compressor
 * vgm_cnt - VGM Command Counter
 * vgm_dbc - VGM Data Block Compressor
 * vgm_dso - VGM DAC Stream Optimizer
 * vgm_facc - Make VGM Frame Accurate
 * vgm_mono - VGM Mono
 * vgm_ndlz - VGM Undualizer
 * vgm_ptch - VGM Patcher
 * vgm_ren.c - VGM Renamer
 * vgm_smp1 - Remove 1 Sample Delays
 * vgm_sptd - VGM Splitter (Delay Edition)
 * vgm_spts - VGM Splitter (Sample Edition)
 * vgm_sro - VGM Sample-ROM Optimizer
 * vgm_stat - VGM Statistics
 * vgm_tag - VGM Tagger
 * vgm_tt - VGM Tag Transfer
 * vgm_trim - VGM Trimmer
 * vgm_vol - VGM Volume Detector
 * vgm2txt - VGM Text Writer
 * vgmlpfnd - VGM Loop Finder
 * vgmmerge - VGM Merger

%prep
%setup -q

%build
%cmake
%cmake_build

%install
%cmake_install

%files
%license LICENSE
%doc README.md
%{_bindir}/dacopt
%{_bindir}/dro2vgm
%{_bindir}/imf2vgm
%{_bindir}/opl_23
%{_bindir}/opt_oki
%{_bindir}/optvgm
%{_bindir}/optvgmrf
%{_bindir}/raw2vgm
%{_bindir}/vgm2txt
%{_bindir}/vgm_cmp
%{_bindir}/vgm_cnt
%{_bindir}/vgm_dbc
%{_bindir}/vgm_dso
%{_bindir}/vgm_facc
%{_bindir}/vgm_mono
%{_bindir}/vgm_ndlz
%{_bindir}/vgm_ptch
%{_bindir}/vgm_ren
%{_bindir}/vgm_smp1
%{_bindir}/vgm_sptd
%{_bindir}/vgm_spts
%{_bindir}/vgm_sro
%{_bindir}/vgm_stat
%{_bindir}/vgm_tag
%{_bindir}/vgm_trim
%{_bindir}/vgm_tt
%{_bindir}/vgm_vol
%{_bindir}/vgmlpfnd
%{_bindir}/vgmmerge

%changelog
openSUSE Build Service is sponsored by