[perl-ClamAV-Client: 2/7] Initial package for Fedora

Mathieu Bridon bochecha at fedoraproject.org
Wed Jan 23 04:17:11 UTC 2013


commit ab3a77758c925c6085a1b7728b243566816afa42
Author: Mathieu Bridon <bochecha at fedoraproject.org>
Date:   Wed Jan 16 12:01:31 2013 +0800

    Initial package for Fedora
    
    This was submitted for review on Tue Jan 15 2013:
        https://bugzilla.redhat.com/show_bug.cgi?id=895480#c0

 perl-ClamAV-Client.spec |   51 +++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 51 insertions(+), 0 deletions(-)
---
diff --git a/perl-ClamAV-Client.spec b/perl-ClamAV-Client.spec
new file mode 100644
index 0000000..ddada5b
--- /dev/null
+++ b/perl-ClamAV-Client.spec
@@ -0,0 +1,51 @@
+Name:           perl-ClamAV-Client
+Summary:        Client class for the ClamAV clamd virus scanner daemon
+Version:        0.11
+Release:        1%{?dist}
+License:        GPL+ or Artistic
+URL:            http://search.cpan.org/dist/ClamAV-Client/
+Source0:        http://www.cpan.org/authors/id/J/JM/JMEHNLE/clamav-client/ClamAV-Client-%{version}.tar.gz
+
+BuildArch:      noarch
+
+BuildRequires:  perl(Module::Build)
+
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+%{?perl_default_filter}
+
+%description
+ClamAV::Client is a class acting as a client for a ClamAV clamd virus
+scanner daemon. The daemon may run locally or on a remote system as
+ClamAV::Client can use both Unix domain sockets and TCP/IP sockets. The
+full functionality of the clamd client/server protocol is supported.
+
+
+%prep
+%setup -q -n ClamAV-Client-%{version}
+
+
+%build
+%{__perl} Build.PL installdirs=vendor
+./Build
+
+
+%install
+./Build install destdir=%{buildroot} create_packlist=0
+
+%{_fixperms} %{buildroot}/*
+
+
+%check
+./Build test
+
+
+%files
+%doc CHANGES README
+%{_mandir}/man3/ClamAV*
+%{perl_vendorlib}/ClamAV
+
+
+%changelog
+* Tue Jan 15 2013 Mathieu Bridon <bochecha at fedoraproject.org> - 0.11-1
+- Initial package for Fedora, with help from cpanspec.


More information about the scm-commits mailing list