Группа :: Разработка/Прочее
Пакет: perl-syntax
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
# 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-syntax
Version: 0.004
Release: alt2_17
Summary: Activate syntax extensions
License: GPL+ or Artistic
Group: Development/Other
URL: https://metacpan.org/release/syntax
Source0: https://cpan.metacpan.org/authors/id/P/PH/PHAYLON/syntax-%{version}.tar.gz
BuildArch: noarch
BuildRequires: rpm-build-perl
BuildRequires: perl(Carp.pm)
BuildRequires: perl(Data/OptList.pm)
BuildRequires: perl(ExtUtils/MakeMaker.pm)
BuildRequires: perl(namespace/clean.pm)
# Tests
BuildRequires: perl(FindBin.pm)
BuildRequires: perl(lib.pm)
BuildRequires: perl(Test/More.pm)
Source44: import.info
%description
This module activates community provided syntax extensions to Perl. You
pass it a feature name, and optionally a scalar with arguments, and the
dispatching system will load and install the extension in your package.
%prep
%setup -q -n syntax-%{version}
%build
/usr/bin/perl Makefile.PL INSTALLDIRS=vendor
%make_build
%install
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
# %{_fixperms} $RPM_BUILD_ROOT/*
%check
make test
%files
%doc Changes LICENSE META.json
%{perl_vendor_privlib}/*
%changelog
…
Полный changelog можно просмотреть здесь
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-syntax
Version: 0.004
Release: alt2_17
Summary: Activate syntax extensions
License: GPL+ or Artistic
Group: Development/Other
URL: https://metacpan.org/release/syntax
Source0: https://cpan.metacpan.org/authors/id/P/PH/PHAYLON/syntax-%{version}.tar.gz
BuildArch: noarch
BuildRequires: rpm-build-perl
BuildRequires: perl(Carp.pm)
BuildRequires: perl(Data/OptList.pm)
BuildRequires: perl(ExtUtils/MakeMaker.pm)
BuildRequires: perl(namespace/clean.pm)
# Tests
BuildRequires: perl(FindBin.pm)
BuildRequires: perl(lib.pm)
BuildRequires: perl(Test/More.pm)
Source44: import.info
%description
This module activates community provided syntax extensions to Perl. You
pass it a feature name, and optionally a scalar with arguments, and the
dispatching system will load and install the extension in your package.
%prep
%setup -q -n syntax-%{version}
%build
/usr/bin/perl Makefile.PL INSTALLDIRS=vendor
%make_build
%install
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
# %{_fixperms} $RPM_BUILD_ROOT/*
%check
make test
%files
%doc Changes LICENSE META.json
%{perl_vendor_privlib}/*
%changelog
…
Полный changelog можно просмотреть здесь