parent
408b30956d
commit
e03221d862
@ -0,0 +1 @@
|
||||
/Code-TidyAll-0.37.tar.gz
|
@ -0,0 +1,19 @@
|
||||
If you want to used the plugins listed below you have to install package
|
||||
manager npm and install relevant utilities. They are not package in Fedora
|
||||
yet.
|
||||
|
||||
* Code::TidyAll::Plugin::CSSUnminifier
|
||||
|
||||
npm install cssunminifier -g
|
||||
|
||||
* Code::TidyAll::Plugin::JSBeautify
|
||||
|
||||
npm install js-beautify -g
|
||||
|
||||
* Code::TidyAll::Plugin::JSHint
|
||||
|
||||
npm install jshint -g
|
||||
|
||||
* Code::TidyAll::Plugin::JSLint
|
||||
|
||||
npm install jslint
|
@ -0,0 +1,94 @@
|
||||
Name: perl-Code-TidyAll
|
||||
Version: 0.37
|
||||
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: 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(List::MoreUtils)
|
||||
BuildRequires: perl(Moo)
|
||||
BuildRequires: perl(Moo::Role)
|
||||
BuildRequires: perl(Scalar::Util)
|
||||
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)
|
||||
BuildRequires: perl(Test::More) >= 0.96
|
||||
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||||
Requires: aspell
|
||||
Requires: diffutils
|
||||
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
|
||||
* 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
|
Loading…
Reference in new issue