diff --git a/librosa-0.8.1.tar.gz b/librosa-0.8.1.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..91a3822e03337d126b6d963dbee6f458ce0e6972 Binary files /dev/null and b/librosa-0.8.1.tar.gz differ diff --git a/python-librosa.spec b/python-librosa.spec new file mode 100644 index 0000000000000000000000000000000000000000..764825520f16b7eb414e32ebf53d7c089ddb2391 --- /dev/null +++ b/python-librosa.spec @@ -0,0 +1,102 @@ +%global _empty_manifest_terminate_build 0 +Name: python-librosa +Version: 0.8.1 +Release: 1 +Summary: Python module for audio and music processing +License: ISC +URL: https://librosa.org +Source0: https://files.pythonhosted.org/packages/83/e2/e5f0c986085f2b148962e4d5b2a7aafbba0f0f11bd6cf24e405fb63a5287/librosa-0.8.1.tar.gz +BuildArch: noarch + +Requires: python3-audioread +Requires: python3-numpy +Requires: python3-scipy +Requires: python3-scikit-learn +Requires: python3-joblib +Requires: python3-decorator +Requires: python3-resampy +Requires: python3-numba +Requires: python3-soundfile +Requires: python3-pooch +Requires: python3-packaging +Requires: python3-matplotlib +Requires: python3-numpydoc +Requires: python3-sphinx +Requires: python3-sphinx-rtd-theme +Requires: python3-numba +Requires: python3-matplotlib +Requires: python3-sphinx-multiversion +Requires: python3-sphinx-gallery +Requires: python3-spinxcontrib-svg2pdfconverter +Requires: python3-presets +Requires: python3-matplotlib +Requires: python3-pytest-mpl +Requires: python3-pytest-cov +Requires: python3-pytest +Requires: python3-contextlib2 +Requires: python3-samplerate +Requires: python3-soxr + +%description +librosa is a python package for music and audio analysis. It provides the building +blocks necessary to create music information retrieval systems. + +%package -n python3-librosa +Summary: Python module for audio and music processing +Provides: python-librosa +BuildRequires: python3-devel +BuildRequires: python3-setuptools +%description -n python3-librosa +librosa is a python package for music and audio analysis. It provides the building +blocks necessary to create music information retrieval systems. + +%package help +Summary: Development documents and examples for librosa +Provides: python3-librosa-doc +%description help +librosa is a python package for music and audio analysis. It provides the building +blocks necessary to create music information retrieval systems. + +%prep +%autosetup -n librosa-0.8.1 + +%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-librosa -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Mon Dec 20 2021 Python_Bot - 0.8.1-1 +- Package Init