Package init
This commit is contained in:
parent
98f34a957a
commit
8e9edbd624
BIN
linkchecker-9.4.0.tar.gz
Normal file
BIN
linkchecker-9.4.0.tar.gz
Normal file
Binary file not shown.
50
linkchecker.spec
Normal file
50
linkchecker.spec
Normal 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
5
linkchecker.yaml
Normal file
@ -0,0 +1,5 @@
|
||||
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