parent
9799b9fd96
commit
b7c696d2b2
@ -0,0 +1 @@
|
|||||||
|
/Net-AMQP-0.06.tar.gz
|
@ -0,0 +1,69 @@
|
|||||||
|
Name: perl-Net-AMQP
|
||||||
|
Version: 0.06
|
||||||
|
Release: 1%{?dist}
|
||||||
|
Summary: Advanced Message Queue Protocol (de)serialization and representation
|
||||||
|
License: GPL+ or Artistic
|
||||||
|
|
||||||
|
URL: https://metacpan.org/release/Net-AMQP
|
||||||
|
Source0: https://cpan.metacpan.org/authors/id/C/CH/CHIPS/Net-AMQP-%{version}.tar.gz
|
||||||
|
|
||||||
|
BuildArch: noarch
|
||||||
|
# build requirements
|
||||||
|
BuildRequires: perl-interpreter
|
||||||
|
BuildRequires: perl-generators
|
||||||
|
BuildRequires: perl(Module::Build)
|
||||||
|
# runtime requirements
|
||||||
|
BuildRequires: perl(Carp)
|
||||||
|
BuildRequires: perl(Class::Accessor::Fast)
|
||||||
|
BuildRequires: perl(Class::Data::Inheritable)
|
||||||
|
BuildRequires: perl(Data::Dumper)
|
||||||
|
BuildRequires: perl(Exporter)
|
||||||
|
BuildRequires: perl(File::Path)
|
||||||
|
BuildRequires: perl(File::Spec)
|
||||||
|
BuildRequires: perl(Scalar::Util)
|
||||||
|
BuildRequires: perl(XML::LibXML)
|
||||||
|
BuildRequires: perl(base)
|
||||||
|
BuildRequires: perl(constant)
|
||||||
|
BuildRequires: perl(overload)
|
||||||
|
BuildRequires: perl(strict)
|
||||||
|
BuildRequires: perl(warnings)
|
||||||
|
# test requirements
|
||||||
|
BuildRequires: perl(File::Temp) >= 0.19
|
||||||
|
BuildRequires: perl(FindBin)
|
||||||
|
BuildRequires: perl(Parse::RecDescent)
|
||||||
|
BuildRequires: perl(Test::Deep)
|
||||||
|
BuildRequires: perl(Test::More) >= 0.88
|
||||||
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||||
|
|
||||||
|
%{?perl_default_filter}
|
||||||
|
|
||||||
|
%description
|
||||||
|
This module implements the frame (de)serialization and representation of
|
||||||
|
the Advanced Message Queue Protocol (http://www.amqp.org/). It is to be
|
||||||
|
used in conjunction with client or server software that does the actual
|
||||||
|
TCP/IP communication.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n Net-AMQP-%{version}
|
||||||
|
|
||||||
|
%build
|
||||||
|
%{__perl} Build.PL installdirs=vendor
|
||||||
|
%{__perl} -pi -e 's/\r//' spec/amqp0-9*.xml
|
||||||
|
./Build
|
||||||
|
|
||||||
|
%install
|
||||||
|
./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
|
||||||
|
%{_fixperms} $RPM_BUILD_ROOT/*
|
||||||
|
|
||||||
|
%check
|
||||||
|
./Build test
|
||||||
|
|
||||||
|
%files
|
||||||
|
%doc CHANGES eg README spec
|
||||||
|
%license LICENSE
|
||||||
|
%{perl_vendorlib}/Net*
|
||||||
|
%{_mandir}/man3/Net*
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Fri Jun 22 2018 Emmanuel Seyman <emmanuel@seyman.fr> - 0.06-1
|
||||||
|
- Initial specfile, based on the one autogenerated by cpanspec 1.78.
|
Loading…
Reference in new issue