You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
110 lines
3.1 KiB
110 lines
3.1 KiB
Name: perl-Code-TidyAll
|
|
Version: 0.40
|
|
Release: 1%{?dist}
|
|
Summary: Engine for tidyall, your all-in-one code tidier and validator
|
|
License: GPL+ or Artistic
|
|
URL: http://search.cpan.org/dist/Code-TidyAll/
|
|
Source0: http://www.cpan.org/authors/id/D/DR/DROLSKY/Code-TidyAll-%{version}.tar.gz
|
|
Source1: README.nodejs_plugins
|
|
BuildArch: noarch
|
|
BuildRequires: coreutils
|
|
BuildRequires: make
|
|
BuildRequires: perl
|
|
BuildRequires: perl(Exporter)
|
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
|
BuildRequires: perl(File::Path)
|
|
BuildRequires: perl(strict)
|
|
BuildRequires: perl(warnings)
|
|
# Run-time
|
|
BuildRequires: perl(base)
|
|
BuildRequires: perl(Capture::Tiny)
|
|
BuildRequires: perl(Config::INI::Reader)
|
|
BuildRequires: perl(constant)
|
|
BuildRequires: perl(Cwd)
|
|
BuildRequires: perl(Data::Dumper)
|
|
BuildRequires: perl(Date::Format)
|
|
BuildRequires: perl(Digest::SHA)
|
|
BuildRequires: perl(File::Basename)
|
|
BuildRequires: perl(File::Find)
|
|
BuildRequires: perl(File::Slurp::Tiny)
|
|
BuildRequires: perl(File::Spec::Functions)
|
|
BuildRequires: perl(File::Temp)
|
|
BuildRequires: perl(File::Which)
|
|
BuildRequires: perl(File::Zglob)
|
|
BuildRequires: perl(Guard)
|
|
BuildRequires: perl(IPC::Run3)
|
|
BuildRequires: perl(IPC::System::Simple)
|
|
BuildRequires: perl(List::MoreUtils)
|
|
BuildRequires: perl(Moo)
|
|
BuildRequires: perl(Moo::Role)
|
|
BuildRequires: perl(Scalar::Util)
|
|
BuildRequires: perl(Text::Diff)
|
|
BuildRequires: perl(Test::Class::Most)
|
|
BuildRequires: perl(Time::Duration::Parse)
|
|
BuildRequires: perl(Try::Tiny)
|
|
BuildRequires: perl(vars)
|
|
# Tests
|
|
BuildRequires: perl(File::Spec)
|
|
BuildRequires: perl(lib)
|
|
# Test::CPAN::Meta::JSON not used
|
|
BuildRequires: perl(Test::More) >= 0.96
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
Requires: aspell
|
|
Requires: git
|
|
Requires: nodejs
|
|
Requires: perl-Mason-Tidy
|
|
Requires: perl-Perl-Critic
|
|
Requires: php-pear-PHP-CodeSniffer
|
|
Requires: subversion
|
|
|
|
|
|
%description
|
|
This is the engine used by tidyall. You can call this API from your own
|
|
program instead of executing tidyall.
|
|
|
|
tidyall is all-in-one code tidier and validator.
|
|
|
|
%prep
|
|
%setup -q -n Code-TidyAll-%{version}
|
|
cp %{SOURCE1} .
|
|
|
|
%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
|
|
%license LICENSE
|
|
%doc Changes README.md README.nodejs_plugins
|
|
%{_bindir}/*
|
|
%{perl_vendorlib}/*
|
|
%{_mandir}/man1/*
|
|
%{_mandir}/man3/*
|
|
|
|
%changelog
|
|
* Mon Feb 22 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.40-1
|
|
- 0.40 bump
|
|
|
|
* Mon Feb 15 2016 Petr Pisar <ppisar@redhat.com> - 0.39-1
|
|
- 0.39 bump
|
|
|
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.38-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
* Tue Jan 12 2016 Petr Pisar <ppisar@redhat.com> - 0.38-1
|
|
- 0.38 bump
|
|
|
|
* Tue Dec 22 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.37-1
|
|
- 0.37 bump
|
|
- Update due to review comments
|
|
|
|
* Thu Dec 03 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.36-1
|
|
- Initial import
|