summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-10 09:50:20 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-10 09:50:20 +0000
commit16abaea66ef8af2c9f5b79a5e0ee36963f328e99 (patch)
tree48b869caf68dcafc557e8a4bea2dd802abc06936
parent1a1be2e82b53e70e85133466bdbbf0807c1a4b49 (diff)
automatic import of python-regipy
-rw-r--r--.gitignore1
-rw-r--r--python-regipy.spec112
-rw-r--r--sources1
3 files changed, 114 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..4006921 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/regipy-3.1.5.tar.gz
diff --git a/python-regipy.spec b/python-regipy.spec
new file mode 100644
index 0000000..0cc3773
--- /dev/null
+++ b/python-regipy.spec
@@ -0,0 +1,112 @@
+%global _empty_manifest_terminate_build 0
+Name: python-regipy
+Version: 3.1.5
+Release: 1
+Summary: Python Registry Parser
+License: MIT
+URL: https://github.com/mkorman90/regipy/
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/0a/51/1cdf073e058cefc817ffa6309653b15ec89b2e55cf73984f89d9478b85c3/regipy-3.1.5.tar.gz
+BuildArch: noarch
+
+Requires: python3-construct
+Requires: python3-attrs
+Requires: python3-inflection
+Requires: python3-pytz
+Requires: python3-click
+Requires: python3-tabulate
+Requires: python3-click
+Requires: python3-tabulatelibfwsi-python
+Requires: python3-pytest
+Requires: python3-pytest-flake8
+
+%description
+Regipy is a python library for parsing offline registry hives!
+Features:
+* Use as a library
+* Recurse over the registry hive, from root or a given path and get all subkeys and values
+* Read specific subkeys and values
+* Apply transaction logs on a registry hive
+* Command Line Tools:
+ * Dump an entire registry hive to json
+ * Apply transaction logs on a registry hive
+ * Compare registry hives
+ * Execute plugins from a robust plugin system (i.e: amcache, shimcache, extract computer name...)
+
+%package -n python3-regipy
+Summary: Python Registry Parser
+Provides: python-regipy
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-regipy
+Regipy is a python library for parsing offline registry hives!
+Features:
+* Use as a library
+* Recurse over the registry hive, from root or a given path and get all subkeys and values
+* Read specific subkeys and values
+* Apply transaction logs on a registry hive
+* Command Line Tools:
+ * Dump an entire registry hive to json
+ * Apply transaction logs on a registry hive
+ * Compare registry hives
+ * Execute plugins from a robust plugin system (i.e: amcache, shimcache, extract computer name...)
+
+%package help
+Summary: Development documents and examples for regipy
+Provides: python3-regipy-doc
+%description help
+Regipy is a python library for parsing offline registry hives!
+Features:
+* Use as a library
+* Recurse over the registry hive, from root or a given path and get all subkeys and values
+* Read specific subkeys and values
+* Apply transaction logs on a registry hive
+* Command Line Tools:
+ * Dump an entire registry hive to json
+ * Apply transaction logs on a registry hive
+ * Compare registry hives
+ * Execute plugins from a robust plugin system (i.e: amcache, shimcache, extract computer name...)
+
+%prep
+%autosetup -n regipy-3.1.5
+
+%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-regipy -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Wed May 10 2023 Python_Bot <Python_Bot@openeuler.org> - 3.1.5-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..a949b1b
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+c622cd5d0a5adc6184a0b6242a546f18 regipy-3.1.5.tar.gz