summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--python-lyrebird.spec117
-rw-r--r--sources1
3 files changed, 119 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..651ff8e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/lyrebird-2.13.0.tar.gz
diff --git a/python-lyrebird.spec b/python-lyrebird.spec
new file mode 100644
index 0000000..2f53d1e
--- /dev/null
+++ b/python-lyrebird.spec
@@ -0,0 +1,117 @@
+%global _empty_manifest_terminate_build 0
+Name: python-lyrebird
+Version: 2.13.0
+Release: 1
+Summary: please add a summary manually as the author left a blank one
+License: MIT License
+URL: https://github.com/meituan/lyrebird
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/85/f3/454dfe6c3e2ae77f366bc49d42419a976123b4b8996f3dd7328da7c1195b/lyrebird-2.13.0.tar.gz
+BuildArch: noarch
+
+
+%description
+- [简介](#简介)
+- [快速开始](#快速开始)
+ - [环境要求](#环境要求)
+ - [安装](#安装)
+ - [启动](#启动)
+ - [连接移动设备](#连接移动设备)
+ - [查看及录制数据](#查看及录制数据)
+ - [使用 Mock 数据](#使用Mock数据)
+ - [Mock 数据管理](#Mock数据管理)
+- [基本命令](#基本命令)
+- [感谢](#感谢)
+# 简介
+**Lyrebird** 是一个基于拦截以及模拟 HTTP/HTTPS 网络请求的面向移动应用的插件式测试平台。
+**Lyrebird** 不只提供 UI 操作,也可以通过 API 控制所有功能。
+**Lyrebird** 也可作为服务端接口测试 mock 工具使用。
+**Lyrebird** 可以通过**插件**扩展能力,实现埋点自动测试、API 覆盖率统计、移动设备及 App 控制和信息记录、自定义检查脚本等一系列功能。
+
+%package -n python3-lyrebird
+Summary: please add a summary manually as the author left a blank one
+Provides: python-lyrebird
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-lyrebird
+- [简介](#简介)
+- [快速开始](#快速开始)
+ - [环境要求](#环境要求)
+ - [安装](#安装)
+ - [启动](#启动)
+ - [连接移动设备](#连接移动设备)
+ - [查看及录制数据](#查看及录制数据)
+ - [使用 Mock 数据](#使用Mock数据)
+ - [Mock 数据管理](#Mock数据管理)
+- [基本命令](#基本命令)
+- [感谢](#感谢)
+# 简介
+**Lyrebird** 是一个基于拦截以及模拟 HTTP/HTTPS 网络请求的面向移动应用的插件式测试平台。
+**Lyrebird** 不只提供 UI 操作,也可以通过 API 控制所有功能。
+**Lyrebird** 也可作为服务端接口测试 mock 工具使用。
+**Lyrebird** 可以通过**插件**扩展能力,实现埋点自动测试、API 覆盖率统计、移动设备及 App 控制和信息记录、自定义检查脚本等一系列功能。
+
+%package help
+Summary: Development documents and examples for lyrebird
+Provides: python3-lyrebird-doc
+%description help
+- [简介](#简介)
+- [快速开始](#快速开始)
+ - [环境要求](#环境要求)
+ - [安装](#安装)
+ - [启动](#启动)
+ - [连接移动设备](#连接移动设备)
+ - [查看及录制数据](#查看及录制数据)
+ - [使用 Mock 数据](#使用Mock数据)
+ - [Mock 数据管理](#Mock数据管理)
+- [基本命令](#基本命令)
+- [感谢](#感谢)
+# 简介
+**Lyrebird** 是一个基于拦截以及模拟 HTTP/HTTPS 网络请求的面向移动应用的插件式测试平台。
+**Lyrebird** 不只提供 UI 操作,也可以通过 API 控制所有功能。
+**Lyrebird** 也可作为服务端接口测试 mock 工具使用。
+**Lyrebird** 可以通过**插件**扩展能力,实现埋点自动测试、API 覆盖率统计、移动设备及 App 控制和信息记录、自定义检查脚本等一系列功能。
+
+%prep
+%autosetup -n lyrebird-2.13.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-lyrebird -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Fri May 05 2023 Python_Bot <Python_Bot@openeuler.org> - 2.13.0-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..a0d2b32
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+5a079428575bf4e64818bfa8ed7cfec4 lyrebird-2.13.0.tar.gz