SHA256
8
0
forked from pool/perl-MLDBM

Compare commits

...

12 Commits

Author SHA256 Message Date
Stephan Kulow
e33027e389 Accepting request 177774 from devel:languages:perl
update (forwarded request 177749 from coolo)

OBS-URL: https://build.opensuse.org/request/show/177774
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-MLDBM?expand=0&rev=21
2013-06-07 05:02:52 +00:00
Stephan Kulow
8cfc1ed204 Accepting request 177749 from home:coolo:update-perl
update

OBS-URL: https://build.opensuse.org/request/show/177749
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-MLDBM?expand=0&rev=21
2013-06-05 15:38:05 +00:00
Stephan Kulow
1c5777c81e replace license with spdx.org variant
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-MLDBM?expand=0&rev=18
2011-12-06 17:44:24 +00:00
Stephan Kulow
a253d28756 Accepting request 92253 from devel:languages:perl
update

OBS-URL: https://build.opensuse.org/request/show/92253
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-MLDBM?expand=0&rev=17
2011-11-21 11:43:00 +00:00
Stephan Kulow
3ed722c6a1 use original .tar.gz
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-MLDBM?expand=0&rev=18
2011-11-18 11:39:07 +00:00
Stephan Kulow
069d911039 use gz
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-MLDBM?expand=0&rev=17
2011-11-17 15:38:38 +00:00
Stephan Kulow
2ffd6643ae OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-MLDBM?expand=0&rev=15 2011-11-11 11:19:39 +00:00
Lars Vogdt
509247c37f Autobuild autoformatter for 54592
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-MLDBM?expand=0&rev=14
2010-12-05 21:03:25 +00:00
Lars Vogdt
41437ed5af Accepting request 54592 from devel:languages:perl
Accepted submit request 54592 from user coolo

OBS-URL: https://build.opensuse.org/request/show/54592
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-MLDBM?expand=0&rev=13
2010-12-05 21:03:17 +00:00
Stephan Kulow
afc1018ee7 always buildrequire perl-macros if not present, move %perl_requires behind buildroot (script commit)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-MLDBM?expand=0&rev=13
2010-12-03 14:42:42 +00:00
OBS User autobuild
282c2e5fbe Autobuild autoformatter for 51003
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-MLDBM?expand=0&rev=12
2010-10-19 11:08:39 +00:00
Ruediger Oertel
09c94736e0 Accepting request 51003 from devel:languages:perl
Accepted submit request 51003 from user coolo

OBS-URL: https://build.opensuse.org/request/show/51003
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-MLDBM?expand=0&rev=11
2010-10-19 11:08:35 +00:00
4 changed files with 56 additions and 38 deletions

View File

@@ -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
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:586880ed0c20801abbf6734747e13e0203edefece6ebc4f20ddb5059f02a17a2
size 13173

View File

@@ -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

View File

@@ -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