File mp3tofid.spec of Package mp3tofid

#
# spec file for package mp3tofid
#
# Copyright (c) 2024 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:           mp3tofid
Version:        0
Release:        0
Summary:        Offline empeg database and filesystem constructor
License:        GPL-2.0-or-later
Group:          Productivity/Multimedia/Sound/Utilities
URL:            https://github.com/empeg/mp3tofid
Source0:        %{name}-%{version}.tar
Patch0:         %{name}-missing-sysmacros.patch
BuildRequires:  flac-devel
BuildRequires:  gdbm-devel
BuildRequires:  libid3tag-devel
BuildRequires:  libopenssl-devel
BuildRequires:  libsndfile-devel
BuildRequires:  libvorbis-devel
BuildRequires:  mad-devel
BuildRequires:  popt-devel
BuildRequires:  zlib-devel

%description
mp3tofid is a Linux utility that will convert your directory tree of MP3 files to FIDs, ready for uploading to your empeg using rsync, or any other uploading tool.

%prep
%setup -q
%patch -P 0

%build
cd src
%make_build BINDIR=%{_bindir}

%install
install -D -m 755 src/mp3tofid %{buildroot}%{_bindir}/mp3tofid

%files
%doc README.html TODO
%license COPYING
%{_bindir}/mp3tofid

%changelog
openSUSE Build Service is sponsored by