summaryrefslogtreecommitdiff
path: root/python-jack-client.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-15 07:30:09 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-15 07:30:09 +0000
commit3211babc5e5463665837c852e2b86a8733e7345a (patch)
tree8f17c07b409b46495b321eadcd8a4055a90d6626 /python-jack-client.spec
parentd643f77da0d9354d98adc9f9f28ffb14e741a4b0 (diff)
automatic import of python-jack-client
Diffstat (limited to 'python-jack-client.spec')
-rw-r--r--python-jack-client.spec92
1 files changed, 92 insertions, 0 deletions
diff --git a/python-jack-client.spec b/python-jack-client.spec
new file mode 100644
index 0000000..b2bd98b
--- /dev/null
+++ b/python-jack-client.spec
@@ -0,0 +1,92 @@
+%global _empty_manifest_terminate_build 0
+Name: python-JACK-Client
+Version: 0.5.4
+Release: 1
+Summary: JACK Audio Connection Kit (JACK) Client for Python
+License: MIT
+URL: http://jackclient-python.readthedocs.io/
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/ec/90/127c96a6b5cb61b41a130458cd19e866abc9fcb6820ba41973012976b26a/JACK-Client-0.5.4.tar.gz
+BuildArch: noarch
+
+Requires: python3-CFFI
+Requires: python3-NumPy
+
+%description
+This Python module (named ``jack``) provides bindings for the JACK_ library.
+Documentation:
+ https://jackclient-python.readthedocs.io/
+Source code and issue tracker:
+ https://github.com/spatialaudio/jackclient-python/
+License:
+ MIT -- see the file ``LICENSE`` for details.
+
+%package -n python3-JACK-Client
+Summary: JACK Audio Connection Kit (JACK) Client for Python
+Provides: python-JACK-Client
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-JACK-Client
+This Python module (named ``jack``) provides bindings for the JACK_ library.
+Documentation:
+ https://jackclient-python.readthedocs.io/
+Source code and issue tracker:
+ https://github.com/spatialaudio/jackclient-python/
+License:
+ MIT -- see the file ``LICENSE`` for details.
+
+%package help
+Summary: Development documents and examples for JACK-Client
+Provides: python3-JACK-Client-doc
+%description help
+This Python module (named ``jack``) provides bindings for the JACK_ library.
+Documentation:
+ https://jackclient-python.readthedocs.io/
+Source code and issue tracker:
+ https://github.com/spatialaudio/jackclient-python/
+License:
+ MIT -- see the file ``LICENSE`` for details.
+
+%prep
+%autosetup -n JACK-Client-0.5.4
+
+%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-JACK-Client -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Mon May 15 2023 Python_Bot <Python_Bot@openeuler.org> - 0.5.4-1
+- Package Spec generated