diff options
author | CoprDistGit <infra@openeuler.org> | 2023-05-05 05:16:08 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-05-05 05:16:08 +0000 |
commit | 2464585093fa75691bd9098cff2b8e58ec08dc7a (patch) | |
tree | f267da4aefd6614be877a77891165b50f0e0fbeb | |
parent | 1cadc76f6cb4f3fc0ab892adec1b98b2501f35bc (diff) |
automatic import of python-mopidy-mobileopeneuler20.03
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-mopidy-mobile.spec | 134 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 136 insertions, 0 deletions
@@ -0,0 +1 @@ +/Mopidy-Mobile-1.10.0.tar.gz diff --git a/python-mopidy-mobile.spec b/python-mopidy-mobile.spec new file mode 100644 index 0000000..0b228b9 --- /dev/null +++ b/python-mopidy-mobile.spec @@ -0,0 +1,134 @@ +%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 +<http://mopidy.readthedocs.org/en/latest/ext/web/>`_ and a `hybrid app +<http://en.wikipedia.org/wiki/HTML5_in_mobile_devices#Hybrid_Mobile_Apps>`_ +for Android version 5.1 and later. Users of older Android versions +may still access the Web extension using Google's `Chrome browser +<https://play.google.com/store/apps/details?id=com.android.chrome>`_. +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 +<http://mopidy.readthedocs.org/en/latest/ext/web/>`_ and a `hybrid app +<http://en.wikipedia.org/wiki/HTML5_in_mobile_devices#Hybrid_Mobile_Apps>`_ +for Android version 5.1 and later. Users of older Android versions +may still access the Web extension using Google's `Chrome browser +<https://play.google.com/store/apps/details?id=com.android.chrome>`_. +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 +<http://mopidy.readthedocs.org/en/latest/ext/web/>`_ and a `hybrid app +<http://en.wikipedia.org/wiki/HTML5_in_mobile_devices#Hybrid_Mobile_Apps>`_ +for Android version 5.1 and later. Users of older Android versions +may still access the Web extension using Google's `Chrome browser +<https://play.google.com/store/apps/details?id=com.android.chrome>`_. +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 <Python_Bot@openeuler.org> - 1.10.0-1 +- Package Spec generated @@ -0,0 +1 @@ +14649e82a1c76d5831a15761341f17f8 Mopidy-Mobile-1.10.0.tar.gz |