## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec Name: linkchecker Version: 10.5.0 Release: %autorelease Summary: Check HTML documents for broken links License: GPL-2.0-or-later URL: https://linkcheck.github.io/linkchecker/ Source: %pypi_source LinkChecker BuildArch: noarch BuildRequires: gettext BuildRequires: python3-devel # For compiling the translations BuildRequires: python3dist(polib) # For the tests (subset of [tool.hatch.envs.test]) BuildRequires: python3dist(pytest) BuildRequires: python3dist(pytest-xdist) BuildRequires: python3dist(pyopenssl) BuildRequires: python3dist(parameterized) # Not packaged yet # BuildRequires: python3dist(miniboa) %description LinkChecker is a website validator. LinkChecker checks links in web documents or full websites. Features: - Recursive and multithreaded checking and site crawling - Output in colored or normal text, HTML, SQL, CSV, XML or a sitemap graph in different formats - HTTP/1.1, HTTPS, FTP, mailto: and local file links support - Restriction of link checking with regular expression filters for URLs - Proxy support - Username/password authorization for HTTP and FTP - Honors robots.txt exclusion protocol - Cookie support - HTML5 support - A command line and web interface - Various check plugins available %prep %autosetup -p1 -n LinkChecker-%{version} %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files linkcheck %check %pytest -n auto %files -f %{pyproject_files} %doc README.rst doc/changelog.txt doc/upgrading.txt %{_bindir}/linkchecker %{_mandir}/man1/linkchecker*.1* %{_mandir}/man5/linkcheckerrc.5* %lang(de) %{_mandir}/de/man1/linkchecker*.1* %lang(de) %{_mandir}/de/man5/linkcheckerrc.5* %dir %{_datadir}/linkchecker/ %doc %{_datadir}/linkchecker/examples/ %changelog ## START: Generated by rpmautospec * Tue Oct 08 2024 Charalampos Stratakis - 10.5.0-1 - Update to 10.5.0 - Fixes: rhbz#2310232 * Thu Jul 18 2024 Fedora Release Engineering - 10.4.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Sat Jun 08 2024 Python Maint - 10.4.0-3 - Rebuilt for Python 3.13 * Thu Jun 06 2024 Miro Hrončok - 10.4.0-2 - Adjust tests for recently (Python 3.13, 3.12.4+) added text/markdown mimetype - Fixes: rhbz#2279995 * Thu Jun 06 2024 Miro Hrončok - 10.4.0-1 - Update to 10.4.0 - Fixes: rhbz#2254268 * Thu Jan 25 2024 Fedora Release Engineering - 10.3.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Jan 21 2024 Fedora Release Engineering - 10.3.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Wed Nov 01 2023 Miro Hrončok - 10.3.0-2 - Replace deprecated importlib.resources.path() - Fixes: rhbz#2247194 * Wed Nov 01 2023 Miro Hrončok - 10.3.0-1 - Update to 10.3.0 - Fixes: rhbz#2247339 * Thu Jul 20 2023 Fedora Release Engineering - 10.2.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Mon Jun 19 2023 Python Maint - 10.2.1-2 - Rebuilt for Python 3.12 * Thu Mar 09 2023 Miro Hrončok - 10.2.1-1 - Update to 10.2.1 - Update the license tag to SPDX, acknowledge GPL version >2 is allowed - Fixes: rhbz#2176842 * Thu Jan 19 2023 Fedora Release Engineering - 10.1.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Thu Jul 21 2022 Fedora Release Engineering - 10.1.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon Jun 27 2022 Charalampos Stratakis - 10.1.0-1 - Update to 10.1.0 * Tue Jun 14 2022 Python Maint - 9.4.0-16.20191005.d13b3f5 - Rebuilt for Python 3.11 * Thu Jan 20 2022 Fedora Release Engineering - 9.4.0-15.20191005.d13b3f5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 9.4.0-14.20191005.d13b3f5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 9.4.0-13.20191005.d13b3f5 - Rebuilt for Python 3.10 * Tue Jan 26 2021 Fedora Release Engineering - 9.4.0-12.20191005.d13b3f5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 9.4.0-11.20191005.d13b3f5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Mon May 25 2020 Miro Hrončok - 9.4.0-10.20191005.d13b3f5 - Rebuilt for Python 3.9 * Thu Feb 06 2020 Miro Hrončok - 9.4.0-9.20191005.d13b3f5 - Update to https://github.com/linkchecker/linkchecker/pull/337 - Package is noarch now * Wed Jan 29 2020 Fedora Release Engineering - 9.4.0-8.20190422.72b85c4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Sep 05 2019 Miro Hrončok - 9.4.0-7.20190422.72b85c4 - Switch to experimental Python 3 version from https://github.com/linkchecker/linkchecker/pull/210 * Thu Jul 25 2019 Fedora Release Engineering - 9.4.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri Feb 01 2019 Fedora Release Engineering - 9.4.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Sun Dec 09 2018 Todd Zullinger - 9.4.0-4 - Workaround broken shebang due to rhbz#1335203 * Sun Dec 09 2018 Miro Hrončok - 9.4.0-3 - Update to new packaging standards * Wed Jul 25 2018 W. Michael Petullo - 9.4.0-2 - Require python-dns and python-pyxdg * Wed Jul 25 2018 W. Michael Petullo - 9.4.0-1 - Update to 9.4.0 - Move COPYING from %doc to %license - Drop make -C doc/html/ - Drop gui package * Fri Jul 13 2018 Fedora Release Engineering - 9.3.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Fri Feb 09 2018 Igor Gnatenko - 9.3.1-4 - Escape macros in %%changelog * Wed Feb 07 2018 Fedora Release Engineering - 9.3.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Fri Nov 10 2017 Todd Zullinger - 9.3.1-2 - Use https://fedoraproject.org/wiki/Packaging:SourceURL#Git_Tags for Source0 * Tue Aug 15 2017 W. Michael Petullo - 9.3.1-1 - Update to 9.3.1 * Tue Aug 15 2017 W. Michael Petullo - 9.3-10 - Update URL and Source0. * Thu Aug 03 2017 Fedora Release Engineering - 9.3-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 9.3-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri Feb 10 2017 Fedora Release Engineering - 9.3-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Tue Jul 19 2016 Charalampos Stratakis - 9.3-6 - Backport upstream patch to fix python-requests version error * Tue Jul 19 2016 Fedora Release Engineering - 9.3-5 - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages * Thu Feb 04 2016 Fedora Release Engineering - 9.3-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Wed Jun 17 2015 Fedora Release Engineering - 9.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sun Aug 17 2014 Fedora Release Engineering - 9.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Tue Aug 05 2014 Christopher Meng - 9.3-1 - Update to 9.3 * Sat Jun 07 2014 Fedora Release Engineering - 9.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Fri Apr 25 2014 Christopher Meng - 9.2-1 - Update to 9.2 * Tue Apr 01 2014 Christopher Meng - 9.1-1 - Update to 9.1 * Sat Mar 08 2014 Christopher Meng - 9.0-1 - Update to 9.0 * Fri Jan 10 2014 Christopher Meng - 8.6-2 - Add some missing docs. * Thu Jan 09 2014 Christopher Meng - 8.6-1 - Major update to 8.6 - SPEC cleanup. - Standardize desktop files. * Sat Aug 03 2013 Fedora Release Engineering - 6.5-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Thu Feb 14 2013 Fedora Release Engineering - 6.5-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Thu Jul 19 2012 Fedora Release Engineering - 6.5-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Fri Jan 13 2012 Fedora Release Engineering - 6.5-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Wed May 11 2011 W. Michael Petullo - 6.5-3 - Bump release because last change did not propagate to F14/15 * Thu May 05 2011 W. Michael Petullo - 6.5-2 - Add qscintilla-python dependency to linkchecker-gui * Mon Mar 21 2011 W. Michael Petullo - 6.5-1 - Update to upstream 6.5 * Tue Feb 08 2011 Fedora Release Engineering - 5.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Wed Jul 21 2010 David Malcolm - 5.2-2 - Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild * Wed Apr 21 2010 W. Michael Petullo - 5.2-1 - Update to upstream 5.2 - Add .desktop file * Sun Feb 14 2010 W. Michael Petullo - 5.1-1 - Update to upstream 5.1 - BuildRequire qt4-devel - Build HTML documentation using make - Handle new locations for installed files - Add gui package * Sat Jul 25 2009 Fedora Release Engineering - 4.7-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Wed Feb 25 2009 Fedora Release Engineering - 4.7-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Fri Dec 12 2008 W. Michael Petullo - 4.7-14 - Dynamically discover version (for .egg-info), do not hard code * Fri Dec 12 2008 W. Michael Petullo - 4.7-13 - linkchecker-4.7-py2.5.egg-info -> 2.6 * Sat Nov 29 2008 Ignacio Vazquez-Abrams - 4.7-12 - Rebuild for Python 2.6 * Wed Feb 13 2008 W. Michael Petullo - 4.7-11 - Don't install linkchecker-4.7-py2.5.egg-info * Mon Sep 10 2007 W. Michael Petullo - 4.7-10 - Bump version to retag with new sources * Mon Sep 10 2007 W. Michael Petullo - 4.7-9 - Rebuild for F8 * Fri Jul 27 2007 W. Michael Petullo - 4.7-8 - On 64-bit platforms, everything is in %%{python_sitearch}/linkcheck/ * Wed Jul 25 2007 W. Michael Petullo - 4.7-7 - Install configuration files in /etc/linkchecker - Do not install examples * Tue Jul 24 2007 W. Michael Petullo - 4.7-6 - Install logging.conf again - Use %%find_lang * Sat Jul 21 2007 W. Michael Petullo - 4.7-5 - Simplify %%files - Don't install logging.conf because it is not documented - Install linkcheckerrc into /etc/linkchecker * Mon Jul 16 2007 W. Michael Petullo - 4.7-4 - Own %%{python_sitelib}/linkcheck/ and %%{python_sitearch}/linkcheck/ - Include .1.gz-style man pages in %%files - Include _linkchecker_configdata.* instead of just .py * Sat Jul 14 2007 W. Michael Petullo - 4.7-3 - Use sitearch for .so, sitelib for .py, .pyo and .pyc - Clean up docs directory * Thu Jul 12 2007 W. Michael Petullo - 4.7-2 - Use sitearch instead of sitelib - Fix upstream source location - Simplify %%files * Wed Jul 11 2007 W. Michael Petullo - 4.7-1 - Rebuild for F7 - Update to upstream 4.7 * Thu Sep 07 2006 W. Michael Petullo - 3.3-11 - Rebuild for FC6 * Wed Sep 06 2006 W. Michael Petullo - 3.3-10 - Package /usr/lib/python2.4/site-packages/_linkchecker_configdata.py* * Wed Sep 06 2006 W. Michael Petullo - 3.3-9 - Do not own %%{buildroot}%%{python_sitelib} * Wed Sep 06 2006 W. Michael Petullo - 3.3-8 - Remove %%ghost from .pyo files: new Fedora policy * Fri Jul 28 2006 W. Michael Petullo - 3.3-7 - Install /usr/lib/python2.4/site-packages/_linkchecker_configdata.pyc again * Fri Jul 28 2006 W. Michael Petullo - 3.3-6 - Add %%{buildroot} to previous * Fri Jul 28 2006 W. Michael Petullo - 3.3-5 - Do not install /usr/lib/python2.4/site-packages/_linkchecker_configdata.pyc * Fri Jul 28 2006 W. Michael Petullo - 3.3-4 - Apply patch from Paul Howarth that fixes build on Rawhide (BZ 200282) * Fri Feb 17 2006 W. Michael Petullo - 3.3-3 - Rebuild for Fedora Extras 5 * Tue Jan 03 2006 W. Michael Petullo - 3.3-2 - Add some missing items to %%files * Tue Jan 03 2006 W. Michael Petullo - 3.3-1 - Update to linkchecker 3.3 * Mon Jan 02 2006 W. Michael Petullo - 3.2-4 - Bump release number to re-import * Mon Jan 02 2006 W. Michael Petullo - 3.2-4 - ExcludeArch: x86_64. I don't have one to test on * Sun Oct 23 2005 W. Michael Petullo - 3.2-3 - %%dir appropriate directories * Mon Sep 26 2005 W. Michael Petullo - 3.2-2 - Include LICENSE - %%ghost .pyo files * Sat Sep 17 2005 W. Michael Petullo - 3.2-1 - No longer use record option to setup.py - Update to linkchecker 3.2 * Sun Nov 21 2004 W. Michael Petullo - 2.0-0.fdr.0.1.rc2 - Initial Fedora RPM release candidate, based on upstream SRPM ## END: Generated by rpmautospec