summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-05 12:14:25 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-05 12:14:25 +0000
commit234e366785df1628ad28c0ca26c464eda8e1f96d (patch)
tree57b24237f3983f606c54c9c5c82afc26add80407
parent805ab9e89c4677c8923e6f793350a4408ea42135 (diff)
automatic import of python-zeroconf-py2compatopeneuler20.03
-rw-r--r--.gitignore1
-rw-r--r--python-zeroconf-py2compat.spec110
-rw-r--r--sources1
3 files changed, 112 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..a630217 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/zeroconf-py2compat-0.19.16.tar.gz
diff --git a/python-zeroconf-py2compat.spec b/python-zeroconf-py2compat.spec
new file mode 100644
index 0000000..39c9f8e
--- /dev/null
+++ b/python-zeroconf-py2compat.spec
@@ -0,0 +1,110 @@
+%global _empty_manifest_terminate_build 0
+Name: python-zeroconf-py2compat
+Version: 0.19.16
+Release: 1
+Summary: Pure Python Multicast DNS Service Discovery Library (Bonjour/Avahi compatible)
+License: LGPL
+URL: https://github.com/learningequality/python-zeroconf
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/5c/62/88e585a69ae254d10e039b546c156755a97e8c41a7de4a18d2b8de01ce15/zeroconf-py2compat-0.19.16.tar.gz
+BuildArch: noarch
+
+Requires: python3-ifaddr
+Requires: python3-six
+
+%description
+This is a fork of pyzeroconf, Multicast DNS Service Discovery for Python,
+originally by Paul Scott-Murphy (https://github.com/paulsm/pyzeroconf),
+modified by William McBrine (https://github.com/wmcbrine/pyzeroconf),
+and then further modified (off the 0.19.1 tag, the last to support Py2.7)
+by Jamie Alexandre (https://github.com/learningequality/python-zeroconf).
+Compatible with:
+* Bonjour
+* Avahi
+Compared to some other Zeroconf/Bonjour/Avahi Python packages, python-zeroconf:
+* isn't tied to Bonjour or Avahi
+* doesn't use D-Bus
+* doesn't force you to use particular event loop or Twisted
+* is pip-installable
+
+%package -n python3-zeroconf-py2compat
+Summary: Pure Python Multicast DNS Service Discovery Library (Bonjour/Avahi compatible)
+Provides: python-zeroconf-py2compat
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-zeroconf-py2compat
+This is a fork of pyzeroconf, Multicast DNS Service Discovery for Python,
+originally by Paul Scott-Murphy (https://github.com/paulsm/pyzeroconf),
+modified by William McBrine (https://github.com/wmcbrine/pyzeroconf),
+and then further modified (off the 0.19.1 tag, the last to support Py2.7)
+by Jamie Alexandre (https://github.com/learningequality/python-zeroconf).
+Compatible with:
+* Bonjour
+* Avahi
+Compared to some other Zeroconf/Bonjour/Avahi Python packages, python-zeroconf:
+* isn't tied to Bonjour or Avahi
+* doesn't use D-Bus
+* doesn't force you to use particular event loop or Twisted
+* is pip-installable
+
+%package help
+Summary: Development documents and examples for zeroconf-py2compat
+Provides: python3-zeroconf-py2compat-doc
+%description help
+This is a fork of pyzeroconf, Multicast DNS Service Discovery for Python,
+originally by Paul Scott-Murphy (https://github.com/paulsm/pyzeroconf),
+modified by William McBrine (https://github.com/wmcbrine/pyzeroconf),
+and then further modified (off the 0.19.1 tag, the last to support Py2.7)
+by Jamie Alexandre (https://github.com/learningequality/python-zeroconf).
+Compatible with:
+* Bonjour
+* Avahi
+Compared to some other Zeroconf/Bonjour/Avahi Python packages, python-zeroconf:
+* isn't tied to Bonjour or Avahi
+* doesn't use D-Bus
+* doesn't force you to use particular event loop or Twisted
+* is pip-installable
+
+%prep
+%autosetup -n zeroconf-py2compat-0.19.16
+
+%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-zeroconf-py2compat -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Fri May 05 2023 Python_Bot <Python_Bot@openeuler.org> - 0.19.16-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..f6d4ef6
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+01a74857927518e4cdd10886c6f75d71 zeroconf-py2compat-0.19.16.tar.gz