51 lines
1.5 KiB
RPMSpec
51 lines
1.5 KiB
RPMSpec
Name: linkchecker
|
|
Version: 9.4.0
|
|
Release: 3
|
|
Summary: Check links in web documents or full websites
|
|
License: GPLv2
|
|
URL: https://linkcheck.github.io/linkchecker/
|
|
Source0: https://github.com/linkcheck/linkchecker/archive/v%{version}/linkchecker-%{version}.tar.gz
|
|
|
|
BuildRequires: desktop-file-utils gettext python2-devel python-setuptools
|
|
BuildRequires: qt4-devel python-requests python-dns python-pyxdg
|
|
|
|
%description
|
|
LinkChecker is a free,GPL licensed website validator and it checks links in web documents or full websites.
|
|
|
|
%package help
|
|
Summary: Help documents for linkchecker
|
|
|
|
%description help
|
|
This package contains man pages and other related documents for linkchecker.
|
|
|
|
%prep
|
|
%autosetup -n linkchecker-%{version} -p1
|
|
|
|
%build
|
|
CFLAGS="%{optflags}" %{__python2} setup.py build
|
|
|
|
%install
|
|
%{__python2} setup.py install -O1 --skip-build --root=%{buildroot}
|
|
|
|
%find_lang linkchecker
|
|
|
|
%files -f linkchecker.lang
|
|
%doc COPYING
|
|
%{_bindir}/linkchecker
|
|
%{python2_sitearch}/linkcheck/
|
|
%{python2_sitearch}/_LinkChecker_configdata.*
|
|
%{_datadir}/linkchecker/
|
|
%exclude %{_datadir}/applications/linkchecker.desktop
|
|
%exclude %{python2_sitearch}/LinkChecker-*-py%{python2_version}.egg-info
|
|
|
|
%files help
|
|
%doc doc/changelog.txt doc/upgrading.txt
|
|
%{_mandir}/man1/linkchecker*.1*
|
|
%{_mandir}/man5/linkcheckerrc.5*
|
|
%lang(de) %{_mandir}/de/man1/linkchecker*.1*
|
|
%lang(de) %{_mandir}/de/man5/linkcheckerrc.5*
|
|
|
|
%changelog
|
|
* Tue Jun 9 2020 leiju <leiju4@huawei.com> - 9.4.0-3
|
|
- Package init
|