%global _empty_manifest_terminate_build 0
Name: python-Mopidy-Mobile
Version: 1.10.0
Release: 1
Summary: Mopidy Web client extension for mobile devices
License: Apache License, Version 2.0
URL: https://github.com/tkem/mopidy-mobile
Source0: https://mirrors.nju.edu.cn/pypi/web/packages/4b/13/89e4f733a215b455d08dde11f223da28fb23104757003c1d4c382383c5a4/Mopidy-Mobile-1.10.0.tar.gz
BuildArch: noarch
Requires: python3-Mopidy
Requires: python3-setuptools
%description
Mopidy Mobile is a simple, easy to use remote that lets you fully
control a Mopidy_ music server from your mobile device. It is
available as a `Web client extension
`_ and a `hybrid app
`_
for Android version 5.1 and later. Users of older Android versions
may still access the Web extension using Google's `Chrome browser
`_.
On Apple devices, the Web client should work when running iOS 7 or
later.
In a nutshell, Mopidy Mobile lets you
- browse and search your entire Mopidy music library.
- search within selected directories only.
- edit the tracks in the current tracklist.
- create and edit playlists (requires Mopidy server v1.x).
- retrieve cover art from selected online resources.
- choose from multiple available user interface languages.
Additionally, the Android app allows you to
- control playback from your device's lock screen.
- change volume using your device's hardware buttons.
- switch between multiple Mopidy servers on your network.
%package -n python3-Mopidy-Mobile
Summary: Mopidy Web client extension for mobile devices
Provides: python-Mopidy-Mobile
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-pip
%description -n python3-Mopidy-Mobile
Mopidy Mobile is a simple, easy to use remote that lets you fully
control a Mopidy_ music server from your mobile device. It is
available as a `Web client extension
`_ and a `hybrid app
`_
for Android version 5.1 and later. Users of older Android versions
may still access the Web extension using Google's `Chrome browser
`_.
On Apple devices, the Web client should work when running iOS 7 or
later.
In a nutshell, Mopidy Mobile lets you
- browse and search your entire Mopidy music library.
- search within selected directories only.
- edit the tracks in the current tracklist.
- create and edit playlists (requires Mopidy server v1.x).
- retrieve cover art from selected online resources.
- choose from multiple available user interface languages.
Additionally, the Android app allows you to
- control playback from your device's lock screen.
- change volume using your device's hardware buttons.
- switch between multiple Mopidy servers on your network.
%package help
Summary: Development documents and examples for Mopidy-Mobile
Provides: python3-Mopidy-Mobile-doc
%description help
Mopidy Mobile is a simple, easy to use remote that lets you fully
control a Mopidy_ music server from your mobile device. It is
available as a `Web client extension
`_ and a `hybrid app
`_
for Android version 5.1 and later. Users of older Android versions
may still access the Web extension using Google's `Chrome browser
`_.
On Apple devices, the Web client should work when running iOS 7 or
later.
In a nutshell, Mopidy Mobile lets you
- browse and search your entire Mopidy music library.
- search within selected directories only.
- edit the tracks in the current tracklist.
- create and edit playlists (requires Mopidy server v1.x).
- retrieve cover art from selected online resources.
- choose from multiple available user interface languages.
Additionally, the Android app allows you to
- control playback from your device's lock screen.
- change volume using your device's hardware buttons.
- switch between multiple Mopidy servers on your network.
%prep
%autosetup -n Mopidy-Mobile-1.10.0
%build
%py3_build
%install
%py3_install
install -d -m755 %{buildroot}/%{_pkgdocdir}
if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
pushd %{buildroot}
if [ -d usr/lib ]; then
find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst
fi
if [ -d usr/lib64 ]; then
find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst
fi
if [ -d usr/bin ]; then
find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst
fi
if [ -d usr/sbin ]; then
find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst
fi
touch doclist.lst
if [ -d usr/share/man ]; then
find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst
fi
popd
mv %{buildroot}/filelist.lst .
mv %{buildroot}/doclist.lst .
%files -n python3-Mopidy-Mobile -f filelist.lst
%dir %{python3_sitelib}/*
%files help -f doclist.lst
%{_docdir}/*
%changelog
* Fri May 05 2023 Python_Bot - 1.10.0-1
- Package Spec generated