File flac123.spec of Package flac123

#
# spec file for package flac123
#
# Copyright (c) 2025 SUSE LLC and contributors
#
# 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:           flac123
Version:        2.1.1
Release:        0
Summary:        A command line flac player
License:        GPL-2.0-or-later
Group:          Productivity/Multimedia/Sound/Players
URL:            http://flac-tools.sourceforge.net/
Source0:        %{name}-%{version}.tar.xz
BuildRequires:  automake
BuildRequires:  flac-devel
BuildRequires:  libao-devel
BuildRequires:  popt-devel

%description
flac123 is a tool for playing audio files stored in the FLAC format.

%prep
%setup -q

%build
%{_bindir}/autoreconf -fi
%configure
%make_build
%{__strip} -s src/%{name}

%install
%make_install

%files
%defattr(-,root,root,-)
%attr(755,root,root) %{_bindir}/%{name}
%{_mandir}/man1/%{name}.1%{?ext_man}
%doc AUTHORS BUGS ChangeLog NEWS README.md README.remote
%license COPYING

%changelog
openSUSE Build Service is sponsored by