You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
perl-Sereal/perl-Sereal.spec

59 lines
1.7 KiB

9 years ago
Name: perl-Sereal
9 years ago
Version: 3.006
9 years ago
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)
9 years ago
BuildRequires: perl(Sereal::Decoder) >= 3.006
BuildRequires: perl(Sereal::Encoder) >= 3.006
9 years ago
# 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
9 years ago
* Mon Nov 16 2015 Petr Pisar <ppisar@redhat.com> - 3.006-1
- 3.006 bump
9 years ago
* Tue Sep 29 2015 Petr Pisar <ppisar@redhat.com> 3.005-1
- Specfile autogenerated by cpanspec 1.78.