diff options
author | CoprDistGit <infra@openeuler.org> | 2023-04-11 23:47:42 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-04-11 23:47:42 +0000 |
commit | 227c605d8c297a52ce28ea6a8b03051f9fea18d7 (patch) | |
tree | 6063f1a0a359d6d87cff7928d71da0ef66be47a0 | |
parent | 71957d3a5f8fc2d38fe8a514f38d0b16f2502e89 (diff) |
automatic import of python-ffpuppet
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-ffpuppet.spec | 91 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 93 insertions, 0 deletions
@@ -0,0 +1 @@ +/ffpuppet-0.9.2.tar.gz diff --git a/python-ffpuppet.spec b/python-ffpuppet.spec new file mode 100644 index 0000000..da46f55 --- /dev/null +++ b/python-ffpuppet.spec @@ -0,0 +1,91 @@ +%global _empty_manifest_terminate_build 0 +Name: python-ffpuppet +Version: 0.9.2 +Release: 1 +Summary: A Python module that aids in the automation of Firefox at the process level +License: MPL 2.0 +URL: https://github.com/MozillaSecurity/ffpuppet +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/0f/ce/358685dc89c1c9f902366a2d584b969a2661308cafdc445612ec12d1210e/ffpuppet-0.9.2.tar.gz +BuildArch: noarch + +Requires: python3-psutil +Requires: python3-xvfbwrapper +Requires: python3-pre-commit +Requires: python3-tox + +%description +[](https://community-tc.services.mozilla.com/api/github/v1/repository/MozillaSecurity/ffpuppet/master/latest) +[](https://codecov.io/gh/MozillaSecurity/ffpuppet) +[].num_joined_members&suffix=%20users&url=https%3A%2F%2Fmozilla.modular.im%2F_matrix%2Fclient%2Fr0%2FpublicRooms&style=flat&logo=matrix)](https://riot.im/app/#/room/#fuzzing:mozilla.org) +[](https://pypi.org/project/ffpuppet) +FFPuppet is a Python module that automates browser process related tasks to aid in fuzzing. Happy bug hunting! +Are you [fuzzing](https://firefox-source-docs.mozilla.org/tools/fuzzing/index.html) the browser? [Grizzly](https://github.com/MozillaSecurity/grizzly) can help. + +%package -n python3-ffpuppet +Summary: A Python module that aids in the automation of Firefox at the process level +Provides: python-ffpuppet +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-ffpuppet +[](https://community-tc.services.mozilla.com/api/github/v1/repository/MozillaSecurity/ffpuppet/master/latest) +[](https://codecov.io/gh/MozillaSecurity/ffpuppet) +[].num_joined_members&suffix=%20users&url=https%3A%2F%2Fmozilla.modular.im%2F_matrix%2Fclient%2Fr0%2FpublicRooms&style=flat&logo=matrix)](https://riot.im/app/#/room/#fuzzing:mozilla.org) +[](https://pypi.org/project/ffpuppet) +FFPuppet is a Python module that automates browser process related tasks to aid in fuzzing. Happy bug hunting! +Are you [fuzzing](https://firefox-source-docs.mozilla.org/tools/fuzzing/index.html) the browser? [Grizzly](https://github.com/MozillaSecurity/grizzly) can help. + +%package help +Summary: Development documents and examples for ffpuppet +Provides: python3-ffpuppet-doc +%description help +[](https://community-tc.services.mozilla.com/api/github/v1/repository/MozillaSecurity/ffpuppet/master/latest) +[](https://codecov.io/gh/MozillaSecurity/ffpuppet) +[].num_joined_members&suffix=%20users&url=https%3A%2F%2Fmozilla.modular.im%2F_matrix%2Fclient%2Fr0%2FpublicRooms&style=flat&logo=matrix)](https://riot.im/app/#/room/#fuzzing:mozilla.org) +[](https://pypi.org/project/ffpuppet) +FFPuppet is a Python module that automates browser process related tasks to aid in fuzzing. Happy bug hunting! +Are you [fuzzing](https://firefox-source-docs.mozilla.org/tools/fuzzing/index.html) the browser? [Grizzly](https://github.com/MozillaSecurity/grizzly) can help. + +%prep +%autosetup -n ffpuppet-0.9.2 + +%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-ffpuppet -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Tue Apr 11 2023 Python_Bot <Python_Bot@openeuler.org> - 0.9.2-1 +- Package Spec generated @@ -0,0 +1 @@ +571dc6359db07351151a211f8d6c86b0 ffpuppet-0.9.2.tar.gz |