forked from pool/perl-MLDBM
Compare commits
12 Commits
ccd7662394
...
e33027e389
Author | SHA256 | Date | |
---|---|---|---|
|
e33027e389 | ||
|
8cfc1ed204 | ||
|
1c5777c81e | ||
|
a253d28756 | ||
|
3ed722c6a1 | ||
|
069d911039 | ||
|
2ffd6643ae | ||
|
509247c37f | ||
|
41437ed5af | ||
|
afc1018ee7 | ||
|
282c2e5fbe | ||
|
09c94736e0 |
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:419486c23ba47b256c18e599e0d40b7664b4dc15cca36a65a9bd2c128252dc65
|
|
||||||
size 10422
|
|
3
MLDBM-2.05.tar.gz
Normal file
3
MLDBM-2.05.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:586880ed0c20801abbf6734747e13e0203edefece6ebc4f20ddb5059f02a17a2
|
||||||
|
size 13173
|
@@ -1,3 +1,15 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jun 5 14:30:07 UTC 2013 - coolo@suse.com
|
||||||
|
|
||||||
|
- updated to 2.05
|
||||||
|
Require perl 5.5
|
||||||
|
Test for pod
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Nov 18 11:09:18 UTC 2011 - coolo@suse.com
|
||||||
|
|
||||||
|
- use original .tar.gz
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Nov 30 19:20:33 UTC 2010 - coolo@novell.com
|
Tue Nov 30 19:20:33 UTC 2010 - coolo@novell.com
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package perl-MLDBM (Version 2.04)
|
# spec file for package perl-MLDBM
|
||||||
#
|
#
|
||||||
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -15,57 +15,63 @@
|
|||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
# norootforbuild
|
|
||||||
|
|
||||||
|
|
||||||
Name: perl-MLDBM
|
Name: perl-MLDBM
|
||||||
Version: 2.04
|
Version: 2.05
|
||||||
Release: 4
|
Release: 0
|
||||||
Provides: MLDBM
|
%define cpan_name MLDBM
|
||||||
Conflicts: perlmod
|
Summary: store multi-level Perl hash structure in single level tied hash
|
||||||
%{perl_requires}
|
License: Artistic-1.0 or GPL-1.0+
|
||||||
AutoReqProv: on
|
|
||||||
Group: Development/Libraries/Perl
|
Group: Development/Libraries/Perl
|
||||||
License: Artistic
|
Url: http://search.cpan.org/dist/MLDBM/
|
||||||
Url: http://cpan.org/modules/by-module/MLDBM/
|
Source: http://www.cpan.org/authors/id/C/CH/CHORNY/%{cpan_name}-%{version}.tar.gz
|
||||||
Summary: store multidimensional hash structures in tied hashes
|
BuildArch: noarch
|
||||||
Source: MLDBM-%{version}.tar.bz2
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
|
BuildRequires: perl-macros
|
||||||
|
BuildRequires: perl(Module::Build)
|
||||||
|
#BuildRequires: perl(FreezeThaw)
|
||||||
|
#BuildRequires: perl(MLDBM)
|
||||||
|
%{perl_requires}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
MLDBM, the Perl module that can be used to store multidimensional hash
|
This module can serve as a transparent interface to any TIEHASH package
|
||||||
structures in tied hashes (including DBM files).
|
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 the SYNOPSIS manpage overview above. Using *Storable* is
|
||||||
|
usually much faster than the other methods.
|
||||||
|
|
||||||
Authors:
|
See the the BUGS manpage section for important limitations.
|
||||||
--------
|
|
||||||
Sarathy <gsar@umich.edu>
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -n MLDBM-%{version} -q
|
%setup -q -n %{cpan_name}-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
perl Makefile.PL
|
%{__perl} Build.PL installdirs=vendor
|
||||||
make %{?_smp_mflags} all
|
./Build build flags=%{?_smp_mflags}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make test
|
./Build test
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make DESTDIR=$RPM_BUILD_ROOT install_vendor
|
./Build install destdir=%{buildroot} create_packlist=0
|
||||||
%perl_process_packlist
|
%perl_gen_filelist
|
||||||
|
|
||||||
%clean
|
%files -f %{name}.files
|
||||||
rm -rf $RPM_BUILD_ROOT
|
%defattr(-,root,root,755)
|
||||||
|
|
||||||
%files
|
|
||||||
%defattr(-, root, root)
|
|
||||||
%doc Changes README
|
%doc Changes README
|
||||||
%doc %{_mandir}/man3/MLDBM.3pm.gz
|
|
||||||
%{perl_vendorlib}/MLDBM.pm
|
|
||||||
%{perl_vendorlib}/MLDBM/
|
|
||||||
%{perl_vendorarch}/auto/MLDBM/
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user