Package init

This commit is contained in:
lei_ju 2020-07-07 15:58:59 +08:00
parent 98f34a957a
commit 8e9edbd624
3 changed files with 55 additions and 0 deletions

BIN
linkchecker-9.4.0.tar.gz Normal file

Binary file not shown.

50
linkchecker.spec Normal file
View File

@ -0,0 +1,50 @@
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

5
linkchecker.yaml Normal file
View File

@ -0,0 +1,5 @@
git_url: https://github.com/linkchecker/linkchecker
version_control: github
src_repo: linkchecker/linkchecker
tag_prefix: "^v"
seperator: "."