%{?perl_default_filter} Name: perl-CDB_File Version: 0.97 Release: 1%{?dist} Summary: Perl extension for access to cdb databases License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/CDB_File/ Source0: http://www.cpan.org/authors/id/M/MS/MSERGEANT/CDB_File-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Exporter) BuildRequires: perl(Test::More) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description CDB_File is a module which provides a Perl interface to Dan Berstein's cdb package. cdb is a fast, reliable, lightweight package for creating and reading constant databases. %prep %setup -q -n CDB_File-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" make %{?_smp_mflags} %install rm -rf %{buildroot} make pure_install PERL_INSTALL_ROOT=%{buildroot} find %{buildroot} -type f -name .packlist -exec rm -f {} \; find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} \; find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} %{buildroot}/* %check make test %clean rm -rf %{buildroot} %files %defattr(-,root,root,-) %doc ACKNOWLEDGE CHANGES COPYRIGHT README %{perl_vendorarch}/auto/* %{perl_vendorarch}/CDB_File* %{perl_vendorarch}/bun-x.pl %{_mandir}/man3/* %changelog * Wed Dec 5 2012 Mark McKinstry <mmckinst@nexcess.net> - 0.97-1 - upgrade to 0.97 * Wed Jun 15 2011 Marcela MaÅ¡láÅová <mmaslano@redhat.com> - 0.96-4 - Perl mass rebuild * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.96-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Sat Nov 27 2010 Mark McKinstry <mmckinst@nexcess.net> 0.96-2 - add perl(Exporter) and perl(Test) as build requirements * Mon Nov 22 2010 Mark McKinstry <mmckinst@nexcess.net> 0.96-1 - Initial packaging using cpanspec 1.78.