Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:lrupp
python-YCast
python-ycast.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-ycast.spec of Package python-YCast
# # spec file for package python-ycast # # Copyright (c) 2020 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/ # %define pythons python3 %define skip_python2 1 %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-ycast Version: 1.1.0 Release: 0 Summary: Self hosted vTuner internet radio service emulation License: GPL-3.0 Group: Productivity/Multimedia/Other URL: https://github.com/milaq/YCast Source: https://files.pythonhosted.org/packages/source/y/ycast/ycast-%{version}.tar.gz Source1: ycast.service Source2: stations.yml.example Source10: python-ycast-rpmlintrc BuildRequires: python-rpm-macros BuildRequires: systemd-rpm-macros BuildRequires: %{python_module setuptools} # SECTION test requirements BuildRequires: %{python_module Flask} BuildRequires: %{python_module Pillow} BuildRequires: %{python_module PyYAML} BuildRequires: %{python_module requests} # /SECTION BuildRequires: fdupes Requires: python-Flask Requires: python-Pillow Requires: python-PyYAML Requires: python-requests Requires(pre): shadow BuildArch: noarch %python_subpackages %description YCast is a self hosted replacement for the vTuner internet radio service which many AVRs use. It emulates a vTuner backend to provide your AVR with the necessary information to play self defined categorized internet radio stations and listen to Radio stations listed in the Community Radio Browser index. YCast is for you if: * You do not want to use a proprietary streaming service * You are sick of loading delays and/or downtimes of the vTuner service * You do not want to pay for a feature which was free before * You are unsure about the continuation of the vTuner service %prep %setup -q -n ycast-%{version} %build %python_build %install %python_install mkdir -p %{buildroot}%{_sbindir} install -D -m 644 %{SOURCE1} %{buildroot}%{_unitdir}/ycast.service ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rcycast %python_expand %fdupes %{buildroot}%{$python_sitelib} install -D -m 644 %{SOURCE2} %{buildroot}/%{_sysconfdir}/ycast/stations.yml.example install -m 644 %{SOURCE2} %{buildroot}/%{_sysconfdir}/ycast/stations.yml %pre %service_add_pre ycast.service /usr/sbin/groupadd -r ycast 2>/dev/null || : /usr/sbin/useradd -r -g ycast -d /var/lib/empty -s /bin/false -c "User for YCast" ycast 2>/dev/null || : %post %service_add_post ycast.service %preun %service_del_preun ycast.service %postun %service_del_postun ycast.service %files %{python_files} %doc README.md %dir %{_sysconfdir}/ycast %{python_sitelib}/* %{_unitdir}/ycast.service %{_sbindir}/rcycast %config %{_sysconfdir}/ycast/stations.yml.example %config(noreplace) %{_sysconfdir}/ycast/stations.yml %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor