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