From f90ba70545ec5a25664c422205fd091973a43670 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppi...@redhat.com>
Date: Wed, 30 Sep 2015 10:21:10 +0200
Subject: Import


diff --git a/.gitignore b/.gitignore
index e69de29..3520d49 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Sereal-3.005.tar.gz
diff --git a/perl-Sereal.spec b/perl-Sereal.spec
new file mode 100644
index 0000000..a88f3fc
--- /dev/null
+++ b/perl-Sereal.spec
@@ -0,0 +1,55 @@
+Name:           perl-Sereal
+Version:        3.005
+Release:        1%{?dist}
+Summary:        Fast, compact, powerful binary (de-)serialization
+# Makefile.PL defines LICENSE
+License:        GPL+ or Artistic
+Group:          Development/Libraries
+URL:            http://search.cpan.org/dist/Sereal/
+Source0:        
http://www.cpan.org/authors/id/Y/YV/YVES/Sereal-%{version}.tar.gz
+BuildArch:      noarch
+BuildRequires:  coreutils
+BuildRequires:  findutils
+BuildRequires:  make
+BuildRequires:  perl
+BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(strict)
+BuildRequires:  perl(warnings)
+# Run-time:
+BuildRequires:  perl(Exporter)
+BuildRequires:  perl(Sereal::Decoder) >= 3.005
+BuildRequires:  perl(Sereal::Encoder) >= 3.005
+# Tests:
+BuildRequires:  perl(Test::More) >= 0.88
+Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
+
+%description
+Sereal is an efficient, compact-output, binary and feature-rich serialization
+protocol. The Perl encoder is implemented as the Sereal::Encoder module, the
+Perl decoder correspondingly as Sereal::Decoder. This Sereal module is a very
+thin wrapper around both Sereal::Encoder and Sereal::Decoder. It depends on
+both and loads both.
+
+%prep
+%setup -q -n Sereal-%{version}
+
+%build
+perl Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
+
+%install
+make pure_install DESTDIR=$RPM_BUILD_ROOT
+find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
+%{_fixperms} $RPM_BUILD_ROOT/*
+
+%check
+make test
+
+%files
+%doc Changes README
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+%changelog
+* Tue Sep 29 2015 Petr Pisar <ppi...@redhat.com> 3.005-1
+- Specfile autogenerated by cpanspec 1.78.
diff --git a/sources b/sources
index e69de29..31f1878 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+7c7cde73ab4ac83a24dfc2abf33a394e  Sereal-3.005.tar.gz
-- 
cgit v0.10.2


        
http://pkgs.fedoraproject.org/cgit/perl-Sereal.git/commit/?h=master&id=f90ba70545ec5a25664c422205fd091973a43670
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

Reply via email to