File perl-File-Scan-ClamAV.spec of Package perl-File-Scan-ClamAV

#
# spec file for package perl-File-Scan-ClamAV (Version 1.93)
#
# Copyright (c) 2010 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:           perl-File-Scan-ClamAV
%define cpan_name File-Scan-ClamAV
Summary:        Connect to a local Clam Anti-Virus clamd service and send commands
Version:        1.95
Release:        1
License:        Artistic
Group:          Development/Libraries/Perl
URL:            http://search.cpan.org/dist/File-Scan-ClamAV/
Source0:        http://www.cpan.org/modules/by-module/File/File-Scan-ClamAV-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

BuildRequires:  perl, clamav
BuildRequires:  perl(File::Spec)
Provides:       %{cpan_name}

%description
A library for connecting to and sending commands to a local
ClamAV clamd service - an anti-virus daemon process.

You can find more information about clam anti-virus at
http://www.clamav.org/

File::Scan::ClamAV was originally based on the Clamd module

 Authors:
	Colin Faber cfaber@fpsn.net
	James Turnbull james@lovedthanlost.net

%prep
%setup -q -n %{cpan_name}-%{version}

%build
perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS"
%{__make}

#%check
#%{__make} test

%install
%perl_make_install
%perl_process_packlist
%perl_gen_filelist

%clean
%{__rm} -rf $RPM_BUILD_ROOT

%files -f %{name}.files
%defattr(-,root,root)
%doc Changes README