63358c
%{?python_enable_dependency_generator}
63358c
%global srcname waitress
63358c
63358c
%global _docdir_fmt %{name}
63358c
63358c
Name:           python-%{srcname}
63358c
Version:        1.4.4
63358c
Release:        2%{?dist}
63358c
Summary:        Waitress WSGI server
63358c
63358c
License:        ZPLv2.1
63358c
URL:            https://github.com/Pylons/%{srcname}
63358c
Source0:        v%{version}-nodocs.tar.gz
63358c
# Upstream ships non free docs files.
63358c
# We do not even want them in our src.rpms
63358c
# So we remove them before uploading.
63358c
#
63358c
# Download the upstream tarball and invoke this script while in the
63358c
# tarball's directory:
63358c
# ./generate-tarball.sh 1.0
63358c
#
63358c
Source1: generate-tarball.sh
63358c
63358c
BuildArch:      noarch
63358c
63358c
# No docs as we don't have packaged pylons theme for sphinx
63358c
63358c
%global _description \
63358c
Waitress is meant to be a production-quality pure-Python WSGI server with\
63358c
very acceptable performance. It has no dependencies except ones which live\
63358c
in the Python standard library. It runs on CPython on Unix and Windows under\
63358c
Python 2.6+ and Python 3.3+. It is also known to run on PyPy 1.6.0+ on UNIX.\
63358c
It supports HTTP/1.0 and HTTP/1.1.
63358c
63358c
%description %{_description}
63358c
63358c
%package -n python3-%{srcname}
63358c
Summary:        Waitress WSGI server
63358c
BuildRequires:  python3-devel
63358c
BuildRequires:  python3-setuptools
63358c
BuildRequires:  python3-nose
63358c
BuildRequires:  python3-coverage
63358c
63358c
%description -n python3-%{srcname} %{_description}
63358c
63358c
Python 3 version.
63358c
63358c
%prep
63358c
%autosetup -n %{srcname}-%{version}-nodocs
63358c
63358c
%build
63358c
%py3_build
63358c
63358c
%install
63358c
%py3_install
63358c
63358c
#check
63358c
# disable checks for now as they fail trying to lookup localhost in koji.
63358c
#
63358c
63358c
%files -n python3-%{srcname}
63358c
%license COPYRIGHT.txt LICENSE.txt
63358c
%doc README.rst CHANGES.txt
63358c
%{_bindir}/waitress-serve
63358c
%{python3_sitelib}/%{srcname}/
63358c
%{python3_sitelib}/%{srcname}-*.egg-info/
63358c
63358c
%changelog
63358c
* Wed Sep 15 2021 Kaleb S. KEITHLEY <kkeithle [at] redhat.com> - 1.4.4-2
63358c
- rebuild from git+lookaside
63358c
63358c
* Thu Sep 10 2020 Joel Capitao <jcapitao@redhat.com> - 1.4.4-1
63358c
- Update to 1.4.4
63358c
63358c
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.3-3
63358c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
63358c
63358c
* Sat May 23 2020 Miro Hrončok <mhroncok@redhat.com> - 1.4.3-2
63358c
- Rebuilt for Python 3.9
63358c
63358c
* Fri Feb 07 2020 Lorenzo Gil Sanchez <lorenzo.gil.sanchez@gmail.com> - 1.4.3-1
63358c
- Update to 1.4.3 Fixes bug #1785591
63358c
63358c
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.2-2
63358c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
63358c
63358c
* Mon Jan 20 2020 Lorenzo Gil Sanchez <lorenzo.gil.sanchez@gmail.com> - 1.4.2-1
63358c
- Update to 1.4.2 Fixes bugs #1785591 #1789807 #1789809 #1789810 #1791415
63358c
  #1791416 #1791417 #1791420 #1791421 #1791422 #1791423
63358c
63358c
* Thu Jan 16 2020 Lorenzo Gil Sanchez <lorenzo.gil.sanchez@gmail.com> - 1.4.1-1
63358c
- Update to 1.4.1 Fixes bug #1785591
63358c
63358c
* Wed Dec 25 2019 Lorenzo Gil Sanchez <lorenzo.gil.sanchez@gmail.com> - 1.4.0-1
63358c
- Update to 1.4.0 Fixes bug #1785591
63358c
63358c
* Sun Oct 06 2019 Kevin Fenzi <kevin@scrye.com> - 1.3.1-1
63358c
- Update to 1.3.1. Fixes bug #1747075
63358c
63358c
* Mon Sep 09 2019 Miro Hrončok <mhroncok@redhat.com> - 1.2.1-5
63358c
- Subpackage python2-waitress has been removed
63358c
  See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
63358c
63358c
* Sat Aug 17 2019 Miro Hrončok <mhroncok@redhat.com> - 1.2.1-4
63358c
- Rebuilt for Python 3.8
63358c
63358c
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-3
63358c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
63358c
63358c
* Sat Jun 29 2019 Kevin Fenzi <kevin@scrye.com> - 1.2.1-2
63358c
- Remove non free docs from src.rpm and provide script to do so before upload.
63358c
- Fixes bug #1684335
63358c
63358c
* Tue Feb 05 2019 Lorenzo Gil Sanchez <lorenzo.gil.sanchez@gmail.com> - 1.2.1-1
63358c
- Update to 1.2.1 (#1667466)
63358c
63358c
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-5
63358c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
63358c
63358c
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-4
63358c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
63358c
63358c
* Sun Jun 17 2018 Miro Hrončok <mhroncok@redhat.com> - 1.1.0-3
63358c
- Rebuilt for Python 3.7
63358c
63358c
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-2
63358c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
63358c
63358c
* Sat Nov 11 2017 Lorenzo Gil Sanchez <lorenzo.gil.sanchez@gmail.com> - 1.1.0-1
63358c
- Update to 1.1.0 (#1504455)
63358c
63358c
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-2
63358c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
63358c
63358c
* Sat Feb 18 2017 Lorenzo Gil Sanchez <lorenzo.gil.sanchez@gmail.com> - 1.0.2-1
63358c
- Update to 1.0.2. Fixes bug #1419297
63358c
63358c
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-3
63358c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
63358c
63358c
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 1.0.1-2
63358c
- Rebuild for Python 3.6
63358c
63358c
* Tue Oct 25 2016 Kevin Fenzi <kevin@scrye.com> - 1.0.1-1
63358c
- Update to 1.0.1. Fixes bug #1387885
63358c
63358c
* Sat Sep 03 2016 Kevin Fenzi <kevin@scrye.com> - 1.0.0-1
63358c
- Update to 1.0.0. Fixes bug #1372330
63358c
63358c
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.0-4
63358c
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
63358c
63358c
* Wed Jun 29 2016 Igor Gnatenko <ignatenko@redhat.com> - 0.9.0-3
63358c
- Modernize spec to comply with new packaging guidelines
63358c
63358c
* Thu May 26 2016 Lorenzo Gil Sanchez <lorenzo.gil.sanchez@gmail.com> - 0.9.0-2
63358c
- Fixed Source0 to point to new PyPi predictable URL format
63358c
63358c
* Thu May 5 2016 Lorenzo Gil Sanchez <lorenzo.gil.sanchez@gmail.com> - 0.9.0-1
63358c
- Update to 0.9.0
63358c
- Fixed 2 warnings from fedpkg lint
63358c
63358c
* Sun Apr 10 2016 Kevin Fenzi <kevin@scrye.com> - 0.9.0b1-1
63358c
- Update to 0.9.0b1. Fixes bug #1325661
63358c
63358c
* Mon Mar 21 2016 Lorenzo Gil Sanchez <lorenzo.gil.sanchez@gmail.com> - 0.9.0b0-1
63358c
- New (beta) version
63358c
63358c
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.10-3
63358c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
63358c
63358c
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.10-2
63358c
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
63358c
63358c
* Wed Sep 16 2015 Ralph Bean <rbean@redhat.com> - 0.8.10-1
63358c
- new version
63358c
63358c
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.9-6
63358c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
63358c
63358c
* Mon Apr 27 2015 Ralph Bean <rbean@redhat.com> - 0.8.9-5
63358c
- Conditionalize the python3 subpackage.
63358c
63358c
* Mon Jul 14 2014 Lorenzo Gil Sanchez <lorenzo.gil.sanchez@gmail.com> - 0.8.9-4
63358c
- Fix comment in description section about versioned directory for docs
63358c
- Use __python2 macro instead of __python
63358c
63358c
* Sat Jun 14 2014 Lorenzo Gil Sanchez <lorenzo.gil.sanchez@gmail.com> - 0.8.9-3
63358c
- Run the tests with nose to avoid unclosed socket errors
63358c
63358c
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.9-2
63358c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
63358c
63358c
* Sun May 25 2014 Lorenzo Gil Sanchez <lorenzo.gil.sanchez@gmail.com> - 0.8.9-1
63358c
- Update to upstream
63358c
63358c
* Wed May 14 2014 Bohuslav Kabrda <bkabrda@redhat.com> - 0.8.8-2
63358c
- Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4
63358c
63358c
* Sun Dec 22 2013 Lorenzo Gil Sanchez <lorenzo.gil.sanchez@gmail.com> - 0.8.8-1
63358c
- Update to upstream
63358c
63358c
* Sun Dec 8 2013 Lorenzo Gil Sanchez <lorenzo.gil.sanchez@gmail.com> - 0.8.5-3
63358c
- Remove python3 dependency on the python-waitress python2 package
63358c
63358c
* Wed Aug 7 2013 Lorenzo Gil Sanchez <lorenzo.gil.sanchez@gmail.com> - 0.8.5-2
63358c
- Update description to use the new Fedora 20 _pkgdocdir macro, which
63358c
  is also defined for backwards cmompatibility
63358c
63358c
* Wed Jul 31 2013 Lorenzo Gil Sanchez <lorenzo.gil.sanchez@gmail.com> - 0.8.5-1
63358c
- Update to upstream
63358c
63358c
* Sat Jul 6 2013 Lorenzo Gil Sanchez <lorenzo.gil.sanchez@gmail.com> - 0.8.4-1
63358c
- Update to upstream
63358c
- Added waitress-serve as a binary executable in /usr/bin
63358c
63358c
* Sun May 12 2013 Lorenzo Gil Sanchez <lorenzo.gil.sanchez@gmail.com> - 0.8.3-1
63358c
- Update to upstream
63358c
63358c
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.2-4
63358c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
63358c
63358c
* Wed Nov 28 2012 Lorenzo Gil Sanchez <lorenzo.gil.sanchez@gmail.com> - 0.8.2-3
63358c
- Use version macro in the Source0 to avoid duplicates
63358c
* Sat Nov 24 2012 Lorenzo Gil Sanchez <lorenzo.gil.sanchez@gmail.com> - 0.8.2-2
63358c
- Point to the local docs directory in the description for the documentation
63358c
- Remove py3dir before copying the files to it in the prep phase
63358c
- Remove -O1 in the build phase as it is not used anymore in the Fedora
63358c
  Packaging guidelines
63358c
- Remove files rpmlint doesn't like
63358c
* Mon Nov 19 2012 Lorenzo Gil Sanchez <lorenzo.gil.sanchez@gmail.com> - 0.8.2-1
63358c
- New package.