mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-03-24 01:40:23 +00:00
git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@1526 e7d03fd6-7b0d-0410-9947-9c21f3af8025
53 lines
1.4 KiB
RPMSpec
53 lines
1.4 KiB
RPMSpec
%define name linkchecker
|
|
%define version 1.13.0
|
|
%define release 1
|
|
|
|
Summary: check HTML documents for broken links
|
|
Name: %{name}
|
|
Version: %{version}
|
|
Release: %{release}
|
|
Source0: %{name}-%{version}.tar.gz
|
|
License: GPL
|
|
Group: Web/Utilities
|
|
BuildRoot: %{_tmppath}/%{name}-buildroot
|
|
Prefix: %{_prefix}
|
|
Vendor: Bastian Kleineidam <calvin@users.sourceforge.net>
|
|
Packager: Bastian Kleineidam <calvin@users.sourceforge.net>
|
|
Provides: linkchecker
|
|
Url: http://linkchecker.sourceforge.net/
|
|
|
|
%description
|
|
Linkchecker features
|
|
o recursive checking
|
|
o multithreading
|
|
o output in colored or normal text, HTML, SQL, CSV or a sitemap
|
|
graph in GML or XML.
|
|
o HTTP/1.1, HTTPS, FTP, mailto:, news:, nntp:, Gopher, Telnet and local
|
|
file links support
|
|
o restriction of link checking with regular expression filters for URLs
|
|
o proxy support
|
|
o username/password authorization for HTTP and FTP
|
|
o robots.txt exclusion protocol support
|
|
o Cookie support
|
|
o i18n support
|
|
o a command line interface
|
|
o a (Fast)CGI web interface (requires HTTP server)
|
|
|
|
|
|
%prep
|
|
%setup
|
|
|
|
%build
|
|
env CFLAGS="$RPM_OPT_FLAGS" python setup.py build
|
|
|
|
%install
|
|
python setup.py install --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES
|
|
# fix it so that it works even if things become a bz2 automatically
|
|
perl -pi -e 's/(linkchecker\.1)\.gz/$1.*/' INSTALLED_FILES
|
|
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
%files -f INSTALLED_FILES
|
|
%defattr(-,root,root)
|
|
%doc INSTALL README TODO lconline/ test/
|