summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-31 06:31:11 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-31 06:31:11 +0000
commitfe21dca06a1a41c4423b4ce384106d8196ced113 (patch)
tree0ec29cafb0e979ce710fbc5fbf2c5e8ee572982f
parent4ebe2d01707b63c3dfef55a4c860730967c66ee3 (diff)
automatic import of python-cwf2neo
-rw-r--r--.gitignore1
-rw-r--r--python-cwf2neo.spec76
-rw-r--r--sources1
3 files changed, 78 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..f4bb769 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/cwf2neo-0.77.0.tar.gz
diff --git a/python-cwf2neo.spec b/python-cwf2neo.spec
new file mode 100644
index 0000000..c51f830
--- /dev/null
+++ b/python-cwf2neo.spec
@@ -0,0 +1,76 @@
+%global _empty_manifest_terminate_build 0
+Name: python-cwf2neo
+Version: 0.77.0
+Release: 1
+Summary: cwf2neo is a Python library use to download, parse and import the NICE Cybersecurity Workforce Framework into a Neo4j graphing database, which can be used to run complex queries against.
+License: Apache License 2.0
+URL: https://pypi.org/project/cwf2neo/
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/e8/80/4e821887ab2f336e9af9e0b38fd3babf8c82fb38559212c73c45afae046b/cwf2neo-0.77.0.tar.gz
+BuildArch: noarch
+
+Requires: python3-confuse
+Requires: python3-progress
+Requires: python3-py2neo
+Requires: python3-xlrd
+
+%description
+
+
+%package -n python3-cwf2neo
+Summary: cwf2neo is a Python library use to download, parse and import the NICE Cybersecurity Workforce Framework into a Neo4j graphing database, which can be used to run complex queries against.
+Provides: python-cwf2neo
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-cwf2neo
+
+
+%package help
+Summary: Development documents and examples for cwf2neo
+Provides: python3-cwf2neo-doc
+%description help
+
+
+%prep
+%autosetup -n cwf2neo-0.77.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-cwf2neo -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Wed May 31 2023 Python_Bot <Python_Bot@openeuler.org> - 0.77.0-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..e4a2a82
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+e800a4d70bea52aa39fbd2cb2c7aa6a0 cwf2neo-0.77.0.tar.gz