From 7db19f556c13f6b749231189ab86a1161813eb78 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Wed, 10 May 2023 09:41:59 +0000 Subject: automatic import of python-onefuzztypes --- .gitignore | 1 + python-onefuzztypes.spec | 172 +++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 174 insertions(+) create mode 100644 python-onefuzztypes.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..8e03fdb 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/onefuzztypes-8.1.0.tar.gz diff --git a/python-onefuzztypes.spec b/python-onefuzztypes.spec new file mode 100644 index 0000000..47c5195 --- /dev/null +++ b/python-onefuzztypes.spec @@ -0,0 +1,172 @@ +%global _empty_manifest_terminate_build 0 +Name: python-onefuzztypes +Version: 8.1.0 +Release: 1 +Summary: Onefuzz Types Library +License: MIT +URL: https://github.com/microsoft/onefuzz/ +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/0c/7e/ae09bd0739c45692bf6d3fbd2e0139c8f36024d77173c8d443c359d848c5/onefuzztypes-8.1.0.tar.gz +BuildArch: noarch + +Requires: python3-pydantic + +%description +# Python types used by OneFuzz + +See [Onefuzz SDK](https://github.com/microsoft/onefuzz) + +# Contributing + +This project welcomes contributions and suggestions. Most contributions require you to +agree to a Contributor License Agreement (CLA) declaring that you have the right to, +and actually do, grant us the rights to use your contribution. For details, visit +https://cla.microsoft.com. + +When you submit a pull request, a CLA-bot will automatically determine whether you need +to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the +instructions provided by the bot. You will only need to do this once across all repositories using our CLA. + +This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/). +For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) +or contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments. + +# Privacy & Cookies + +[Microsoft Privacy Statement](https://go.microsoft.com/fwlink/?LinkId=521839) + +# Reporting Security Issues + +Security issues and bugs should be reported privately, via email, to the Microsoft Security +Response Center (MSRC) at [secure@microsoft.com](mailto:secure@microsoft.com). You should +receive a response within 24 hours. If for some reason you do not, please follow up via +email to ensure we received your original message. Further information, including the +[MSRC PGP](https://technet.microsoft.com/en-us/security/dn606155) key, can be found in +the [Security TechCenter](https://technet.microsoft.com/en-us/security/default). + + + + +%package -n python3-onefuzztypes +Summary: Onefuzz Types Library +Provides: python-onefuzztypes +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-onefuzztypes +# Python types used by OneFuzz + +See [Onefuzz SDK](https://github.com/microsoft/onefuzz) + +# Contributing + +This project welcomes contributions and suggestions. Most contributions require you to +agree to a Contributor License Agreement (CLA) declaring that you have the right to, +and actually do, grant us the rights to use your contribution. For details, visit +https://cla.microsoft.com. + +When you submit a pull request, a CLA-bot will automatically determine whether you need +to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the +instructions provided by the bot. You will only need to do this once across all repositories using our CLA. + +This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/). +For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) +or contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments. + +# Privacy & Cookies + +[Microsoft Privacy Statement](https://go.microsoft.com/fwlink/?LinkId=521839) + +# Reporting Security Issues + +Security issues and bugs should be reported privately, via email, to the Microsoft Security +Response Center (MSRC) at [secure@microsoft.com](mailto:secure@microsoft.com). You should +receive a response within 24 hours. If for some reason you do not, please follow up via +email to ensure we received your original message. Further information, including the +[MSRC PGP](https://technet.microsoft.com/en-us/security/dn606155) key, can be found in +the [Security TechCenter](https://technet.microsoft.com/en-us/security/default). + + + + +%package help +Summary: Development documents and examples for onefuzztypes +Provides: python3-onefuzztypes-doc +%description help +# Python types used by OneFuzz + +See [Onefuzz SDK](https://github.com/microsoft/onefuzz) + +# Contributing + +This project welcomes contributions and suggestions. Most contributions require you to +agree to a Contributor License Agreement (CLA) declaring that you have the right to, +and actually do, grant us the rights to use your contribution. For details, visit +https://cla.microsoft.com. + +When you submit a pull request, a CLA-bot will automatically determine whether you need +to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the +instructions provided by the bot. You will only need to do this once across all repositories using our CLA. + +This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/). +For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) +or contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments. + +# Privacy & Cookies + +[Microsoft Privacy Statement](https://go.microsoft.com/fwlink/?LinkId=521839) + +# Reporting Security Issues + +Security issues and bugs should be reported privately, via email, to the Microsoft Security +Response Center (MSRC) at [secure@microsoft.com](mailto:secure@microsoft.com). You should +receive a response within 24 hours. If for some reason you do not, please follow up via +email to ensure we received your original message. Further information, including the +[MSRC PGP](https://technet.microsoft.com/en-us/security/dn606155) key, can be found in +the [Security TechCenter](https://technet.microsoft.com/en-us/security/default). + + + + +%prep +%autosetup -n onefuzztypes-8.1.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-onefuzztypes -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Wed May 10 2023 Python_Bot - 8.1.0-1 +- Package Spec generated diff --git a/sources b/sources new file mode 100644 index 0000000..0706ddf --- /dev/null +++ b/sources @@ -0,0 +1 @@ +6105bde72daabd0de7f147eaa997cd9d onefuzztypes-8.1.0.tar.gz -- cgit v1.2.3