File openSeaChest.spec of Package openSeaChest

#
# spec file for package openSeaChest
#
# Copyright (c) 2023 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/
#

Name:           openSeaChest
Version:        22.07
Release:        0
Summary:        Collection of command line diagnostic tools for storage devices
License:        MPL-2.0
URL:            https://github.com/Seagate/openSeaChest/
Source0:        %{name}-%{version}.tar.xz
BuildRequires:  meson
BuildRequires:  ninja

%description
openSeaChest is a collection of comprehensive, easy-to-use command
line diagnostic tools and programming libraries for storage devices
that help you quickly determine the health and status of your
storage product.

%prep
%autosetup -p1

%build
%meson
%meson_build

%install
%meson_install

%files
%license LICENSE.md
%doc README.md
%{_bindir}/%{name}_Basics
%{_bindir}/%{name}_Configure
%{_bindir}/%{name}_Erase
%{_bindir}/%{name}_Firmware
%{_bindir}/%{name}_FormatUnit
%{_bindir}/%{name}_GenericTests
%{_bindir}/%{name}_Info
%{_bindir}/%{name}_Logs
%{_bindir}/%{name}_NVMe
%{_bindir}/%{name}_PassthroughTest
%{_bindir}/%{name}_PowerControl
%{_bindir}/%{name}_SMART
%{_bindir}/%{name}_Security
%{_bindir}/%{name}_ZBD
%{_mandir}/man8/%{name}.8%{?ext_man}
%{_mandir}/man8/%{name}_Basics.8%{?ext_man}
%{_mandir}/man8/%{name}_Configure.8%{?ext_man}
%{_mandir}/man8/%{name}_Erase.8%{?ext_man}
%{_mandir}/man8/%{name}_Firmware.8%{?ext_man}
%{_mandir}/man8/%{name}_Format.8%{?ext_man}
%{_mandir}/man8/%{name}_GenericTests.8%{?ext_man}
%{_mandir}/man8/%{name}_Info.8%{?ext_man}
%{_mandir}/man8/%{name}_Logs.8%{?ext_man}
%{_mandir}/man8/%{name}_PowerControl.8%{?ext_man}
%{_mandir}/man8/%{name}_SMART.8%{?ext_man}

%changelog
openSUSE Build Service is sponsored by