Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.0:Ports
python-mitmproxy
python-mitmproxy.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-mitmproxy.spec of Package python-mitmproxy
# # spec file for package python-mitmproxy # # Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %define skip_python2 1 %define py_name mitmproxy Name: python-mitmproxy Version: 3.0.4 Release: 0 Summary: An SSL-capable man-in-the-middle proxy License: MIT Group: Development/Languages/Python Url: https://mitmproxy.org Source0: https://github.com/mitmproxy/mitmproxy/archive/v%{version}.tar.gz#/%{py_name}-%{version}.tar.gz Source1: %{name}-rpmlintrc BuildRequires: %{python_module Sphinx} BuildRequires: %{python_module brotlipy} BuildRequires: %{python_module certifi} BuildRequires: %{python_module devel >= 3.5} BuildRequires: %{python_module hyperframe} BuildRequires: %{python_module pyOpenSSL} BuildRequires: %{python_module pyasn1} BuildRequires: %{python_module setuptools >= 11.3} BuildRequires: %{python_module sphinxcontrib-documentedlist} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-Flask >= 0.10.1 Requires: python-Pillow >= 3.2 Requires: python-base >= 3.5 Requires: python-blinker >= 1.4 Requires: python-brotlipy >= 0.6.0 Requires: python-certifi >= 2015.11.20.1 Requires: python-click >= 6.2 Requires: python-construct >= 2.8 Requires: python-cryptography >= 2.1.4 Requires: python-cssutils >= 1.0.1 Requires: python-h11 >= 0.7.0 Requires: python-h2 >= 3.0.1 Requires: python-html2text >= 2016.1.8 Requires: python-hyperframe >= 5.1.0 Requires: python-jsbeautifier >= 1.6.3 Requires: python-kaitaistruct >= 0.7 Requires: python-ldap3 >= 2.4 Requires: python-passlib >= 1.6.5 Requires: python-pyOpenSSL >= 17.5 Requires: python-pyasn1 >= 0.3.1 Requires: python-pyparsing >= 2.1.3 Requires: python-pyperclip >= 1.6.0 Requires: python-requests >= 2.9.1 Requires: python-ruamel.yaml >= 0.13.2 Requires: python-sortedcontainers >= 1.5.4 Requires: python-tornado >= 4.3 Requires: python-urwid >= 2.0.1 Requires: python-watchdog >= 0.8.3 Requires: python-wsproto >= 0.11.0 BuildArch: noarch %python_subpackages %description mitmproxy is an SSL-capable man-in-the-middle HTTP proxy. It provides a console interface that allows traffic flows to be inspected and edited on the fly. mitmdump is the command-line version of mitmproxy, with the same functionality but without the frills. Think tcpdump for HTTP. Features: * Intercept and modify HTTP traffic on the fly * Save HTTP conversations for later replay and analysis * Replay both HTTP clients and servers * Make scripted changes to HTTP traffic using Python * SSL interception certs generated on the fly %prep %setup -q -n %{py_name}-%{version} # fix non-executable-script error for file in {ASWBXMLCodePage,InvalidDataException,ASWBXMLByteQueue,GlobalTokens,ASWBXML,ASCommandResponse} do sed -i "1d" mitmproxy/contrib/wbxml/$file.py done %build %python_build %install %python_install %python_expand rm -rf %{buildroot}%{$python_sitelib}/%{py_name}/contrib/kaitaistruct %fdupes %{buildroot} %files %{python_files} %doc LICENSE README.rst %{_bindir}/mitmdump %{_bindir}/mitmproxy %{_bindir}/mitmweb %{_bindir}/pathoc %{_bindir}/pathod %{python_sitelib}/mitmproxy* %{python_sitelib}/pathod %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor