summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-05 12:08:25 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-05 12:08:25 +0000
commitf1a83e625b6363868ab01b8ae922cee6f3a59469 (patch)
tree9ab97481a787677bf6a19dcb46cece5240d94e50
parentee88d1ca8b5a67ae3487102afdea6c6f4621044c (diff)
automatic import of python-clipboard-sync-clientopeneuler20.03
-rw-r--r--.gitignore1
-rw-r--r--python-clipboard-sync-client.spec149
-rw-r--r--sources1
3 files changed, 151 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..18a51d7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/clipboard_sync_client-0.0.29.tar.gz
diff --git a/python-clipboard-sync-client.spec b/python-clipboard-sync-client.spec
new file mode 100644
index 0000000..56ca3f8
--- /dev/null
+++ b/python-clipboard-sync-client.spec
@@ -0,0 +1,149 @@
+%global _empty_manifest_terminate_build 0
+Name: python-clipboard-sync-client
+Version: 0.0.29
+Release: 1
+Summary: client for sync clipboard between different computers
+License: MIT
+URL: https://github.com/zkytech/cross_platform_clipboard_sync
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/c2/de/d7fa28d53627330181711cf981b625c63705bbb9a8846acba049b608e1cd/clipboard_sync_client-0.0.29.tar.gz
+BuildArch: noarch
+
+Requires: python3-pyperclip
+Requires: python3-socketio
+Requires: python3-requests
+Requires: python3-urllib3
+Requires: python3-websocket-client
+
+%description
+
+# 跨平台剪贴板同步工具
+
+本项目是一个跨平台的剪贴板同步工具,目前仅支持文本同步
+
+> 移动端,可通过tasker(安卓)、快捷指令(iOS)调用api进行同步
+
+## 服务端
+
+
+
+```bash
+docker run -d --restart=always -p 主机端口:8080 zhangkunyuan/clipboard-sync-server --access_token 5577755
+```
+
+## 客户端
+
+> 请确保系统内python3、pip均已安装
+
+- [linux使用教程](./client/doc/linux.md)
+- [windows使用教程](./client/doc/windows.md)
+
+
+
+
+
+%package -n python3-clipboard-sync-client
+Summary: client for sync clipboard between different computers
+Provides: python-clipboard-sync-client
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-clipboard-sync-client
+
+# 跨平台剪贴板同步工具
+
+本项目是一个跨平台的剪贴板同步工具,目前仅支持文本同步
+
+> 移动端,可通过tasker(安卓)、快捷指令(iOS)调用api进行同步
+
+## 服务端
+
+
+
+```bash
+docker run -d --restart=always -p 主机端口:8080 zhangkunyuan/clipboard-sync-server --access_token 5577755
+```
+
+## 客户端
+
+> 请确保系统内python3、pip均已安装
+
+- [linux使用教程](./client/doc/linux.md)
+- [windows使用教程](./client/doc/windows.md)
+
+
+
+
+
+%package help
+Summary: Development documents and examples for clipboard-sync-client
+Provides: python3-clipboard-sync-client-doc
+%description help
+
+# 跨平台剪贴板同步工具
+
+本项目是一个跨平台的剪贴板同步工具,目前仅支持文本同步
+
+> 移动端,可通过tasker(安卓)、快捷指令(iOS)调用api进行同步
+
+## 服务端
+
+
+
+```bash
+docker run -d --restart=always -p 主机端口:8080 zhangkunyuan/clipboard-sync-server --access_token 5577755
+```
+
+## 客户端
+
+> 请确保系统内python3、pip均已安装
+
+- [linux使用教程](./client/doc/linux.md)
+- [windows使用教程](./client/doc/windows.md)
+
+
+
+
+
+%prep
+%autosetup -n clipboard-sync-client-0.0.29
+
+%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-clipboard-sync-client -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Fri May 05 2023 Python_Bot <Python_Bot@openeuler.org> - 0.0.29-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..c8d79f3
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+9e1114f26e7cc2fd3d5f964dca5f0e0c clipboard_sync_client-0.0.29.tar.gz