Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37575953
en ru br
ALT Linux repos
S:0.13-alt2

Group :: Development/Perl
RPM: perl-Hash-AsObject

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define module_version 0.13
%define module_name Hash-AsObject
# BEGIN SourceDeps(oneline):
BuildRequires: perl(Test/More.pm) perl(diagnostics.pm) perl-devel
# END SourceDeps(oneline)
%define upstream_name    Hash-AsObject
%define upstream_version 0.13

Name:       perl-%{upstream_name}
Version:    0.13
Release:    alt2

Summary:    Treat hashes as objects with accessors
License:    perl
Group:      Development/Perl
Url:        http://search.cpan.org/dist/%{upstream_name}
Source0:    http://cpan.org.ua/authors/id/N/NK/NKUITSE/%module_name-%module_version.tar.gz

BuildRequires: perl(ExtUtils/MakeMaker.pm)
BuildArch: noarch
Source44: import.info

%description
A Hash::AsObject is a blessed hash that provides read-write access to its
elements using accessors. (Actually, they're both accessors and mutators.)

It's designed to act as much like a plain hash as possible; this means, for
example, that you can use methods like 'DESTROY' to get or set hash
elements with that name. See below for more information.

%prep
%setup -n %module_name-%module_version

%build
%{__perl} Makefile.PL INSTALLMAN1DIR=%_man1dir INSTALLDIRS=vendor

%make

%check
%make test

%install
%makeinstall_std

%files
%doc Changes README
%perl_vendor_privlib/*




%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin