代码拉取完成,页面将自动刷新
同步操作将从 src-openEuler/perl-JavaScript-Beautifier 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
Name: perl-JavaScript-Beautifier
Version: 0.25
Release: 1
Summary: Beautify Javascript (beautifier for javascript)
License: GPL-1.0-only or Artistic-1.0-Perl
Group: Development/Libraries
URL: http://search.cpan.org/dist/JavaScript-Beautifier/
Source0: http://www.cpan.org/authors/id/F/FA/FAYLAND/JavaScript-Beautifier-%{version}.tar.gz
BuildArch: noarch
BuildRequires: dos2unix
BuildRequires: perl-generators
BuildRequires: perl-interpreter
BuildRequires: perl(base)
BuildRequires: perl(Exporter)
BuildRequires: perl(Module::Build) >= 0.35
BuildRequires: perl(strict)
BuildRequires: perl(Test::More) >= 0.88
BuildRequires: perl(Test::Pod) >= 1.22
BuildRequires: perl(vars)
BuildRequires: perl(warnings)
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
%description
This module is mostly a Perl-rewrite of
http://github.com/einars/js-beautify/tree/master/beautify.js
%package -n perl-Code-TidyAll-Plugin-JSBeautifier
Summary: Use JavaScript::Beautifier with tidyall
License: GPL+ or Artistic
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
Requires: %{_bindir}/js_beautify.pl
Requires: perl(Code::TidyAll::Plugin)
%description -n perl-Code-TidyAll-Plugin-JSBeautifier
Runs js_beautify.pl of JavaScript::Beautifier, a JavaScript tidier
implemented in Perl.
%prep
%setup -q -n JavaScript-Beautifier-%{version}
dos2unix Changes
dos2unix README.md
%build
perl Build.PL installdirs=vendor
./Build
%install
./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
%{_fixperms} $RPM_BUILD_ROOT/*
%check
./Build test
%files
%doc Changes README.md
%{perl_vendorlib}/JavaScript
%{_bindir}/js_beautify.pl
%{_mandir}/man1/js_beautify.pl.1.gz
%{_mandir}/man3/JavaScript*
%files -n perl-Code-TidyAll-Plugin-JSBeautifier
%{perl_vendorlib}/Code
%{_mandir}/man3/Code*
%changelog
* Fri Mar 1 2024 woody2918 <wudi1@uniontech.com> - 0.25-1
- Package init
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。