%global _empty_manifest_terminate_build 0 Name: python-frida Version: 16.0.17 Release: 1 Summary: Dynamic instrumentation toolkit for developers, reverse-engineers, and security researchers License: wxWindows Library Licence, Version 3.1 URL: https://frida.re Source0: https://mirrors.nju.edu.cn/pypi/web/packages/25/0e/79cee8386a045cf8aec4fbd1a477795070f238e2751115cc6bebb9ac2aa3/frida-16.0.17.tar.gz Requires: python3-typing-extensions %description # frida-python Python bindings for [Frida](https://frida.re). # Some tips during development To build and test your own wheel, do something along the following lines: ``` set FRIDA_VERSION=16.0.1-dev.7 # from C:\src\frida\build\tmp-windows\frida-version.h set FRIDA_EXTENSION=C:\src\frida\build\frida-windows\x64-Release\lib\python3.10\site-packages\_frida.pyd cd C:\src\frida\frida-python\ pip wheel . pip uninstall frida pip install frida-16.0.1.dev7-cp34-abi3-win_amd64.whl ``` %package -n python3-frida Summary: Dynamic instrumentation toolkit for developers, reverse-engineers, and security researchers Provides: python-frida BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-pip BuildRequires: python3-cffi BuildRequires: gcc BuildRequires: gdb %description -n python3-frida # frida-python Python bindings for [Frida](https://frida.re). # Some tips during development To build and test your own wheel, do something along the following lines: ``` set FRIDA_VERSION=16.0.1-dev.7 # from C:\src\frida\build\tmp-windows\frida-version.h set FRIDA_EXTENSION=C:\src\frida\build\frida-windows\x64-Release\lib\python3.10\site-packages\_frida.pyd cd C:\src\frida\frida-python\ pip wheel . pip uninstall frida pip install frida-16.0.1.dev7-cp34-abi3-win_amd64.whl ``` %package help Summary: Development documents and examples for frida Provides: python3-frida-doc %description help # frida-python Python bindings for [Frida](https://frida.re). # Some tips during development To build and test your own wheel, do something along the following lines: ``` set FRIDA_VERSION=16.0.1-dev.7 # from C:\src\frida\build\tmp-windows\frida-version.h set FRIDA_EXTENSION=C:\src\frida\build\frida-windows\x64-Release\lib\python3.10\site-packages\_frida.pyd cd C:\src\frida\frida-python\ pip wheel . pip uninstall frida pip install frida-16.0.1.dev7-cp34-abi3-win_amd64.whl ``` %prep %autosetup -n frida-16.0.17 %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-frida -f filelist.lst %dir %{python3_sitearch}/* %files help -f doclist.lst %{_docdir}/* %changelog * Fri Apr 21 2023 Python_Bot - 16.0.17-1 - Package Spec generated