diff --git a/python-selenium-wire.spec b/python-selenium-wire.spec new file mode 100644 index 0000000..fbe31e5 --- /dev/null +++ b/python-selenium-wire.spec @@ -0,0 +1,63 @@ +%global _empty_manifest_terminate_build 0 +Name: python-selenium-wire +Version: 5.1.0 +Release: 1 +Summary: Extends Selenium to give you the ability to inspect requests made by the browser. +License: MIT +URL: https://github.com/wkeeling/selenium-wire +Source0: https://files.pythonhosted.org/packages/9f/00/60b39e8a1efe6919d1390f07d84a3eeba4aeae5b829f2f848344c798f783/selenium-wire-5.1.0.tar.gz +BuildArch: noarch + +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pbr +BuildRequires: python3-pip +BuildRequires: python3-wheel +BuildRequires: python3-hatchling + +%description +Extends Selenium to give you the ability to inspect requests made by the browser. + +%package -n python3-selenium-wire +Summary: Extends Selenium to give you the ability to inspect requests made by the browser. +Provides: python-selenium-wire +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-hatchling +%description -n python3-selenium-wire +Extends Selenium to give you the ability to inspect requests made by the browser. + +%package help +Summary: Development documents and examples for selenium wire. +Provides: python3-selenium-wire-doc + +%description help +Development documents and examples for selenium wire. + +%prep +%autosetup -n selenium-wire-%{version} + +%build +%pyproject_build + +%install +%pyproject_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 + +%files -n python3-selenium-wire +%doc README.rst AUTHORS.rst CONTRIBUTING.rst +%license LICENSE +%{python3_sitelib}/seleniumwire +%{python3_sitelib}/selenium_wire*.dist-info/ + + +%files help +%{_docdir}/* + +%changelog +* Mon Nov 6 2023 Dongxing Wang - 5.1.0-1 +- Init package. diff --git a/selenium-wire-5.1.0.tar.gz b/selenium-wire-5.1.0.tar.gz new file mode 100644 index 0000000..573d9bc Binary files /dev/null and b/selenium-wire-5.1.0.tar.gz differ