From e03221d8629ddca753669faec5cf31893038a23a Mon Sep 17 00:00:00 2001 From: Jitka Plesnikova Date: Mon, 4 Jan 2016 12:21:40 +0100 Subject: [PATCH] Initial import --- .gitignore | 1 + README.nodejs_plugins | 19 +++++++++ perl-Code-TidyAll.spec | 94 ++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 4 files changed, 115 insertions(+) create mode 100644 README.nodejs_plugins create mode 100644 perl-Code-TidyAll.spec diff --git a/.gitignore b/.gitignore index e69de29..d7adb08 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/Code-TidyAll-0.37.tar.gz diff --git a/README.nodejs_plugins b/README.nodejs_plugins new file mode 100644 index 0000000..a2d9d27 --- /dev/null +++ b/README.nodejs_plugins @@ -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 diff --git a/perl-Code-TidyAll.spec b/perl-Code-TidyAll.spec new file mode 100644 index 0000000..2a1e978 --- /dev/null +++ b/perl-Code-TidyAll.spec @@ -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 - 0.37-1 +- 0.37 bump +- Update due to review comments + +* Thu Dec 03 2015 Jitka Plesnikova - 0.36-1 +- Initial import diff --git a/sources b/sources index e69de29..7973c77 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +ddb2b270a15565f18af626ee899f58b2 Code-TidyAll-0.37.tar.gz