From 1233e2013cbcf5c8095b9fdf67b3b733e50bb478 Mon Sep 17 00:00:00 2001
From: Emmanuel Seyman <[email protected]>
Date: Thu, 28 Jul 2016 16:13:51 +0200
Subject: Initial import.

---
 .gitignore                    |  1 +
 perl-Dancer2-Plugin-REST.spec | 64 +++++++++++++++++++++++++++++++++++++++++++
 sources                       |  1 +
 3 files changed, 66 insertions(+)
 create mode 100644 perl-Dancer2-Plugin-REST.spec

diff --git a/.gitignore b/.gitignore
index e69de29..78c149b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Dancer2-Plugin-REST-0.27.tar.gz
diff --git a/perl-Dancer2-Plugin-REST.spec b/perl-Dancer2-Plugin-REST.spec
new file mode 100644
index 0000000..ce9fd10
--- /dev/null
+++ b/perl-Dancer2-Plugin-REST.spec
@@ -0,0 +1,64 @@
+Name:           perl-Dancer2-Plugin-REST
+Version:        0.27
+Release:        2%{?dist}
+Summary:        Plugin for writing RESTful apps with Dancer2
+License:        GPL+ or Artistic
+
+URL:            http://search.cpan.org/dist/Dancer2-Plugin-REST/
+Source0:        
http://www.cpan.org/authors/id/Y/YA/YANICK/Dancer2-Plugin-REST-%{version}.tar.gz
+
+BuildArch:      noarch
+BuildRequires:  make
+BuildRequires:  perl
+BuildRequires:  perl-generators
+BuildRequires:  perl(Carp)
+BuildRequires:  perl(Class::Load)
+BuildRequires:  perl(Dancer2) >= 0.149000
+BuildRequires:  perl(Dancer2::Core::Request)
+BuildRequires:  perl(Dancer2::Plugin)
+BuildRequires:  perl(Data::Dumper)
+BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.76
+BuildRequires:  perl(File::Spec)
+BuildRequires:  perl(HTTP::Request::Common)
+BuildRequires:  perl(IO::Handle)
+BuildRequires:  perl(IPC::Open3)
+BuildRequires:  perl(JSON)
+BuildRequires:  perl(Module::Runtime)
+BuildRequires:  perl(Plack::Test)
+BuildRequires:  perl(Test::More)
+BuildRequires:  perl(YAML)
+BuildRequires:  perl(strict)
+BuildRequires:  perl(warnings)
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo 
$version))
+
+%{?perl_default_filter}
+
+%description
+This plugin helps you write a RESTful web-service with Dancer2.
+
+%prep
+%setup -q -n Dancer2-Plugin-REST-%{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 README README.mkdn
+%license LICENSE
+%{perl_vendorlib}/Dancer2*
+%{_mandir}/man3/Dancer2*
+
+%changelog
+* Tue Jul 26 2016 Emmanuel Seyman <[email protected]> - 0.27-2
+- Add a version to the BuildRequires on perl(Dancer2)
+
+* Tue Jun 07 2016 Emmanuel Seyman <[email protected]> - 0.27-1
+- Specfile autogenerated by cpanspec 1.78.
diff --git a/sources b/sources
index e69de29..ac96a9c 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+abc63d34939f0025e173d2c08a1af3ab  Dancer2-Plugin-REST-0.27.tar.gz
-- 
cgit v0.12


        
http://pkgs.fedoraproject.org/cgit/perl-Dancer2-Plugin-REST.git/commit/?h=f25&id=1233e2013cbcf5c8095b9fdf67b3b733e50bb478
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
[email protected]
https://lists.fedoraproject.org/admin/lists/[email protected]

Reply via email to