Sophie

Sophie

distrib > Mageia > 9 > armv7hl > media > core-release-src > by-pkgid > da4c8e2bf4ac8bee814c898896362dd5 > files > 2

perl-MLDBM-2.50.0-10.mga9.src.rpm

%define upstream_name    MLDBM
%define upstream_version 2.05

%global __requires_exclude FreezeThaw

Name:       perl-%{upstream_name}
Version:    %perl_convert_version %{upstream_version}
Release:    %mkrel 10

Summary:    MLDBM - store multi-level hash structure in single level tied hash
License:    GPL+ or Artistic
Group:      Development/Perl
Url:        https://metacpan.org/release/%{upstream_name}
Source0:    https://cpan.metacpan.org/authors/id/C/CH/CHAMAS/%{upstream_name}-%{upstream_version}.tar.gz

BuildRequires: perl(Carp)
BuildRequires: perl(Data::Dumper) >= 2.80.0
BuildRequires: perl(Test::More)
BuildArch:  noarch

%description
This module can serve as a transparent interface to any TIEHASH package
that is required to store arbitrary perl data, including nested references.
Thus, this module can be used for storing references and other arbitrary data
within DBM databases.

It works by serializing the references in the hash into a single string. In the
underlying TIEHASH package (usually a DBM database), it is this string that
gets stored.  When the value is fetched again, the string is deserialized to
reconstruct the data structure into memory.

For historical and practical reasons, it requires the Data::Dumper package,
available at any CPAN site. Data::Dumper gives you really nice-looking dumps of
your data structures, in case you wish to look at them on the screen, and
it was the only serializing engine before version 2.00.  However, as of version
2.00, you can use any of Data::Dumper, FreezeThaw or Storable to
perform the underlying serialization, as hinted at by the SYNOPSIS overview
above.  Using Storable is usually much faster than the other methods.

See the BUGS section for important limitations.

%prep
%setup -q -n %{upstream_name}-%{upstream_version}

%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
%make_build

%check
%make_build test

%install
%make_install

%files
%doc Changes META.json META.yml MYMETA.yml README
%{perl_vendorlib}/MLDBM*
%{_mandir}/*/*

%changelog
* Sun Mar 20 2022 umeabot <umeabot> 2.50.0-10.mga9
+ Revision: 1804535
- Mageia 9 Mass Rebuild

* Wed Feb 12 2020 umeabot <umeabot> 2.50.0-9.mga8
+ Revision: 1495609
- Mageia 8 Mass Rebuild
+ wally <wally>
- replace deprecated %%makeinstall_std

* Wed Sep 19 2018 umeabot <umeabot> 2.50.0-8.mga7
+ Revision: 1269264
- Mageia 7 Mass Rebuild

* Sun Jun 19 2016 pterjan <pterjan> 2.50.0-7.mga6
+ Revision: 1029902
- Rebuild for perl 5.22.2

* Mon Feb 08 2016 umeabot <umeabot> 2.50.0-6.mga6
+ Revision: 948469
- Mageia 6 Mass Rebuild

* Sat Oct 18 2014 umeabot <umeabot> 2.50.0-5.mga5
+ Revision: 787861
- Rebuild to potentially add missing dependencies

* Wed Oct 15 2014 umeabot <umeabot> 2.50.0-4.mga5
+ Revision: 746328
- Second Mageia 5 Mass Rebuild

* Tue Sep 16 2014 umeabot <umeabot> 2.50.0-3.mga5
+ Revision: 685300
- Mageia 5 Mass Rebuild
+ tv <tv>
- use %%global for req/prov exclude
- autoconvert to new prov/req excludes

* Sat Oct 19 2013 umeabot <umeabot> 2.50.0-2.mga4
+ Revision: 527088
- Mageia 4 Mass Rebuild

* Fri Jun 07 2013 jquelin <jquelin> 2.50.0-1.mga4
+ Revision: 439509
- update to 2.05

* Sun Jan 13 2013 umeabot <umeabot> 2.40.0-3.mga3
+ Revision: 369335
- Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild

* Fri Jan 21 2011 jquelin <jquelin> 2.40.0-2.mga1
+ Revision: 28301
- rebuild

* Thu Jan 20 2011 jquelin <jquelin> 2.40.0-1.mga1
+ Revision: 26495
- mageia rebuild
- imported package perl-MLDBM


* Mon Mar 08 2010 Jérôme Quelin <jquelin@mandriva.org> 2.40.0-1mdv2010.1
+ Revision: 515752
- update to 2.04

* Sun Feb 28 2010 Jérôme Quelin <jquelin@mandriva.org> 2.30.0-1mdv2010.1
+ Revision: 512614
- update to 2.03

* Tue Feb 23 2010 Jérôme Quelin <jquelin@mandriva.org> 2.20.0-1mdv2010.1
+ Revision: 510092
- update to 2.02

* Mon Aug 03 2009 Jérôme Quelin <jquelin@mandriva.org> 2.10.0-1mdv2010.0
+ Revision: 407801
- rebuild using %%perl_convert_version

* Thu Jul 31 2008 Thierry Vignaud <tv@mandriva.org> 2.01-10mdv2009.0
+ Revision: 257846
- rebuild

* Thu Jul 24 2008 Thierry Vignaud <tv@mandriva.org> 2.01-9mdv2009.0
+ Revision: 245879
- rebuild

* Fri Dec 21 2007 Olivier Blin <oblin@mandriva.com> 2.01-7mdv2008.1
+ Revision: 136288
- restore BuildRoot

  + Thierry Vignaud <tv@mandriva.org>
    - kill re-definition of %%buildroot on Pixel's request


* Sun Jan 14 2007 Olivier Thauvin <nanardon@mandriva.org> 2.01-7mdv2007.0
+ Revision: 108473
- rebuild

  + Guillaume Rousse <guillomovitch@mandriva.org>
    - Import perl-MLDBM

* Sat Jul 16 2005 Oden Eriksson <oeriksson@mandriva.com> 2.01-6mdk
- fixup