perl-Cache-FastMmap/perl-Cache-FastMmap.spec

Name: perl-Cache-FastMmap
Summary: Uses an mmap'ed file to act as a shared memory interprocess cache
Version: 1.44
Release: 1
License: Artistic/GPL
Group: Applications/CPAN
URL: http://search.cpan.org/dist/Cache-FastMmap/
Description: Uses an mmap'ed file to act as a shared memory interprocess cache.

CentOS 7 x86_64

The build was succesful. The following RPMs were generated:

Build Status

CentOS 6 x86_64

The build was succesful. The following RPMs were generated:

Build Status

Contents

The spec file used by the build system currently has the following contents:

# $Id$
# Authority: dag
# Upstream: Rob Mueller <cpan$robm,fastmail,fm>

%define perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib)
%define perl_vendorarch %(eval "`%{__perl} -V:installvendorarch`"; echo $installvendorarch)

%define real_name Cache-FastMmap

Summary: Uses an mmap'ed file to act as a shared memory interprocess cache
Name: perl-Cache-FastMmap
Version: 1.44
Release: 1%{?dist}
License: Artistic/GPL
Group: Applications/CPAN
URL: http://search.cpan.org/dist/Cache-FastMmap/

Source: http://search.cpan.org/CPAN/authors/id/R/RO/ROBM/Cache-FastMmap-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(Storable)
Requires: perl(Storable)

%filter_from_requires /^perl*/d
%filter_setup


%description
Uses an mmap'ed file to act as a shared memory interprocess cache.

%prep
%setup -n %{real_name}-%{version}

%build
CFLAGS="%{optflags}" %{__perl} Makefile.PL INSTALLDIRS="vendor" PREFIX="%{buildroot}%{_prefix}"
%{__make} %{?_smp_mflags} OPTIMIZE="%{optflags}"

%install
%{__rm} -rf %{buildroot}
%{__make} pure_install

### Clean up buildroot
find %{buildroot} -name .packlist -exec %{__rm} {} \;

%clean
%{__rm} -rf %{buildroot}

%files
%defattr(-, root, root, 0755)
%doc Changes MANIFEST META.yml README
%doc %{_mandir}/man3/Cache::FastMmap.3pm*
#%doc %{_mandir}/man3/Cache::FastMmap::CImpl.3pm*
%dir %{perl_vendorarch}/auto/Cache/
%{perl_vendorarch}/auto/Cache/FastMmap/
%dir %{perl_vendorarch}/Cache/
#%{perl_vendorarch}/Cache/FastMmap/
%{perl_vendorarch}/Cache/FastMmap.pm

%changelog
* Fri Sep 23 2016 Dries Verachtert <dries.verachtert@dries.eu> - 1.44-1
- Updated to release 1.44.

* Tue Jan  5 2010 Christoph Maser <cmr@financial.com> - 1.34-1
- Updated to version 1.34.

* Tue Oct 07 2008 Dag Wieers <dag@wieers.com> - 1.28-1
- Updated to release 1.28.

* Sun Jun 22 2008 Dag Wieers <dag@wieers.com> - 1.27-1
- Updated to release 1.27.

* Tue Feb 19 2008 Dag Wieers <dag@wieers.com> - 1.25-1
- Updated to release 1.25.

* Sun Dec 30 2007 Dag Wieers <dag@wieers.com> - 1.24-1
- Initial package. (using DAR)