>From c1d30f7220c4351787a7ff16d1e362bab0323315 Mon Sep 17 00:00:00 2001 From: Emmanuel Seyman <emmanuel@xxxxxxxxx> Date: Fri, 10 Apr 2015 23:41:35 +0200 Subject: Initial import diff --git a/.gitignore b/.gitignore index e69de29..91fa657 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/MojoX-JSON-RPC-0.08.tar.gz diff --git a/perl-MojoX-JSON-RPC.spec b/perl-MojoX-JSON-RPC.spec new file mode 100644 index 0000000..20b007f --- /dev/null +++ b/perl-MojoX-JSON-RPC.spec @@ -0,0 +1,59 @@ +Name: perl-MojoX-JSON-RPC +Version: 0.08 +Release: 1%{?dist} +Summary: Perl implementation of JSON-RPC 2.0 protocol for Mojolicious +License: Artistic 2.0 + +URL: http://search.cpan.org/dist/MojoX-JSON-RPC/ +Source0: http://www.cpan.org/authors/id/H/HE/HENRYYKT/MojoX-JSON-RPC-%{version}.tar.gz + +BuildArch: noarch +BuildRequires: perl +BuildRequires: perl(Carp) +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 +BuildRequires: perl(File::Basename) +BuildRequires: perl(File::Spec) +BuildRequires: perl(lib) +BuildRequires: perl(Mojo::Base) +BuildRequires: perl(Mojo::JSON) +BuildRequires: perl(Mojo::UserAgent) +BuildRequires: perl(Mojolicious::Lite) >= 5.77 +BuildRequires: perl(Test::Mojo) +BuildRequires: perl(Test::More) +BuildRequires: perl(strict) +BuildRequires: perl(warnings) + +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%{?perl_default_filter} + +%description +This module implements a client and a server plugin for JSON-RPC 2.0 for use +with Mojolicious. + +%prep +%setup -q -n MojoX-JSON-RPC-%{version} + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 +make %{?_smp_mflags} + +%install +make pure_install DESTDIR=$RPM_BUILD_ROOT + +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +make test + +%files +%doc Changes +%license LICENSE +%{perl_vendorlib}/MojoX* +%{perl_vendorlib}/Mojolicious/Plugin/JsonRpcDispatcher.pm +%{_mandir}/man3/MojoX* +%{_mandir}/man3/Mojolicious::Plugin::JsonRpcDispatcher.3pm.gz + +%changelog +* Sat Feb 21 2015 Emmanuel Seyman <emmanuel@xxxxxxxxx> 0.08-1 +- Specfile created, based on the one autogenerated by cpanspec 1.78. diff --git a/sources b/sources index e69de29..60b823b 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +d1e124fa2cb5e984e0fa0b9c80d4766e MojoX-JSON-RPC-0.08.tar.gz -- cgit v0.10.2 http://pkgs.fedoraproject.org/cgit/perl-MojoX-JSON-RPC.git/commit/?h=f21&id=c1d30f7220c4351787a7ff16d1e362bab0323315 -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel