summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-15 03:59:56 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-15 03:59:56 +0000
commit03d6580418e6cbb02f3daadaf63768f53d564eac (patch)
treeef0c9c8f04412cd0bd8cf506eb9712024adeaf79
parent85e1c9c90fbfd53c4f9a6347532db3afc3487f9c (diff)
automatic import of python-vmcloak
-rw-r--r--.gitignore1
-rw-r--r--python-vmcloak.spec72
-rw-r--r--sources1
3 files changed, 74 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..5f0223d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/VMCloak-0.4.8.tar.gz
diff --git a/python-vmcloak.spec b/python-vmcloak.spec
new file mode 100644
index 0000000..6a7e518
--- /dev/null
+++ b/python-vmcloak.spec
@@ -0,0 +1,72 @@
+%global _empty_manifest_terminate_build 0
+Name: python-VMCloak
+Version: 0.4.8
+Release: 1
+Summary: Automated Virtual Machine Generation and Cloaking for Cuckoo Sandbox.
+License: GPLv3
+URL: https://github.com/hatching/vmcloak
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/8d/07/1ebc0f373775d2831478a8f39f3e4eb420a831b4f386b57c8cc1348b0401/VMCloak-0.4.8.tar.gz
+BuildArch: noarch
+
+
+%description
+
+
+%package -n python3-VMCloak
+Summary: Automated Virtual Machine Generation and Cloaking for Cuckoo Sandbox.
+Provides: python-VMCloak
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-VMCloak
+
+
+%package help
+Summary: Development documents and examples for VMCloak
+Provides: python3-VMCloak-doc
+%description help
+
+
+%prep
+%autosetup -n VMCloak-0.4.8
+
+%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-VMCloak -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Mon May 15 2023 Python_Bot <Python_Bot@openeuler.org> - 0.4.8-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..4ac59cd
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+532cb0d44843baf1a3f12a21f52a34e6 VMCloak-0.4.8.tar.gz