summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-09 07:17:30 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-09 07:17:30 +0000
commit6216e83b97c08a6fc5f8bf40f9d68e18d75efa80 (patch)
tree761cea52b3b85eff38026e45bf0e3c43368501d7
parentb65707390021f529fbaf9937309e87a43930b244 (diff)
automatic import of python-fp-ngfw-smc-python-monitoringopeneuler20.03
-rw-r--r--.gitignore1
-rw-r--r--python-fp-ngfw-smc-python-monitoring.spec125
-rw-r--r--sources1
3 files changed, 127 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..b5c9164 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/fp-NGFW-SMC-python-monitoring-1.5.0.tar.gz
diff --git a/python-fp-ngfw-smc-python-monitoring.spec b/python-fp-ngfw-smc-python-monitoring.spec
new file mode 100644
index 0000000..7a2fca6
--- /dev/null
+++ b/python-fp-ngfw-smc-python-monitoring.spec
@@ -0,0 +1,125 @@
+%global _empty_manifest_terminate_build 0
+Name: python-fp-NGFW-SMC-python-monitoring
+Version: 1.5.0
+Release: 1
+Summary: Forcepoint NGFW Management Center Monitoring
+License: Apache License
+URL: https://github.com/Forcepoint/fp-NGFW-SMC-python
+Source0: https://mirrors.aliyun.com/pypi/web/packages/7c/0a/c234e505b2d34e4721c4e093b476095a0524f194518c622f20578d4b1e9f/fp-NGFW-SMC-python-monitoring-1.5.0.tar.gz
+BuildArch: noarch
+
+Requires: python3-fp-NGFW-SMC-python
+Requires: python3-websocket-client
+
+%description
+smc-python-monitoring is made of up two core capabilities:
+- Monitor, Query or view live events from the SMC
+- Pub/Sub (Subscribe) to SMC element events by supported API type
+The smc-python-monitoring API makes it possible to obtain real time monitoring information from the SMC with respects to:
+* Logs
+* Connections
+* Blacklist
+* Routing
+* Users
+* SSL VPN Users
+* VPNs
+* Alerts
+This correlates to the area of the SMC under "Monitoring".
+Every query can be refined by using filters that allow a variety of boolean operations to control the results.
+The smc-python-monitoring API also provides the ability to subscribe to element event changes in the SMC.
+Any element type that is exposed as an SMC API `entry point` can be used as a subscriber target. Event type
+examples that would fire events would be created, updated, or deleted (for example - although not an exhaustive
+list).
+
+%package -n python3-fp-NGFW-SMC-python-monitoring
+Summary: Forcepoint NGFW Management Center Monitoring
+Provides: python-fp-NGFW-SMC-python-monitoring
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-fp-NGFW-SMC-python-monitoring
+smc-python-monitoring is made of up two core capabilities:
+- Monitor, Query or view live events from the SMC
+- Pub/Sub (Subscribe) to SMC element events by supported API type
+The smc-python-monitoring API makes it possible to obtain real time monitoring information from the SMC with respects to:
+* Logs
+* Connections
+* Blacklist
+* Routing
+* Users
+* SSL VPN Users
+* VPNs
+* Alerts
+This correlates to the area of the SMC under "Monitoring".
+Every query can be refined by using filters that allow a variety of boolean operations to control the results.
+The smc-python-monitoring API also provides the ability to subscribe to element event changes in the SMC.
+Any element type that is exposed as an SMC API `entry point` can be used as a subscriber target. Event type
+examples that would fire events would be created, updated, or deleted (for example - although not an exhaustive
+list).
+
+%package help
+Summary: Development documents and examples for fp-NGFW-SMC-python-monitoring
+Provides: python3-fp-NGFW-SMC-python-monitoring-doc
+%description help
+smc-python-monitoring is made of up two core capabilities:
+- Monitor, Query or view live events from the SMC
+- Pub/Sub (Subscribe) to SMC element events by supported API type
+The smc-python-monitoring API makes it possible to obtain real time monitoring information from the SMC with respects to:
+* Logs
+* Connections
+* Blacklist
+* Routing
+* Users
+* SSL VPN Users
+* VPNs
+* Alerts
+This correlates to the area of the SMC under "Monitoring".
+Every query can be refined by using filters that allow a variety of boolean operations to control the results.
+The smc-python-monitoring API also provides the ability to subscribe to element event changes in the SMC.
+Any element type that is exposed as an SMC API `entry point` can be used as a subscriber target. Event type
+examples that would fire events would be created, updated, or deleted (for example - although not an exhaustive
+list).
+
+%prep
+%autosetup -n fp-NGFW-SMC-python-monitoring-1.5.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-fp-NGFW-SMC-python-monitoring -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Fri Jun 09 2023 Python_Bot <Python_Bot@openeuler.org> - 1.5.0-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..60e13b1
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+6f2a1eef6f56f81d3175d1b1efb2eb13 fp-NGFW-SMC-python-monitoring-1.5.0.tar.gz