summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-18 02:55:10 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-18 02:55:10 +0000
commitf7c9149dd727a758b33e20b8472113544474cb98 (patch)
tree03e6ffd2007d714454594253ad0520192f495d11
parent3807a959fb3fcf13bb7f03d1138398ac9f4e5ff8 (diff)
automatic import of python-pyqtnetworkauth
-rw-r--r--.gitignore1
-rw-r--r--python-pyqtnetworkauth.spec83
-rw-r--r--sources1
3 files changed, 85 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..e469a7d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/PyQtNetworkAuth-5.15.5.tar.gz
diff --git a/python-pyqtnetworkauth.spec b/python-pyqtnetworkauth.spec
new file mode 100644
index 0000000..8215cea
--- /dev/null
+++ b/python-pyqtnetworkauth.spec
@@ -0,0 +1,83 @@
+%global _empty_manifest_terminate_build 0
+Name: python-PyQtNetworkAuth
+Version: 5.15.5
+Release: 1
+Summary: Python bindings for the Qt Network Authorization library
+License: GPL v3
+URL: https://www.riverbankcomputing.com/software/pyqtnetworkauth/
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/85/b6/6b8f30ebd7c15ded3d91ed8d6082dee8aebaf79c4e8d5af77b1172c805c2/PyQtNetworkAuth-5.15.5.tar.gz
+
+Requires: python3-PyQtNetworkAuth-Qt5
+Requires: python3-PyQt5-sip
+Requires: python3-PyQt5
+
+%description
+PyQtNetworkAuth is a set of Python bindings for The Qt Company's Qt Network
+Authorization library. The bindings sit on top of PyQt5 and are implemented as
+a single module.
+
+%package -n python3-PyQtNetworkAuth
+Summary: Python bindings for the Qt Network Authorization library
+Provides: python-PyQtNetworkAuth
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+BuildRequires: python3-cffi
+BuildRequires: gcc
+BuildRequires: gdb
+%description -n python3-PyQtNetworkAuth
+PyQtNetworkAuth is a set of Python bindings for The Qt Company's Qt Network
+Authorization library. The bindings sit on top of PyQt5 and are implemented as
+a single module.
+
+%package help
+Summary: Development documents and examples for PyQtNetworkAuth
+Provides: python3-PyQtNetworkAuth-doc
+%description help
+PyQtNetworkAuth is a set of Python bindings for The Qt Company's Qt Network
+Authorization library. The bindings sit on top of PyQt5 and are implemented as
+a single module.
+
+%prep
+%autosetup -n PyQtNetworkAuth-5.15.5
+
+%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-PyQtNetworkAuth -f filelist.lst
+%dir %{python3_sitearch}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Thu May 18 2023 Python_Bot <Python_Bot@openeuler.org> - 5.15.5-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..acee6e8
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+cf6a79e72f5016abd46e66b96e744f7a PyQtNetworkAuth-5.15.5.tar.gz