File Fuse-utils.spec of Package Fuse-utils

#
# spec file for package Fuse-utils
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# 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:           Fuse-utils
Version:        1.4.3
Release:        0
Summary:        Fuse ZX Spectrum Emulation Utilities
License:        GPL-2.0-or-later
URL:            https://sourceforge.net/projects/fuse-emulator/files/fuse-utils/
Source:         https://sourceforge.net/projects/fuse-emulator/files/fuse-utils/%{version}/fuse-utils-%{version}.tar.gz
BuildRequires:  gcc-c++
%if 0%{?suse_version} > 1500
BuildRequires:  pkgconfig(libgcrypt)
%else
BuildRequires:  libgcrypt-devel
%endif
BuildRequires:  pkgconfig(glib-2.0)
%if ! 0%{?suse_version} >= 1500
BuildRequires:  pkgconfig(libjpeg)
%else
BuildRequires:  libjpeg-devel
%endif
BuildRequires:  pkgconfig(libpng)
BuildRequires:  pkgconfig(libspectrum) >= 1.4.1
BuildRequires:  pkgconfig(zlib)

%description
The Fuse utilities are a few tools which may be of occasional use when
dealing with ZX Spectrum emulator files. They were originally
distributed with Fuse, the Free Unix Spectrum Emulator, but are now
independent of Fuse and can be used on their own.

The available utilities are:

* audio2tape: convert an audio file to tape format.
* createhdf: create an empty .hdf IDE hard disk image.
* fmfconv: converter tool for FMF movie files.
* listbasic: list the BASIC in a snapshot or tape file.
* profile2map: convert Fuse profiler output to Z80-style map format.
* raw2hdf: create a .hdf IDE hard disk image from another file.
* rzxcheck: verify the digital signature in an RZX file.
* rzxdump: list the contents of an RZX input recording file.
* rzxtool: add, extract or remove the embedded snapshot from an RZX file,
           or compress or uncompress the file.
* scl2trd: convert .scl disk images to .trd disk images.
* snap2tzx: convert snapshots to TZX tape images.
* snapconv: convert between snapshot formats.
* tape2pulses: dumps the pulse information from tape images to text files.
* tape2wav: convert a tape file to .wav audio format.
* tapeconv: convert between .tzx and .tap files.
* tzxlist: list the contents of a TZX, TAP, PZX or Warajevo TAP file.

%prep
%setup -q -n fuse-utils-%{version}

%build
%configure --disable-static
make %{?_smp_mflags} V=1

%install
%make_install

%files
%license COPYING
%doc AUTHORS ChangeLog README
%{_bindir}/createhdf
%{_bindir}/fmfconv
%{_bindir}/listbasic
%{_bindir}/profile2map
%{_bindir}/raw2hdf
%{_bindir}/rzxcheck
%{_bindir}/rzxdump
%{_bindir}/rzxtool
%{_bindir}/scl2trd
%{_bindir}/snap2tzx
%{_bindir}/snapconv
%{_bindir}/snapdump
%{_bindir}/tape2pulses
%{_bindir}/tapeconv
%{_bindir}/tzxlist
%{_mandir}/man1/audio2tape.1%{?ext_man}
%{_mandir}/man1/createhdf.1%{?ext_man}
%{_mandir}/man1/fmfconv.1%{?ext_man}
%{_mandir}/man1/fuse-utils.1%{?ext_man}
%{_mandir}/man1/listbasic.1%{?ext_man}
%{_mandir}/man1/profile2map.1%{?ext_man}
%{_mandir}/man1/raw2hdf.1%{?ext_man}
%{_mandir}/man1/rzxcheck.1%{?ext_man}
%{_mandir}/man1/rzxdump.1%{?ext_man}
%{_mandir}/man1/rzxtool.1%{?ext_man}
%{_mandir}/man1/scl2trd.1%{?ext_man}
%{_mandir}/man1/snap2tzx.1%{?ext_man}
%{_mandir}/man1/snapconv.1%{?ext_man}
%{_mandir}/man1/snapdump.1%{?ext_man}
%{_mandir}/man1/tape2pulses.1%{?ext_man}
%{_mandir}/man1/tape2wav.1%{?ext_man}
%{_mandir}/man1/tapeconv.1%{?ext_man}
%{_mandir}/man1/tzxlist.1%{?ext_man}

%changelog
openSUSE Build Service is sponsored by