summaryrefslogtreecommitdiff
path: root/python-mopidy-soundcloud.spec
diff options
context:
space:
mode:
Diffstat (limited to 'python-mopidy-soundcloud.spec')
-rw-r--r--python-mopidy-soundcloud.spec127
1 files changed, 127 insertions, 0 deletions
diff --git a/python-mopidy-soundcloud.spec b/python-mopidy-soundcloud.spec
new file mode 100644
index 0000000..00d7b48
--- /dev/null
+++ b/python-mopidy-soundcloud.spec
@@ -0,0 +1,127 @@
+%global _empty_manifest_terminate_build 0
+Name: python-Mopidy-SoundCloud
+Version: 3.0.2
+Release: 1
+Summary: Mopidy extension for playing music from SoundCloud
+License: MIT
+URL: https://github.com/mopidy/mopidy-soundcloud
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/84/59/6e556a8c0c5203228a4dad056b2cfd7b2a2a4f737fa740ed436a4b5772ee/Mopidy-SoundCloud-3.0.2.tar.gz
+BuildArch: noarch
+
+Requires: python3-Mopidy
+Requires: python3-Pykka
+Requires: python3-setuptools
+Requires: python3-requests
+Requires: python3-beautifulsoup4
+Requires: python3-black
+Requires: python3-check-manifest
+Requires: python3-flake8
+Requires: python3-flake8-black
+Requires: python3-flake8-bugbear
+Requires: python3-flake8-import-order
+Requires: python3-isort[pyproject]
+Requires: python3-pytest
+Requires: python3-pytest-cov
+Requires: python3-vcrpy
+Requires: python3-black
+Requires: python3-check-manifest
+Requires: python3-flake8
+Requires: python3-flake8-black
+Requires: python3-flake8-bugbear
+Requires: python3-flake8-import-order
+Requires: python3-isort[pyproject]
+Requires: python3-pytest
+Requires: python3-pytest-cov
+Requires: python3-vcrpy
+
+%description
+Mopidy-SoundCloud is currently kept on life support by the Mopidy core
+developers. It is in need of a more dedicated maintainer.
+If you want to be the maintainer of Mopidy-SoundCloud, please:
+1. Make 2-3 good pull requests improving any part of the project.
+2. Read and get familiar with all of the project's open issues.
+3. Send a pull request removing this section and adding yourself as the
+ "Current maintainer" in the "Credits" section below. In the pull request
+ description, please refer to the previous pull requests and state that
+ you've familiarized yourself with the open issues.
+As a maintainer, you'll be given push access to the repo and the authority to
+make releases to PyPI when you see fit.
+
+%package -n python3-Mopidy-SoundCloud
+Summary: Mopidy extension for playing music from SoundCloud
+Provides: python-Mopidy-SoundCloud
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-Mopidy-SoundCloud
+Mopidy-SoundCloud is currently kept on life support by the Mopidy core
+developers. It is in need of a more dedicated maintainer.
+If you want to be the maintainer of Mopidy-SoundCloud, please:
+1. Make 2-3 good pull requests improving any part of the project.
+2. Read and get familiar with all of the project's open issues.
+3. Send a pull request removing this section and adding yourself as the
+ "Current maintainer" in the "Credits" section below. In the pull request
+ description, please refer to the previous pull requests and state that
+ you've familiarized yourself with the open issues.
+As a maintainer, you'll be given push access to the repo and the authority to
+make releases to PyPI when you see fit.
+
+%package help
+Summary: Development documents and examples for Mopidy-SoundCloud
+Provides: python3-Mopidy-SoundCloud-doc
+%description help
+Mopidy-SoundCloud is currently kept on life support by the Mopidy core
+developers. It is in need of a more dedicated maintainer.
+If you want to be the maintainer of Mopidy-SoundCloud, please:
+1. Make 2-3 good pull requests improving any part of the project.
+2. Read and get familiar with all of the project's open issues.
+3. Send a pull request removing this section and adding yourself as the
+ "Current maintainer" in the "Credits" section below. In the pull request
+ description, please refer to the previous pull requests and state that
+ you've familiarized yourself with the open issues.
+As a maintainer, you'll be given push access to the repo and the authority to
+make releases to PyPI when you see fit.
+
+%prep
+%autosetup -n Mopidy-SoundCloud-3.0.2
+
+%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-SoundCloud -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Wed May 17 2023 Python_Bot <Python_Bot@openeuler.org> - 3.0.2-1
+- Package Spec generated