|
|
|
Name: perl-File-Map
|
|
|
|
Version: 0.56
|
|
|
|
Release: 2%{?dist}
|
|
|
|
Summary: Memory mapping made simple and safe
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
|
|
|
|
URL: http://search.cpan.org/dist/File-Map/
|
|
|
|
Source0: http://www.cpan.org/authors/id/L/LE/LEONT/File-Map-%{version}.tar.gz
|
|
|
|
BuildRequires: perl >= 0:5.008
|
|
|
|
BuildRequires: perl(Module::Build)
|
|
|
|
# Run-time
|
|
|
|
BuildRequires: perl(Carp)
|
|
|
|
BuildRequires: perl(PerlIO::Layers)
|
|
|
|
BuildRequires: perl(Sub::Exporter)
|
|
|
|
BuildRequires: perl(Sub::Exporter::Progressive)
|
|
|
|
BuildRequires: perl(XSLoader)
|
|
|
|
# Tests
|
|
|
|
BuildRequires: perl(File::Temp)
|
|
|
|
BuildRequires: perl(if)
|
|
|
|
BuildRequires: perl(IO::Handle)
|
|
|
|
BuildRequires: perl(IO::Socket::INET)
|
|
|
|
BuildRequires: perl(Scalar::Util)
|
|
|
|
BuildRequires: perl(Test::Exception)
|
|
|
|
BuildRequires: perl(Test::More)
|
|
|
|
BuildRequires: perl(Test::NoWarnings)
|
|
|
|
BuildRequires: perl(Test::Warn)
|
|
|
|
BuildRequires: perl(threads)
|
|
|
|
BuildRequires: perl(Time::HiRes)
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
|
|
|
|
%{?perl_default_filter}
|
|
|
|
|
|
|
|
%description
|
|
|
|
File::Map maps files or anonymous memory into perl variables.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n File-Map-%{version}
|
|
|
|
chmod -x examples/fastsearch.pl
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%{__perl} Build.PL installdirs=vendor optimize="$RPM_OPT_FLAGS"
|
|
|
|
./Build
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
|
|
|
|
find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \;
|
|
|
|
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
|
|
|
|
|
|
|
|
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
./Build test
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%doc Changes examples LICENSE README
|
|
|
|
%{perl_vendorarch}/auto/*
|
|
|
|
%{perl_vendorarch}/File*
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.56-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
|
|
|
* Sun Dec 23 2012 Emmanuel Seyman <emmanuel@seyman.fr> - 0.56-1
|
|
|
|
- Update to 0.56
|
|
|
|
- Remove the Group macro (no longer used)
|
|
|
|
|
|
|
|
* Sun Dec 16 2012 Emmanuel Seyman <emmanuel@seyman.fr> - 0.55-1
|
|
|
|
- Update to 0.55
|
|
|
|
|
|
|
|
* Sun Nov 11 2012 Emmanuel Seyman <emmanuel@seyman.fr> - 0.53-1
|
|
|
|
- Update to 0.53
|
|
|
|
|
|
|
|
* Sat Oct 06 2012 Emmanuel Seyman <emmanuel@seyman.fr> - 0.52-1
|
|
|
|
- Update to 0.52
|
|
|
|
- Clean up spec file
|
|
|
|
|
|
|
|
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.51-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
|
|
|
* Thu Jun 21 2012 Petr Pisar <ppisar@redhat.com> - 0.51-2
|
|
|
|
- Perl 5.16 rebuild
|
|
|
|
|
|
|
|
* Tue Jun 19 2012 Petr Pisar <ppisar@redhat.com> - 0.51-1
|
|
|
|
- 0.51 bump
|
|
|
|
|
|
|
|
* Thu Jun 14 2012 Petr Pisar <ppisar@redhat.com> - 0.31-8
|
|
|
|
- Perl 5.16 rebuild
|
|
|
|
|
|
|
|
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.31-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
|
|
|
|
* Tue Jul 19 2011 Petr Sabata <contyk@redhat.com> - 0.31-6
|
|
|
|
- Perl mass rebuild
|
|
|
|
|
|
|
|
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.31-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
|
|
|
* Fri Nov 05 2010 Lubomir Rintel (GoodData) <lubo.rintel@gooddata.com> 0.31-4
|
|
|
|
- Fix a BR typo
|
|
|
|
|
|
|
|
* Wed Nov 03 2010 Lubomir Rintel (GoodData) <lubo.rintel@gooddata.com> 0.31-3
|
|
|
|
- Drop el5 secific patches
|
|
|
|
- Add more BuildRequires (Petr Pisar)
|
|
|
|
|
|
|
|
* Mon Oct 11 2010 Lubomir Rintel (GoodData) <lubo.rintel@gooddata.com> 0.31-2
|
|
|
|
- Fix build on el5
|
|
|
|
|
|
|
|
* Fri Oct 08 2010 Lubomir Rintel (GoodData) <lubo.rintel@gooddata.com> 0.31-1
|
|
|
|
- Fix POD
|
|
|
|
- Specfile autogenerated by cpanspec 1.78.
|