File radio.spec of Package radio
#
# spec file for package radio-sh-git
#
# radio.sh - conveniently play radiostreams
# Copyright (C) 2022 Singustromo
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
#
Name: radio
Version: 2.0.9
Release: 0
Summary: Conveniently play radiostreams, with simplicity in mind
License: GPL-3.0
Group: Productivity/Multimedia/Sound/Players
BuildArch: noarch
Source: %{name}-%{version}.tar.gz
URL: https://git.kantinen-lieferservice.de/radio-sh/plain/radio
Requires: bash mpv socat jq procps
%description
The 'radio' bash script provides convenience features for radio streams.
Usage happens through the command line and various menus like dmenu or zenity.
Command Line arguments only yield results when mpv runs with an ipc-server,
which makes the script output-friendly for other external scripts without requiring
a lot of string manipulation.
This script is aware of it's dependencies, whether they are files or executables.
If a dependency is not met, the script aborts with a corresponding hint.
%prep
%setup -q
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/%{_bindir}
cp %{name} $RPM_BUILD_ROOT/%{_bindir}
%files
%{_bindir}/%{name}