%define upstream_name Sys-Mmap %define upstream_version 0.16 Name: perl-%{upstream_name} Version: %{upstream_version} Release: %mkrel 0 Summary: Sys::Mmap License: GPL Group: Development/Perl Url: http://www.kernel.org/software/mon/ Source0: http://www.cpan.org/modules/by-module/Sys/%{upstream_name}-%{upstream_version}.tar.gz BuildRequires: perl-devel %description The Mmap module lets you use mmap to map in a file as a perl variable rather than reading the file into dynamically allocated memory. Multiple programs may map the same file into memory, and immediately see changes by each other. Memory may be allocated not attached to a file, and shared with subprocesses. %prep %setup -q -n %{upstream_name}-%{upstream_version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %check %make test %install rm -rf $RPM_BUILD_ROOT %makeinstall_std %files %doc Changes README %{perl_vendorlib}/* %{_mandir}/*/* %changelog * Tue Aug 30 2011 Barry Jackson 0.16-0 - New package for Mageia