summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--python-chroma-feedback.spec84
-rw-r--r--sources1
3 files changed, 86 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..645252a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/chroma-feedback-13.1.0.tar.gz
diff --git a/python-chroma-feedback.spec b/python-chroma-feedback.spec
new file mode 100644
index 0000000..79ce49f
--- /dev/null
+++ b/python-chroma-feedback.spec
@@ -0,0 +1,84 @@
+%global _empty_manifest_terminate_build 0
+Name: python-chroma-feedback
+Version: 13.1.0
+Release: 1
+Summary: Turn your RGB powered hardware into a status indicator for continuous integration, continuous deployment and infrastructure monitoring
+License: MIT
+URL: https://chroma-feedback.com
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/96/84/7059689d75b4ead2be32aecd9a401c9adcaf5c76a03af10feb4d6e643c34/chroma-feedback-13.1.0.tar.gz
+BuildArch: noarch
+
+
+%description
+> Turn your RGB powered hardware into a status indicator for continuous integration, continuous deployment and infrastructure monitoring.
+[![Build Status](https://img.shields.io/github/actions/workflow/status/henryruhs/chroma-feedback/ci.yml.svg?branch=master)](https://github.com/henryruhs/chroma-feedback/actions?query=workflow:ci)
+[![Coverage Status](https://img.shields.io/coveralls/henryruhs/chroma-feedback.svg)](https://coveralls.io/r/henryruhs/chroma-feedback)
+[![PyPI](https://img.shields.io/pypi/v/chroma-feedback.svg)](https://pypi.org/project/chroma-feedback)
+[![License](https://img.shields.io/pypi/l/chroma-feedback.svg)](https://pypi.org/project/chroma-feedback)
+
+%package -n python3-chroma-feedback
+Summary: Turn your RGB powered hardware into a status indicator for continuous integration, continuous deployment and infrastructure monitoring
+Provides: python-chroma-feedback
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-chroma-feedback
+> Turn your RGB powered hardware into a status indicator for continuous integration, continuous deployment and infrastructure monitoring.
+[![Build Status](https://img.shields.io/github/actions/workflow/status/henryruhs/chroma-feedback/ci.yml.svg?branch=master)](https://github.com/henryruhs/chroma-feedback/actions?query=workflow:ci)
+[![Coverage Status](https://img.shields.io/coveralls/henryruhs/chroma-feedback.svg)](https://coveralls.io/r/henryruhs/chroma-feedback)
+[![PyPI](https://img.shields.io/pypi/v/chroma-feedback.svg)](https://pypi.org/project/chroma-feedback)
+[![License](https://img.shields.io/pypi/l/chroma-feedback.svg)](https://pypi.org/project/chroma-feedback)
+
+%package help
+Summary: Development documents and examples for chroma-feedback
+Provides: python3-chroma-feedback-doc
+%description help
+> Turn your RGB powered hardware into a status indicator for continuous integration, continuous deployment and infrastructure monitoring.
+[![Build Status](https://img.shields.io/github/actions/workflow/status/henryruhs/chroma-feedback/ci.yml.svg?branch=master)](https://github.com/henryruhs/chroma-feedback/actions?query=workflow:ci)
+[![Coverage Status](https://img.shields.io/coveralls/henryruhs/chroma-feedback.svg)](https://coveralls.io/r/henryruhs/chroma-feedback)
+[![PyPI](https://img.shields.io/pypi/v/chroma-feedback.svg)](https://pypi.org/project/chroma-feedback)
+[![License](https://img.shields.io/pypi/l/chroma-feedback.svg)](https://pypi.org/project/chroma-feedback)
+
+%prep
+%autosetup -n chroma-feedback-13.1.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-chroma-feedback -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Wed May 31 2023 Python_Bot <Python_Bot@openeuler.org> - 13.1.0-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..99068be
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+1506d38282cfef101a783d0eb4ef32f4 chroma-feedback-13.1.0.tar.gz