/[smeserver]/rpms/perl-ClamAV-Client/sme9/perl-ClamAV-Client.spec
ViewVC logotype

Contents of /rpms/perl-ClamAV-Client/sme9/perl-ClamAV-Client.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Fri May 6 20:55:29 2016 UTC (8 years ago) by vip-ire
Branch: MAIN
CVS Tags: perl-ClamAV-Client-0_11-1_el6_sme, HEAD
Import perl-ClamAV-Client on sme9 branch

1 Name: perl-ClamAV-Client
2 Version: 0.11
3 Release: 1%{?dist}
4 Summary: Client class for the ClamAV clamd virus scanner daemon
5 License: GPL+ or Artistic
6 Group: Development/Libraries
7 URL: http://search.cpan.org/dist/ClamAV-Client/
8 Source0: http://www.cpan.org/authors/id/J/JM/JMEHNLE/clamav-client/ClamAV-Client-%{version}.tar.gz
9 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
10 BuildArch: noarch
11 BuildRequires: perl(Error)
12 BuildRequires: perl(Module::Build)
13 Requires: perl(Error)
14 Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
15
16 %description
17 ClamAV::Client is a class acting as a client for a ClamAV clamd virus
18 scanner daemon. The daemon may run locally or on a remote system as
19 ClamAV::Client can use both Unix domain sockets and TCP/IP sockets. The
20 full functionality of the clamd client/server protocol is supported.
21
22 %prep
23 %setup -q -n ClamAV-Client-%{version}
24
25 %build
26 %{__perl} Build.PL installdirs=vendor
27 ./Build
28
29 %install
30 rm -rf $RPM_BUILD_ROOT
31
32 ./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
33 find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
34
35 %{_fixperms} $RPM_BUILD_ROOT/*
36
37 %check
38 ./Build test
39
40 %clean
41 rm -rf $RPM_BUILD_ROOT
42
43 %files
44 %defattr(-,root,root,-)
45 %doc CHANGES README TODO
46 %{perl_vendorlib}/*
47 %{_mandir}/man3/*
48
49 %changelog
50 * Sun Apr 17 2016 Daniel Berteaud <daniel@firewall-services.com> - 0.11-1
51 - First build using cpanspec

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed