29b2aa8
Name:           linkchecker
0c41602
ddde7df
Version:        10.3.0
cc12928
Release:        %autorelease
29b2aa8
Summary:        Check HTML documents for broken links
34086e5
License:        GPL-2.0-or-later
0697932
URL:            https://linkcheck.github.io/linkchecker/
51ad6b7
Source:         %pypi_source LinkChecker
0c41602
58e20b5
# Replace deprecated importlib.resources.path()
58e20b5
# Needed for Python 3.13+
58e20b5
Patch:          https://github.com/linkchecker/linkchecker/pull/770.patch
58e20b5
fd861ed
BuildArch:      noarch
fd861ed
29b2aa8
BuildRequires:  gettext
0c41602
0c41602
BuildRequires:  python3-devel
0c41602
d5b119d
# For compiling the translations
d5b119d
BuildRequires:  python3dist(polib)
d5b119d
1a35b36
# For the tests (subset of [tool.hatch.envs.test])
d5b119d
BuildRequires:  python3dist(pytest)
b62f96f
BuildRequires:  python3dist(pytest-xdist)
d5b119d
BuildRequires:  python3dist(pyopenssl)
d5b119d
BuildRequires:  python3dist(parameterized)
d5b119d
# Not packaged yet
d5b119d
# BuildRequires:  python3dist(miniboa)
fca0a96
fca0a96
%description
4bc6d8c
LinkChecker is a website validator. LinkChecker checks links in web documents or full websites.
29b2aa8
29b2aa8
Features:
6a85696
- Recursive and multithreaded checking and site crawling
6a85696
- Output in colored or normal text, HTML, SQL, CSV, XML or a sitemap graph in 
29b2aa8
different formats
ddde7df
- HTTP/1.1, HTTPS, FTP, mailto: and local file links support
6a85696
- Restriction of link checking with regular expression filters for URLs
6a85696
- Proxy support
ddde7df
- Username/password authorization for HTTP and FTP
6a85696
- Honors robots.txt exclusion protocol
29b2aa8
- Cookie support
29b2aa8
- HTML5 support
ddde7df
- A command line and web interface
ddde7df
- Various check plugins available
29b2aa8
fca0a96
%prep
ddde7df
%autosetup -p1 -n LinkChecker-%{version}
1a35b36
1a35b36
%generate_buildrequires
1a35b36
%pyproject_buildrequires
37884b6
fca0a96
%build
1a35b36
%pyproject_wheel
fca0a96
fca0a96
%install
1a35b36
%pyproject_install
1a35b36
%pyproject_save_files linkcheck
fca0a96
9331621
%check
ddde7df
%pytest -n auto
9331621
1a35b36
%files -f %{pyproject_files}
7cf34d2
%doc README.rst doc/changelog.txt doc/upgrading.txt
fca0a96
%{_bindir}/linkchecker
2ff22a2
%{_mandir}/man1/linkchecker*.1*
2ff22a2
%{_mandir}/man5/linkcheckerrc.5*
2ff22a2
%lang(de) %{_mandir}/de/man1/linkchecker*.1*
2ff22a2
%lang(de) %{_mandir}/de/man5/linkcheckerrc.5*
959a4d8
%dir %{_datadir}/linkchecker/
959a4d8
%doc %{_datadir}/linkchecker/examples/
2ff22a2
fca0a96
%changelog
cc12928
%autochangelog