commit e4f6ca583ab9ce37e7f9b44016be2a2679c256cc
Author: Emmanuel Seyman <emmanuel(a)seyman.fr>
Date: Mon Dec 1 22:24:45 2014 +0100
Initial import.
.gitignore | 1 +
perl-CGI-Struct.spec | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 60 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..8d1b54e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/CGI-Struct-1.21.tar.gz
diff --git a/perl-CGI-Struct.spec b/perl-CGI-Struct.spec
new file mode 100644
index 0000000..eba81ee
--- /dev/null
+++ b/perl-CGI-Struct.spec
@@ -0,0 +1,58 @@
+Name: perl-CGI-Struct
+Version: 1.21
+Release: 2%{?dist}
+Summary: Build structures from CGI data
+# BSD License (two clause), according to lib/CGI/Struct.pm
+License: BSD
+
+URL:
http://search.cpan.org/dist/CGI-Struct/
+Source0:
http://www.cpan.org/authors/id/F/FU/FULLERMD/CGI-Struct-%{version}.tar.gz
+
+BuildArch: noarch
+BuildRequires: perl
+BuildRequires: perl(Exporter)
+BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
+BuildRequires: perl(Storable)
+BuildRequires: perl(Test::Deep::NoTest)
+BuildRequires: perl(Test::More) >= 1.22
+BuildRequires: perl(Test::Pod::Coverage) >= 1.08
+BuildRequires: perl(Pod::Coverage) >= 0.18
+BuildRequires: perl(Test::Pod)
+BuildRequires: perl(strict)
+BuildRequires: perl(warnings)
+
+Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo
$version))
+
+%{?perl_default_filter}
+
+%description
+CGI::Struct lets you transform CGI data keys that look like perl data
+structures into actual perl data structures.
+
+%prep
+%setup -q -n CGI-Struct-%{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
+%license LICENSE
+%{perl_vendorlib}/CGI*
+%{_mandir}/man3/CGI*
+
+%changelog
+* Mon Dec 01 2014 Emmanuel Seyman <emmanuel(a)seyman.fr> - 1.21-2
+- Take into account review comments (#1169284)
+
+* Fri Nov 28 2014 Emmanuel Seyman <emmanuel(a)seyman.fr> 1.21-1
+- Specfile autogenerated by cpanspec 1.78.
diff --git a/sources b/sources
index e69de29..0279736 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+4fd2da8759344f16553c2058bfee3a48 CGI-Struct-1.21.tar.gz