summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--python-pysptk.spec213
-rw-r--r--sources1
3 files changed, 215 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..237a2de 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/pysptk-0.2.0.tar.gz
diff --git a/python-pysptk.spec b/python-pysptk.spec
new file mode 100644
index 0000000..11a70da
--- /dev/null
+++ b/python-pysptk.spec
@@ -0,0 +1,213 @@
+%global _empty_manifest_terminate_build 0
+Name: python-pysptk
+Version: 0.2.0
+Release: 1
+Summary: A python wrapper for Speech Signal Processing Toolkit (SPTK)
+License: MIT
+URL: https://github.com/r9y9/pysptk
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/c7/40/9726efba15bd89a216e036aa51167ccce5d0ff517df830d9067c204d81d1/pysptk-0.2.0.tar.gz
+BuildArch: noarch
+
+
+%description
+# pysptk
+
+[![PyPI](https://img.shields.io/pypi/v/pysptk.svg)](https://pypi.python.org/pypi/pysptk)
+[![Python package](https://github.com/r9y9/pysptk/actions/workflows/ci.yaml/badge.svg)](https://github.com/r9y9/pysptk/actions/workflows/ci.yaml)
+[![Build Status](https://app.travis-ci.com/r9y9/pysptk.svg?branch=master)](https://app.travis-ci.com/r9y9/pysptk)
+[![Coverage Status](https://coveralls.io/repos/r9y9/pysptk/badge.svg?branch=master&service=github)](https://coveralls.io/github/r9y9/pysptk?branch=master)
+[![Documentation Status](https://readthedocs.org/projects/pysptk/badge/?version=latest)](https://readthedocs.org/projects/pysptk/?badge=latest)
+[![License](http://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat)](LICENSE.md)
+[![][docs-stable-img]][docs-stable-url]
+[![][docs-latest-img]][docs-latest-url]
+[![DOI](https://zenodo.org/badge/41618046.svg)](https://zenodo.org/badge/latestdoi/41618046)
+
+A python wrapper for [Speech Signal Processing Toolkit (SPTK)](http://sp-tk.sourceforge.net/).
+
+**NOTE**: pysptk is based on a modified version of SPTK ([r9y9/SPTK](https://github.com/r9y9/SPTK)).
+
+## Documentation
+
+- [**STABLE**][docs-stable-url] — **most recently tagged version of the documentation.**
+- [**LATEST**][docs-latest-url] — *in-development version of the documentation.*
+
+## Demonstration notebook
+
+- [Introduction notebook](http://nbviewer.ipython.org/github/r9y9/pysptk/blob/master/examples/pysptk%20introduction.ipynb): a brief introduction to pysptk
+- [Speech analysis and re-synthesis](http://nbviewer.ipython.org/github/r9y9/pysptk/blob/master/examples/Speech%20analysis%20and%20re-synthesis.ipynb): a demonstration notebook for speech analysis and re-synthesis. Synthesized audio examples (English) are available on the notebook.
+
+## Installation
+
+The latest release is availabe on pypi and you can install it by:
+
+```bash
+pip install pysptk
+```
+
+If yout want the latest master, run
+
+```bash
+pip install git+https://github.com/r9y9/pysptk
+```
+
+or clone the repository and then build it yourself.
+
+[docs-latest-img]: https://img.shields.io/badge/docs-latest-blue.svg
+[docs-latest-url]: https://pysptk.readthedocs.io/en/latest/
+
+[docs-stable-img]: https://img.shields.io/badge/docs-stable-blue.svg
+[docs-stable-url]: https://pysptk.readthedocs.io/en/stable/
+
+
+%package -n python3-pysptk
+Summary: A python wrapper for Speech Signal Processing Toolkit (SPTK)
+Provides: python-pysptk
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-pysptk
+# pysptk
+
+[![PyPI](https://img.shields.io/pypi/v/pysptk.svg)](https://pypi.python.org/pypi/pysptk)
+[![Python package](https://github.com/r9y9/pysptk/actions/workflows/ci.yaml/badge.svg)](https://github.com/r9y9/pysptk/actions/workflows/ci.yaml)
+[![Build Status](https://app.travis-ci.com/r9y9/pysptk.svg?branch=master)](https://app.travis-ci.com/r9y9/pysptk)
+[![Coverage Status](https://coveralls.io/repos/r9y9/pysptk/badge.svg?branch=master&service=github)](https://coveralls.io/github/r9y9/pysptk?branch=master)
+[![Documentation Status](https://readthedocs.org/projects/pysptk/badge/?version=latest)](https://readthedocs.org/projects/pysptk/?badge=latest)
+[![License](http://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat)](LICENSE.md)
+[![][docs-stable-img]][docs-stable-url]
+[![][docs-latest-img]][docs-latest-url]
+[![DOI](https://zenodo.org/badge/41618046.svg)](https://zenodo.org/badge/latestdoi/41618046)
+
+A python wrapper for [Speech Signal Processing Toolkit (SPTK)](http://sp-tk.sourceforge.net/).
+
+**NOTE**: pysptk is based on a modified version of SPTK ([r9y9/SPTK](https://github.com/r9y9/SPTK)).
+
+## Documentation
+
+- [**STABLE**][docs-stable-url] — **most recently tagged version of the documentation.**
+- [**LATEST**][docs-latest-url] — *in-development version of the documentation.*
+
+## Demonstration notebook
+
+- [Introduction notebook](http://nbviewer.ipython.org/github/r9y9/pysptk/blob/master/examples/pysptk%20introduction.ipynb): a brief introduction to pysptk
+- [Speech analysis and re-synthesis](http://nbviewer.ipython.org/github/r9y9/pysptk/blob/master/examples/Speech%20analysis%20and%20re-synthesis.ipynb): a demonstration notebook for speech analysis and re-synthesis. Synthesized audio examples (English) are available on the notebook.
+
+## Installation
+
+The latest release is availabe on pypi and you can install it by:
+
+```bash
+pip install pysptk
+```
+
+If yout want the latest master, run
+
+```bash
+pip install git+https://github.com/r9y9/pysptk
+```
+
+or clone the repository and then build it yourself.
+
+[docs-latest-img]: https://img.shields.io/badge/docs-latest-blue.svg
+[docs-latest-url]: https://pysptk.readthedocs.io/en/latest/
+
+[docs-stable-img]: https://img.shields.io/badge/docs-stable-blue.svg
+[docs-stable-url]: https://pysptk.readthedocs.io/en/stable/
+
+
+%package help
+Summary: Development documents and examples for pysptk
+Provides: python3-pysptk-doc
+%description help
+# pysptk
+
+[![PyPI](https://img.shields.io/pypi/v/pysptk.svg)](https://pypi.python.org/pypi/pysptk)
+[![Python package](https://github.com/r9y9/pysptk/actions/workflows/ci.yaml/badge.svg)](https://github.com/r9y9/pysptk/actions/workflows/ci.yaml)
+[![Build Status](https://app.travis-ci.com/r9y9/pysptk.svg?branch=master)](https://app.travis-ci.com/r9y9/pysptk)
+[![Coverage Status](https://coveralls.io/repos/r9y9/pysptk/badge.svg?branch=master&service=github)](https://coveralls.io/github/r9y9/pysptk?branch=master)
+[![Documentation Status](https://readthedocs.org/projects/pysptk/badge/?version=latest)](https://readthedocs.org/projects/pysptk/?badge=latest)
+[![License](http://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat)](LICENSE.md)
+[![][docs-stable-img]][docs-stable-url]
+[![][docs-latest-img]][docs-latest-url]
+[![DOI](https://zenodo.org/badge/41618046.svg)](https://zenodo.org/badge/latestdoi/41618046)
+
+A python wrapper for [Speech Signal Processing Toolkit (SPTK)](http://sp-tk.sourceforge.net/).
+
+**NOTE**: pysptk is based on a modified version of SPTK ([r9y9/SPTK](https://github.com/r9y9/SPTK)).
+
+## Documentation
+
+- [**STABLE**][docs-stable-url] — **most recently tagged version of the documentation.**
+- [**LATEST**][docs-latest-url] — *in-development version of the documentation.*
+
+## Demonstration notebook
+
+- [Introduction notebook](http://nbviewer.ipython.org/github/r9y9/pysptk/blob/master/examples/pysptk%20introduction.ipynb): a brief introduction to pysptk
+- [Speech analysis and re-synthesis](http://nbviewer.ipython.org/github/r9y9/pysptk/blob/master/examples/Speech%20analysis%20and%20re-synthesis.ipynb): a demonstration notebook for speech analysis and re-synthesis. Synthesized audio examples (English) are available on the notebook.
+
+## Installation
+
+The latest release is availabe on pypi and you can install it by:
+
+```bash
+pip install pysptk
+```
+
+If yout want the latest master, run
+
+```bash
+pip install git+https://github.com/r9y9/pysptk
+```
+
+or clone the repository and then build it yourself.
+
+[docs-latest-img]: https://img.shields.io/badge/docs-latest-blue.svg
+[docs-latest-url]: https://pysptk.readthedocs.io/en/latest/
+
+[docs-stable-img]: https://img.shields.io/badge/docs-stable-blue.svg
+[docs-stable-url]: https://pysptk.readthedocs.io/en/stable/
+
+
+%prep
+%autosetup -n pysptk-0.2.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-pysptk -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Tue Apr 11 2023 Python_Bot <Python_Bot@openeuler.org> - 0.2.0-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..c37e16d
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+791bfbb7830d2846d117cafd792ec71b pysptk-0.2.0.tar.gz