diff options
author | CoprDistGit <infra@openeuler.org> | 2023-05-29 11:38:28 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-05-29 11:38:28 +0000 |
commit | c65c1185b074aa963d0917bbce6b6c2daa918b0c (patch) | |
tree | 5025599c41bb56fe86b1beddb3d098b12f9f38cd | |
parent | 73d8ec2bdc99567f0c46e53ec93c8c9aec8cb0f9 (diff) |
automatic import of python-microt-preprocessing
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-microt-preprocessing.spec | 78 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 80 insertions, 0 deletions
@@ -0,0 +1 @@ +/microt_preprocessing-0.1.37.tar.gz diff --git a/python-microt-preprocessing.spec b/python-microt-preprocessing.spec new file mode 100644 index 0000000..3e82d79 --- /dev/null +++ b/python-microt-preprocessing.spec @@ -0,0 +1,78 @@ +%global _empty_manifest_terminate_build 0 +Name: python-microt-preprocessing +Version: 0.1.37 +Release: 1 +Summary: A package that transforms raw sensor data collected from Time study app into intermediate CSV file for analysis of various purposes +License: MIT License +URL: https://bitbucket.org/mhealthresearchgroup/microt_preprocessing/src/master/ +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/b2/ca/fc731b24120e9a1407cec2056e41669dfe24ad72882aa346de7f4b9ddbc9/microt_preprocessing-0.1.37.tar.gz +BuildArch: noarch + + +%description +### What is this repository for? ### +* This repository include Python scripts that transform **raw sensor data** collected from Android mobile devices into **intermediate CSV file** for analysis of various purposes. +* The preprocessing scripts here intend to be used to provide **reliable, consistent, and structured** intermediate data file for data analysis related to MicroT project. + +%package -n python3-microt-preprocessing +Summary: A package that transforms raw sensor data collected from Time study app into intermediate CSV file for analysis of various purposes +Provides: python-microt-preprocessing +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-microt-preprocessing +### What is this repository for? ### +* This repository include Python scripts that transform **raw sensor data** collected from Android mobile devices into **intermediate CSV file** for analysis of various purposes. +* The preprocessing scripts here intend to be used to provide **reliable, consistent, and structured** intermediate data file for data analysis related to MicroT project. + +%package help +Summary: Development documents and examples for microt-preprocessing +Provides: python3-microt-preprocessing-doc +%description help +### What is this repository for? ### +* This repository include Python scripts that transform **raw sensor data** collected from Android mobile devices into **intermediate CSV file** for analysis of various purposes. +* The preprocessing scripts here intend to be used to provide **reliable, consistent, and structured** intermediate data file for data analysis related to MicroT project. + +%prep +%autosetup -n microt-preprocessing-0.1.37 + +%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-microt-preprocessing -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Mon May 29 2023 Python_Bot <Python_Bot@openeuler.org> - 0.1.37-1 +- Package Spec generated @@ -0,0 +1 @@ +7bde370db40adbd576a15982a6e03bac microt_preprocessing-0.1.37.tar.gz |