File checkbot.spec of Package checkbot

#
# spec file for package checkbot (Version 1.77)
#
# Copyright (c) 2005 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://www.suse.de/feedback/
#

# norootforbuild

Name:         checkbot
BuildRequires: perl-MIME-tools perl-Time-Duration perl-libwww-perl
URL:          http://degraaff.org/checkbot/
License:      Artistic License
Group:        Productivity/Networking/Web/Utilities
Requires:     perl = %{perl_version} perl-URI perl-HTML-Parser perl-libwww-perl perl-MIME-tools perl-MailTools perl-Time-Duration
Autoreqprov:  on
Summary:      A WWW link verifier
Version:      1.77
Release:      2
Source:       checkbot-%{version}.tar.gz
Patch1:       webserver.patch
BuildRoot:    %{_tmppath}/%{name}-%{version}-build

%description
Checkbot is a perl5 script which can verify links within a region of
the World Wide Web. It checks all pages within an identified region,
and all links within that region. After checking all links within the
region, it will also check all links which point outside of the region,
and then stop.



Authors:
--------
    Hans de Graaff <hans@degraaff.org>, 1994-2005.
    Based on Dimitri Tischenko, Delft University of Technology, 1994

%prep
%setup -n checkbot-%{version}
%patch1
# ---------------------------------------------------------------------------

%build
perl Makefile.PL
make
# ---------------------------------------------------------------------------

%install
rm -rf $RPM_BUILD_ROOT
make CFLAGS="$RPM_OPT_FLAGS" DESTDIR=$RPM_BUILD_ROOT install_vendor
%perl_process_packlist

%files
%defattr(-,root,root)
%{_bindir}/checkbot
%{perl_vendorarch}/auto/checkbot
/usr/share/man/man1/checkbot.1.gz
/var/adm/perl-modules/%{name}
%doc README

%changelog -n checkbot
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Wed Sep 28 2005 - schubi@suse.de
- Added more output
* Tue Sep 20 2005 - schubi@suse.de
- initial
openSUSE Build Service is sponsored by