Группа :: Разработка/Прочее
Пакет: perl-Exporter-Declare
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Group: Development/Other
# BEGIN SourceDeps(oneline):
BuildRequires(pre): rpm-build-perl
BuildRequires: perl-podlators
# END SourceDeps(oneline)
# see https://bugzilla.altlinux.org/show_bug.cgi?id=10382
%define _localstatedir %{_var}
Name: perl-Exporter-Declare
Version: 0.114
Release: alt2_12
Summary: Exporting done right
License: GPL+ or Artistic
URL: https://metacpan.org/release/Exporter-Declare
Source0: https://cpan.metacpan.org/authors/id/E/EX/EXODIST/Exporter-Declare-%{version}.tar.gz
BuildArch: noarch
BuildRequires: perl-devel
BuildRequires: rpm-build-perl
BuildRequires: perl(aliased.pm)
BuildRequires: perl(base.pm)
BuildRequires: perl(Carp.pm)
BuildRequires: perl(Exporter.pm)
BuildRequires: perl(Fennec/Lite.pm)
BuildRequires: perl(lib.pm)
BuildRequires: perl(Meta/Builder.pm)
BuildRequires: perl(Module/Build.pm)
BuildRequires: perl(Scalar/Util.pm)
BuildRequires: perl(strict.pm)
BuildRequires: perl(Test/Exception.pm)
BuildRequires: perl(Test/More.pm)
BuildRequires: perl(Test/Pod.pm)
BuildRequires: perl(Test/Simple.pm)
BuildRequires: perl(warnings.pm)
Requires: perl(Meta/Builder.pm) >= 0.003
# Remove underspecified dependencies
Source44: import.info
%filter_from_requires /^perl(Meta.Builder\\)\s*$/d
%description
Exporter::Declare is a meta-driven exporting tool. Exporter::Declare tries
to adopt all the good features of other exporting tools, while throwing
away horrible interfaces. Exporter::Declare also provides hooks that allow
you to add options and arguments for import. Finally, Exporter::Declare's
meta-driven system allows for top-notch introspection.
%prep
%setup -q -n Exporter-Declare-%{version}
%build
perl Build.PL installdirs=vendor
./Build
%install
./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
# %{_fixperms} $RPM_BUILD_ROOT/*
%check
./Build test
%files
%doc README
%{perl_vendor_privlib}/*
%changelog
…
Полный changelog можно просмотреть здесь
# BEGIN SourceDeps(oneline):
BuildRequires(pre): rpm-build-perl
BuildRequires: perl-podlators
# END SourceDeps(oneline)
# see https://bugzilla.altlinux.org/show_bug.cgi?id=10382
%define _localstatedir %{_var}
Name: perl-Exporter-Declare
Version: 0.114
Release: alt2_12
Summary: Exporting done right
License: GPL+ or Artistic
URL: https://metacpan.org/release/Exporter-Declare
Source0: https://cpan.metacpan.org/authors/id/E/EX/EXODIST/Exporter-Declare-%{version}.tar.gz
BuildArch: noarch
BuildRequires: perl-devel
BuildRequires: rpm-build-perl
BuildRequires: perl(aliased.pm)
BuildRequires: perl(base.pm)
BuildRequires: perl(Carp.pm)
BuildRequires: perl(Exporter.pm)
BuildRequires: perl(Fennec/Lite.pm)
BuildRequires: perl(lib.pm)
BuildRequires: perl(Meta/Builder.pm)
BuildRequires: perl(Module/Build.pm)
BuildRequires: perl(Scalar/Util.pm)
BuildRequires: perl(strict.pm)
BuildRequires: perl(Test/Exception.pm)
BuildRequires: perl(Test/More.pm)
BuildRequires: perl(Test/Pod.pm)
BuildRequires: perl(Test/Simple.pm)
BuildRequires: perl(warnings.pm)
Requires: perl(Meta/Builder.pm) >= 0.003
# Remove underspecified dependencies
Source44: import.info
%filter_from_requires /^perl(Meta.Builder\\)\s*$/d
%description
Exporter::Declare is a meta-driven exporting tool. Exporter::Declare tries
to adopt all the good features of other exporting tools, while throwing
away horrible interfaces. Exporter::Declare also provides hooks that allow
you to add options and arguments for import. Finally, Exporter::Declare's
meta-driven system allows for top-notch introspection.
%prep
%setup -q -n Exporter-Declare-%{version}
%build
perl Build.PL installdirs=vendor
./Build
%install
./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
# %{_fixperms} $RPM_BUILD_ROOT/*
%check
./Build test
%files
%doc README
%{perl_vendor_privlib}/*
%changelog
…
Полный changelog можно просмотреть здесь