Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37047266
en ru br
Репозитории ALT
S:1.150-alt1
5.1: 1.082-alt1.1
www.altlinux.org/Changes

Группа :: Разработка/Perl
Пакет: perl-Perl-Critic

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

%define _unpackaged_files_terminate_build 1
# BEGIN SourceDeps(oneline):
BuildRequires: perl(List/SomeUtils.pm)
# END SourceDeps(oneline)
%define m_distro Perl-Critic
Name: perl-Perl-Critic
Version: 1.148
Release: alt1

Summary: Critique Perl source code for best-practices.  

License: Perl (Artistic and GPL)
Group: Development/Perl
Url: %CPAN %m_distro

BuildArch: noarch
# https://github.com/Perl-Critic/Perl-Critic.git
Source0: http://www.cpan.org/authors/id/P/PE/PETDANCE/Perl-Critic-%{version}.tar.gz

BuildRequires: perl-B-Keywords perl-Config-Tiny perl-Exception-Class perl-File-HomeDir perl-File-Which perl-HTML-Parser perl(PPIx/QuoteLike.pm)
BuildRequires: perl-Module-Build perl-PPI perl-Perl-Tidy perl-Pod-Spell perl-Readonly perl-Regexp-Parser perl-String-Format
BuildRequires: perl-version perl-podlators perl-Module-Pluggable perl-autodie perl-Email-Address perl-PPIx-Utilities perl-PPIx-Regexp perl-Test-Deep perl(List/MoreUtils.pm) perl(IO/String.pm) perl(Pod/PlainText.pm)
Requires: perl(Module/Pluggable.pm)

%description
Perl::Critic is an extensible framework for creating and applying
coding standards to Perl source code. Essentially, it is a static
source code analysis engine. Perl::Critic is distributed with a number
of Perl::Critic::Policy modules that attempt to enforce various coding
guidelines.

%package -n perlcritic
Summary: Perl source code analysis utility
Requires: perl-Perl-Critic
Buildarch: noarch
Group: Text tools

%description -n perlcritic
perlcritic is a Perl::Critic based command line utility for Perl source
code analysis.

%prep
%setup -q -n Perl-Critic-%{version}
[ %version = 1.132 ] && rm t/05_utils.t

%build
%perl_vendor_build --install_path bindoc=%_man1dir

%install
%perl_vendor_install

%files
%doc TODO.pod CONTRIBUTING.md README.md Changes README examples
%perl_vendor_privlib/Perl/Critic*
%perl_vendor_privlib/Test/Perl/Critic/Policy.pm
%doc examples extras Changes README.*
%exclude %perl_vendor_archlib

%files -n perlcritic
%_bindir/*
%_man1dir/*
%exclude %perl_vendor_archlib

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin