Name: perl-JSON-RPC2 Version: 2.1.2 Release: 1%{?dist} Summary: Transport-independent implementation of JSON-RPC 2.0 License: MIT Group: Development/Libraries URL: http://search.cpan.org/dist/JSON-RPC2/ Source0: http://www.cpan.org/authors/id/P/PO/POWERMAN/JSON-RPC2-v%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl >= 0:5.010001 BuildRequires: perl(JSON::MaybeXS) BuildRequires: perl(Module::Build) BuildRequires: perl(Scalar::Util) BuildRequires: perl(Test::Exception) BuildRequires: perl(Test::More) BuildRequires: perl(Module::Build::Tiny) Requires: perl(JSON::MaybeXS) Requires: perl(Scalar::Util) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description This module implement JSON-RPC 2.0 protocol in transport-independent way. It was very surprising for me to find on CPAN a lot of transport-dependent implementations of (by nature) transport-independent protocol! %prep %setup -q -n JSON-RPC2-v%{version} %build %{__perl} Build.PL --installdirs=vendor ./Build %install rm -rf %{buildroot} ./Build install --destdir=%{buildroot} --create_packlist=0 find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} %{buildroot}/* %check ./Build test %clean rm -rf %{buildroot} %files %defattr(-,root,root,-) %doc Changes cpanfile dist.ini LICENSE META.json README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Mon Oct 03 2022 Vadim Raskhozhev 2.1.2-1 - Specfile autogenerated by cpanspec 1.78.