Группа :: Разработка/Perl
Пакет: perl-autobox
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
##nQ SPEC file for Perl module autobox
Name: perl-autobox
Version: 3.0.1
Release: alt1
Summary: Perl interface to call methods on native types
License: %perl_license
Group: Development/Perl
URL: http://search.cpan.org/dist/autobox/
Packager: Nikolay A. Fetisov <naf at altlinux.ru>
%define real_name autobox
Source: %real_name-%version.tar
Patch0: %real_name-%version-%release.patch
AutoReqProv: perl, yes
BuildRequires(pre): rpm-build-licenses perl-devel
# Automatically added by buildreq on Wed May 09 2018
# optimized out: glibc-kernheaders-generic glibc-kernheaders-x86 perl perl-CPAN-Meta-Requirements perl-Encode perl-IPC-System-Simple perl-JSON-PP perl-Parse-CPAN-Meta perl-Pod-Escapes perl-Pod-Simple perl-Try-Tiny perl-devel perl-parent python-base python-modules python3 python3-base python3-module-mpl_toolkits python3-module-zope ruby
BuildRequires: perl-CPAN-Meta perl-Scope-Guard perl-Test-Fatal perl-Test-Pod
BuildRequires: perl-IPC-System-Simple
%description
The autobox pragma allows methods to be called on integers, floats,
strings, arrays, hashes, and code references in exactly the same
manner as blessed references.
The autoboxing is transparent: boxed values are not blessed into
their (user-defined) implementation class (unless the method elects
to bestow such a blessing) - they simply use its methods as though
they are.
autobox is lexically scoped, and bindings for an outer scope
can be overridden or countermanded in a nested scope.
%prep
%setup -n %real_name-%version
%patch0 -p1
%build
%perl_vendor_build
%install
%perl_vendor_install
%files
%doc README Changes
%perl_vendor_archlib/autobox*
%perl_vendor_autolib/autobox*
%changelog
…
Полный changelog можно просмотреть здесь
Name: perl-autobox
Version: 3.0.1
Release: alt1
Summary: Perl interface to call methods on native types
License: %perl_license
Group: Development/Perl
URL: http://search.cpan.org/dist/autobox/
Packager: Nikolay A. Fetisov <naf at altlinux.ru>
%define real_name autobox
Source: %real_name-%version.tar
Patch0: %real_name-%version-%release.patch
AutoReqProv: perl, yes
BuildRequires(pre): rpm-build-licenses perl-devel
# Automatically added by buildreq on Wed May 09 2018
# optimized out: glibc-kernheaders-generic glibc-kernheaders-x86 perl perl-CPAN-Meta-Requirements perl-Encode perl-IPC-System-Simple perl-JSON-PP perl-Parse-CPAN-Meta perl-Pod-Escapes perl-Pod-Simple perl-Try-Tiny perl-devel perl-parent python-base python-modules python3 python3-base python3-module-mpl_toolkits python3-module-zope ruby
BuildRequires: perl-CPAN-Meta perl-Scope-Guard perl-Test-Fatal perl-Test-Pod
BuildRequires: perl-IPC-System-Simple
%description
The autobox pragma allows methods to be called on integers, floats,
strings, arrays, hashes, and code references in exactly the same
manner as blessed references.
The autoboxing is transparent: boxed values are not blessed into
their (user-defined) implementation class (unless the method elects
to bestow such a blessing) - they simply use its methods as though
they are.
autobox is lexically scoped, and bindings for an outer scope
can be overridden or countermanded in a nested scope.
%prep
%setup -n %real_name-%version
%patch0 -p1
%build
%perl_vendor_build
%install
%perl_vendor_install
%files
%doc README Changes
%perl_vendor_archlib/autobox*
%perl_vendor_autolib/autobox*
%changelog
…
Полный changelog можно просмотреть здесь