File nextcloud-apps-music.spec of Package nextcloud-apps-music

#
# spec file for package nextcloud-apps-music
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# 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 app_name music
Name:           nextcloud-apps-%{app_name}
Version:        2.4.1
Release:        0
#
Summary:        Nextcloud Apps - Music Player
License:        AGPL-3.0-only
Group:          Productivity/Networking/Web/Utilities
URL:            https://apps.nextcloud.com/apps/music
Source0:        https://github.com/owncloud/music/releases/download/v%{version}/music_%{version}_for_nextcloud.tar.gz
#
BuildRequires:  nextcloud > 13
BuildRequires:  nextcloud-packaging >= 16
%requires_ge nextcloud
BuildArch:      noarch

%description
Plays audio files directly in the Files view or in a separate library view.
Depending on the browser, supports playing filetypes mp3, ogg, m4a, m4b, flac,
wav. All browsers should be able to play at least mp3.

In the library view, you can play tracks by album or artist, create custom
playlists, or shuffle play over you whole library. In the Files view, an audio
file can be played with one click and the playback continues to next files of
the folder until stopped. The app includes also an Ampache-compatible server.

Limitations: The library view does not scale well to huge music collections.
The practical maximum number of tracks the app can handle is ~50ยด000 on Firefox
and lower on other browsers. The playback from Files works regardless of the
collection size.

%prep
%autosetup -p1 -n %{app_name}

%build

%{nextcloud_apps_package %{app_name}}

%changelog
openSUSE Build Service is sponsored by