File checkbot.spec of Package checkbot

#
# spec file for package checkbot (Version 1.77)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# 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:        145
Source:         checkbot-%{version}.tar.gz
Patch1:         webserver.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
Checkbot is a perl5 script that 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 also checks all links that point outside of the region then stops.



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
* 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