%define upstream_name Catalyst-Plugin-Cache-Store-FastMmap %define upstream_version 0.02 Name: perl-%{upstream_name} Version: %perl_convert_version %{upstream_version} Release: %mkrel 3 Summary: A thin wrapper for License: GPL+ or Artistic Group: Development/Perl Url: http://search.cpan.org/dist/%{upstream_name} Source0: http://www.cpan.org/modules/by-module/Catalyst/%{upstream_name}-%{upstream_version}.tar.gz BuildRequires: perl(Cache::FastMmap) BuildRequires: perl(Catalyst) BuildRequires: perl(Catalyst::Plugin::Cache) BuildRequires: perl(Path::Class) BuildRequires: perl(Module::Build::Compat) BuildRequires: perl(Test::Exception) BuildRequires: perl-Test-use-ok BuildArch: noarch %description This store plugin is a bit of a wrapper for the Cache::FastMmap manpage. While you could normally just configure with backend => { class => "Cache::FastMmap", share_file => ..., } %prep %setup -q -n %{upstream_name}-%{upstream_version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %make %check %make test %install rm -rf %buildroot %makeinstall_std %clean rm -rf %buildroot %files %defattr(-,root,root) %doc META.yml README %{_mandir}/man3/* %perl_vendorlib/* %changelog * Sun Jan 13 2013 umeabot <umeabot> 0.20.0-3.mga3 + Revision: 363984 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Wed Jan 26 2011 jquelin <jquelin> 0.20.0-2.mga1 + Revision: 41016 - mageia rebuild - imported package perl-Catalyst-Plugin-Cache-Store-FastMmap