Name: perl-Object-Simple Version: 3.19 Release: 1%{?dist} Summary: Simplest class builder, Mojo::Base porting, fast and less memory License: Artistic 2.0 URL: https://metacpan.org/pod/Object/Simple Source0: https://cpan.metacpan.org/authors/id/K/KI/KIMOTO/Object-Simple-%{version}.tar.gz BuildArch: noarch BuildRequires: make BuildRequires: perl-interpreter BuildRequires: perl-generators BuildRequires: perl(strict) BuildRequires: perl(ExtUtils::MakeMaker) # For tests. BuildRequires: perl(Test::Simple) %{?perl_default_filter} %description This is the Simplest class builder. All you learn is only has function. You can learn all features of Object::Simple in an hour. There is nothing difficult. Do you like Mojolicious? In fact, Object::Simple is Mojo::Base porting. Mojo::Base is basic class builder in Mojolicious project. If you like Mojolicious, this is good choice. If you have known Mojo::Base, you learn nothing. New and accessor method is fast. Implementation is pure perl and plain old hash-base object. Memory is saved. Extra objects is not created at all. Very light-weight object-oriented module. #------------------------------------------------------------------------------. %prep #------------------------------------------------------------------------------. %setup -q -n Object-Simple-%{version} #------------------------------------------------------------------------------. %build #------------------------------------------------------------------------------. %{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 make %{?_smp_mflags} #------------------------------------------------------------------------------. %install #------------------------------------------------------------------------------. make pure_install DESTDIR="${RPM_BUILD_ROOT}" %{_fixperms} "${RPM_BUILD_ROOT}"/* #------------------------------------------------------------------------------. %check #------------------------------------------------------------------------------. make test #------------------------------------------------------------------------------. %files #------------------------------------------------------------------------------. %doc Changes %{perl_vendorlib}/Object* %{_mandir}/man3/Object* #------------------------------------------------------------------------------. %changelog #------------------------------------------------------------------------------. * Sat Jul 8 2023 Patrick Monnerat 3.19-1 - Initial packaging.