epel9
Petr Písař 9 years ago
parent 5c24afe5f3
commit f90ba70545

1
.gitignore vendored

@ -0,0 +1 @@
/Sereal-3.005.tar.gz

@ -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 <ppisar@redhat.com> 3.005-1
- Specfile autogenerated by cpanspec 1.78.

@ -0,0 +1 @@
7c7cde73ab4ac83a24dfc2abf33a394e Sereal-3.005.tar.gz
Loading…
Cancel
Save