%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 - 0.19.16-1 - Package Spec generated