summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-15 04:50:06 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-15 04:50:06 +0000
commitdb8a9b0cfb77112448e5ca1657a174d66ac54a21 (patch)
treecfbeced0fce618c9b4d714361dd25369d3139ba3
parentb763cf791664fb4bb674102aaea6bb171db1fe41 (diff)
automatic import of python-fabba
-rw-r--r--.gitignore1
-rw-r--r--python-fabba.spec72
-rw-r--r--sources1
3 files changed, 74 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..7dc3fbb 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/fABBA-1.0.9.tar.gz
diff --git a/python-fabba.spec b/python-fabba.spec
new file mode 100644
index 0000000..faff1e2
--- /dev/null
+++ b/python-fabba.spec
@@ -0,0 +1,72 @@
+%global _empty_manifest_terminate_build 0
+Name: python-fABBA
+Version: 1.0.9
+Release: 1
+Summary: An efficient aggregation method for the symbolic representation of temporal data
+License: BSD 3-Clause
+URL: https://github.com/nla-group/fABBA
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/ff/3b/65b4ec240f9805d2b8654d69fced8642f92b4844a8cd595d9509cb25be79/fABBA-1.0.9.tar.gz
+BuildArch: noarch
+
+
+%description
+
+
+%package -n python3-fABBA
+Summary: An efficient aggregation method for the symbolic representation of temporal data
+Provides: python-fABBA
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-fABBA
+
+
+%package help
+Summary: Development documents and examples for fABBA
+Provides: python3-fABBA-doc
+%description help
+
+
+%prep
+%autosetup -n fABBA-1.0.9
+
+%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-fABBA -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Mon May 15 2023 Python_Bot <Python_Bot@openeuler.org> - 1.0.9-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..112285f
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+5f56d67b2776576506823e60e406ac9e fABBA-1.0.9.tar.gz