Compare commits
No commits in common. "f1d4e69b8922ff6e882fb3a1aedea766cb39cfe4" and "98f34a957ade3cf50cc36cee1c6c8b89ebf93c4b" have entirely different histories.
f1d4e69b89
...
98f34a957a
Binary file not shown.
@ -1,84 +0,0 @@
|
|||||||
%define debug_package %{nil}
|
|
||||||
|
|
||||||
Name: linkchecker
|
|
||||||
Version: 10.4.0
|
|
||||||
Release: 2
|
|
||||||
Summary: Check HTML documents for broken links
|
|
||||||
License: GPLv2
|
|
||||||
URL: https://linkcheck.github.io/linkchecker/
|
|
||||||
Source0: https://github.com/linkchecker/linkchecker/releases/download/v%{version}/LinkChecker-%{version}.tar.gz
|
|
||||||
BuildRequires: gcc gettext python3-devel python3-setuptools
|
|
||||||
BuildRequires: python3dist(dnspython) python3dist(future) python3dist(pyxdg)
|
|
||||||
BuildRequires: python3dist(requests) >= 2.4
|
|
||||||
BuildRequires: python3-pip python3-hatchling python3-hatch-vcs python3-wheel python3-pytest
|
|
||||||
BuildRequires: python3-beautifulsoup4
|
|
||||||
BuildRequires: python3dist(pytest-xdist)
|
|
||||||
BuildRequires: python3dist(pyopenssl)
|
|
||||||
BuildRequires: python3dist(parameterized)
|
|
||||||
|
|
||||||
%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:, news:, nntp:, Telnet and local file links
|
|
||||||
support
|
|
||||||
- Restriction of link checking with regular expression filters for URLs
|
|
||||||
- Proxy support
|
|
||||||
- Username/password authorization for HTTP and FTP and Telnet
|
|
||||||
- Honors robots.txt exclusion protocol
|
|
||||||
- Cookie support
|
|
||||||
- HTML5 support
|
|
||||||
- HTML and CSS syntax check
|
|
||||||
- Antivirus check
|
|
||||||
- Different interfaces: command line, GUI and web interface
|
|
||||||
... and a lot more ...
|
|
||||||
|
|
||||||
%prep
|
|
||||||
%autosetup -p1 -n LinkChecker-%{version}
|
|
||||||
|
|
||||||
%build
|
|
||||||
%pyproject_build
|
|
||||||
|
|
||||||
%install
|
|
||||||
%pyproject_install
|
|
||||||
%find_lang linkchecker
|
|
||||||
|
|
||||||
%check
|
|
||||||
# fix unreachable url
|
|
||||||
sed -i 's/google.com/bing.com/g' tests/test_robotparser.py
|
|
||||||
|
|
||||||
export PYTHONPATH=%{buildroot}%{python3_sitearch}
|
|
||||||
pytest --ignore=tests/checker/test_telnet.py
|
|
||||||
|
|
||||||
%files -f linkchecker.lang
|
|
||||||
%{python3_sitelib}/linkcheck*
|
|
||||||
%{python3_sitelib}/LinkChecker*
|
|
||||||
%doc doc/changelog.txt doc/upgrading.txt
|
|
||||||
%license COPYING
|
|
||||||
%{_bindir}/linkchecker
|
|
||||||
%{_mandir}/man1/linkchecker*.1*
|
|
||||||
%{_mandir}/man5/linkcheckerrc.5*
|
|
||||||
%lang(de) %{_mandir}/de/man1/linkchecker*.1*
|
|
||||||
%lang(de) %{_mandir}/de/man5/linkcheckerrc.5*
|
|
||||||
%{_datadir}/linkchecker/
|
|
||||||
|
|
||||||
%changelog
|
|
||||||
* Mon Apr 1 2024 laokz <zhangkai@iscas.ac.cn> - 10.4.0-2
|
|
||||||
- Fix unreachable url in test
|
|
||||||
|
|
||||||
* Mon Feb 26 2024 liyanan <liyanan61@h-partners.com> - 10.4.0-1
|
|
||||||
- Upgrade to 10.4.0
|
|
||||||
|
|
||||||
* Thu Apr 27 2023 xu_ping <707078654@qq.com> - 10.2.1-1
|
|
||||||
- Upgrade to 10.2.1
|
|
||||||
|
|
||||||
* Sat Jul 18 2020 huanghaitao <huanghaitao8@huawei.com> - 9.4.0-8.72b85c4
|
|
||||||
- Upgrade to a python3 supported version
|
|
||||||
|
|
||||||
* Sat Jul 18 2020 huanghaitao <huanghaitao8@huawei.com> - 9.4.0-8.72b85c4
|
|
||||||
- Upgrade to a python3 supported version
|
|
||||||
|
|
||||||
* Tue Jun 9 2020 leiju <leiju4@huawei.com> - 9.4.0-3
|
|
||||||
- Package init
|
|
||||||
@ -1,5 +0,0 @@
|
|||||||
git_url: https://github.com/linkchecker/linkchecker
|
|
||||||
version_control: github
|
|
||||||
src_repo: linkchecker/linkchecker
|
|
||||||
tag_prefix: "^v"
|
|
||||||
seperator: "."
|
|
||||||
Loading…
x
Reference in New Issue
Block a user