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.
perl-Code-TidyAll/perl-Code-TidyAll.spec

166 lines
5.2 KiB

9 years ago
Name: perl-Code-TidyAll
8 years ago
Version: 0.53
9 years ago
Release: 1%{?dist}
9 years ago
Summary: Engine for tidyall, your all-in-one code tidier and validator
9 years ago
# lib/Test/Code/TidyAll.pm: GPL+ or Artistic
# LICENSE: GPL+ or Artistic
## Not in the binary package
# etc/editors/tidyall.el: GPLv2+
# node_modules/jshint/node_modules/cli/node_modules/glob/LICENSE: BSD
# node_modules/js-beautify/node_modules/mkdirp/node_modules/minimist/LICENSE: MIT
# php5/usr/share/php/PHP/CodeSniffer/Standards/PEAR/Docs/Commenting/FileCommentStandard.xml: MIT
# php5/usr/share/php/test/PHP_CodeSniffer/CodeSniffer/Standards/Squiz/Tests/Commenting/FileCommentUnitTest.js: PHP
9 years ago
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
9 years ago
BuildRequires: coreutils
9 years ago
BuildRequires: make
BuildRequires: perl
9 years ago
BuildRequires: perl-generators
9 years ago
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)
8 years ago
BuildRequires: perl(File::Spec)
9 years ago
BuildRequires: perl(File::Which)
BuildRequires: perl(File::Zglob)
BuildRequires: perl(Guard)
BuildRequires: perl(IPC::Run3)
9 years ago
BuildRequires: perl(IPC::System::Simple)
8 years ago
# Not used for tests - perl(JSON::MaybeXS)
# Not used for tests - perl(List::Compare)
9 years ago
BuildRequires: perl(List::SomeUtils)
8 years ago
# Not used for tests - perl(Log::Any)
# Not used for tests - perl(Mason::Tidy)
# Not used for tests - perl(Mason::Tidy::App)
9 years ago
BuildRequires: perl(Moo)
BuildRequires: perl(Moo::Role)
8 years ago
# Not used for tests - perl(Parallel::ForkManager)
8 years ago
BuildRequires: perl(Path::Tiny) >= 0.098
8 years ago
# Not used for tests - perl(Perl::Tidy)
# Not used for tests - perl(Perl::Tidy::Sweetened)
# Not used for tests - perl(Pod::Checker)
# Not used for tests - perl(Pod::Spell)
# Not used for tests - perl(Pod::Tidy)
9 years ago
BuildRequires: perl(Scalar::Util)
8 years ago
# Not used for tests - perl(SVN::Look)
9 years ago
BuildRequires: perl(Text::Diff) >= 1.44
8 years ago
# Not used for tests - perl(Test::Builder)
# Not used for tests - perl(Text::Diff)
# Not used for tests - perl(Text::Diff::Table)
# Not used for tests - perl(Text::ParseWords)
9 years ago
BuildRequires: perl(Time::Duration::Parse)
BuildRequires: perl(Try::Tiny)
# Tests
9 years ago
BuildRequires: perl(autodie)
8 years ago
# Not used for tests - perl(Encode)
9 years ago
BuildRequires: perl(lib)
8 years ago
BuildRequires: perl(Test::Class::Most)
# Not used for tests - perl(Test::CPAN::Meta::JSON)
9 years ago
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
8 years ago
Requires: perl(Parallel::ForkManager) >= 1.19
9 years ago
%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
9 years ago
%doc Changes README.md README.nodejs_plugins CONTRIBUTING.md
9 years ago
%{_bindir}/*
%{perl_vendorlib}/*
%{_mandir}/man1/*
%{_mandir}/man3/*
%changelog
8 years ago
* Tue Oct 11 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.53-1
- 0.53 bump
8 years ago
* Tue Sep 20 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.52-1
- 0.52 bump
9 years ago
* Mon Jul 25 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.49-1
- 0.49 bump
9 years ago
* Fri Jun 17 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.48-1
- 0.48 bump
* Mon May 16 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.47-2
- Perl 5.24 rebuild
9 years ago
* Tue May 03 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.47-1
- 0.47 bump
9 years ago
* Tue Apr 19 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.46-1
- 0.46 bump
9 years ago
* Mon Apr 11 2016 Petr Pisar <ppisar@redhat.com> - 0.44-1
- 0.44 bump
9 years ago
* Tue Mar 29 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.43-1
- 0.43 bump
9 years ago
* Fri Mar 11 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.42-1
- 0.42 bump
9 years ago
* Mon Feb 22 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.40-1
- 0.40 bump
9 years ago
* 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
9 years ago
* Tue Jan 12 2016 Petr Pisar <ppisar@redhat.com> - 0.38-1
- 0.38 bump
9 years ago
* 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