| 
									
										
										
										
											2019-04-03 07:45:59 +00:00
										 |  |  | #
 | 
					
						
							|  |  |  | # spec file for package perl-Code-TidyAll
 | 
					
						
							|  |  |  | #
 | 
					
						
							| 
									
										
										
										
											2024-01-04 15:10:17 +00:00
										 |  |  | # Copyright (c) 2024 SUSE LLC
 | 
					
						
							| 
									
										
										
										
											2019-04-03 07:45:59 +00:00
										 |  |  | #
 | 
					
						
							|  |  |  | # All modifications and additions to the file contributed by third parties
 | 
					
						
							|  |  |  | # remain the property of their copyright owners, unless otherwise agreed
 | 
					
						
							|  |  |  | # upon. The license for this file, and modifications and additions to the
 | 
					
						
							|  |  |  | # file, is the same license as for the pristine package itself (unless the
 | 
					
						
							|  |  |  | # license for the pristine package is not an Open Source License, in which
 | 
					
						
							|  |  |  | # case the license is the MIT License). An "Open Source License" is a
 | 
					
						
							|  |  |  | # license that conforms to the Open Source Definition (Version 1.9)
 | 
					
						
							|  |  |  | # published by the Open Source Initiative.
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | # Please submit bugfixes or comments via https://bugs.opensuse.org/
 | 
					
						
							|  |  |  | #
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-12-06 13:39:27 +00:00
										 |  |  | %define cpan_name Code-TidyAll
 | 
					
						
							| 
									
										
										
										
											2019-04-03 07:45:59 +00:00
										 |  |  | Name:           perl-Code-TidyAll
 | 
					
						
							| 
									
										
										
										
											2024-01-04 15:10:17 +00:00
										 |  |  | Version:        0.840.0
 | 
					
						
							| 
									
										
										
										
											2019-04-03 07:45:59 +00:00
										 |  |  | Release:        0
 | 
					
						
							| 
									
										
										
										
											2024-01-04 15:10:17 +00:00
										 |  |  | %define cpan_version 0.84
 | 
					
						
							| 
									
										
										
										
											2019-04-03 07:45:59 +00:00
										 |  |  | License:        Artistic-1.0 OR GPL-1.0-or-later
 | 
					
						
							| 
									
										
										
										
											2021-12-06 13:39:27 +00:00
										 |  |  | Summary:        Engine for tidyall, your all-in-one code tidier and validator
 | 
					
						
							| 
									
										
										
										
											2020-10-22 08:07:16 +00:00
										 |  |  | URL:            https://metacpan.org/release/%{cpan_name}
 | 
					
						
							| 
									
										
										
										
											2024-01-04 15:10:17 +00:00
										 |  |  | Source0:        https://cpan.metacpan.org/authors/id/D/DR/DROLSKY/%{cpan_name}-%{cpan_version}.tar.gz
 | 
					
						
							| 
									
										
										
										
											2020-10-22 08:07:16 +00:00
										 |  |  | Source1:        cpanspec.yml
 | 
					
						
							| 
									
										
										
										
											2019-04-03 07:45:59 +00:00
										 |  |  | BuildArch:      noarch
 | 
					
						
							|  |  |  | BuildRequires:  perl
 | 
					
						
							|  |  |  | BuildRequires:  perl-macros
 | 
					
						
							|  |  |  | BuildRequires:  perl(Capture::Tiny)
 | 
					
						
							|  |  |  | BuildRequires:  perl(Config::INI::Reader)
 | 
					
						
							|  |  |  | BuildRequires:  perl(Date::Format)
 | 
					
						
							|  |  |  | BuildRequires:  perl(Digest::SHA)
 | 
					
						
							|  |  |  | BuildRequires:  perl(File::Which)
 | 
					
						
							|  |  |  | BuildRequires:  perl(File::pushd)
 | 
					
						
							|  |  |  | BuildRequires:  perl(IPC::Run3)
 | 
					
						
							|  |  |  | BuildRequires:  perl(IPC::System::Simple)
 | 
					
						
							|  |  |  | BuildRequires:  perl(List::Compare)
 | 
					
						
							|  |  |  | BuildRequires:  perl(List::SomeUtils)
 | 
					
						
							|  |  |  | BuildRequires:  perl(Log::Any)
 | 
					
						
							|  |  |  | BuildRequires:  perl(Module::Runtime)
 | 
					
						
							|  |  |  | BuildRequires:  perl(Moo) >= 2.000000
 | 
					
						
							|  |  |  | BuildRequires:  perl(Moo::Role)
 | 
					
						
							|  |  |  | BuildRequires:  perl(Path::Tiny) >= 0.098
 | 
					
						
							|  |  |  | BuildRequires:  perl(Scope::Guard)
 | 
					
						
							|  |  |  | BuildRequires:  perl(Specio) >= 0.40
 | 
					
						
							|  |  |  | BuildRequires:  perl(Specio::Declare)
 | 
					
						
							|  |  |  | BuildRequires:  perl(Specio::Library::Builtins)
 | 
					
						
							|  |  |  | BuildRequires:  perl(Specio::Library::Numeric)
 | 
					
						
							|  |  |  | BuildRequires:  perl(Specio::Library::Path::Tiny) >= 0.04
 | 
					
						
							|  |  |  | BuildRequires:  perl(Specio::Library::String)
 | 
					
						
							|  |  |  | BuildRequires:  perl(Test::Class::Most)
 | 
					
						
							|  |  |  | BuildRequires:  perl(Test::Differences)
 | 
					
						
							|  |  |  | BuildRequires:  perl(Test::Fatal)
 | 
					
						
							|  |  |  | BuildRequires:  perl(Test::More) >= 0.96
 | 
					
						
							|  |  |  | BuildRequires:  perl(Test::Warnings)
 | 
					
						
							|  |  |  | BuildRequires:  perl(Text::Diff) >= 1.44
 | 
					
						
							|  |  |  | BuildRequires:  perl(Text::Diff::Table)
 | 
					
						
							|  |  |  | BuildRequires:  perl(Time::Duration::Parse)
 | 
					
						
							|  |  |  | BuildRequires:  perl(Try::Tiny)
 | 
					
						
							|  |  |  | BuildRequires:  perl(autodie)
 | 
					
						
							|  |  |  | BuildRequires:  perl(lib::relative)
 | 
					
						
							|  |  |  | Requires:       perl(Capture::Tiny)
 | 
					
						
							|  |  |  | Requires:       perl(Config::INI::Reader)
 | 
					
						
							|  |  |  | Requires:       perl(Date::Format)
 | 
					
						
							|  |  |  | Requires:       perl(Digest::SHA)
 | 
					
						
							|  |  |  | Requires:       perl(File::Which)
 | 
					
						
							|  |  |  | Requires:       perl(File::pushd)
 | 
					
						
							|  |  |  | Requires:       perl(IPC::Run3)
 | 
					
						
							|  |  |  | Requires:       perl(IPC::System::Simple)
 | 
					
						
							|  |  |  | Requires:       perl(List::Compare)
 | 
					
						
							|  |  |  | Requires:       perl(List::SomeUtils)
 | 
					
						
							|  |  |  | Requires:       perl(Log::Any)
 | 
					
						
							|  |  |  | Requires:       perl(Module::Runtime)
 | 
					
						
							|  |  |  | Requires:       perl(Moo) >= 2.000000
 | 
					
						
							|  |  |  | Requires:       perl(Moo::Role)
 | 
					
						
							|  |  |  | Requires:       perl(Path::Tiny) >= 0.098
 | 
					
						
							|  |  |  | Requires:       perl(Scope::Guard)
 | 
					
						
							|  |  |  | Requires:       perl(Specio) >= 0.40
 | 
					
						
							|  |  |  | Requires:       perl(Specio::Declare)
 | 
					
						
							|  |  |  | Requires:       perl(Specio::Library::Builtins)
 | 
					
						
							|  |  |  | Requires:       perl(Specio::Library::Numeric)
 | 
					
						
							|  |  |  | Requires:       perl(Specio::Library::Path::Tiny) >= 0.04
 | 
					
						
							|  |  |  | Requires:       perl(Specio::Library::String)
 | 
					
						
							|  |  |  | Requires:       perl(Text::Diff) >= 1.44
 | 
					
						
							|  |  |  | Requires:       perl(Text::Diff::Table)
 | 
					
						
							|  |  |  | Requires:       perl(Time::Duration::Parse)
 | 
					
						
							|  |  |  | Requires:       perl(Try::Tiny)
 | 
					
						
							| 
									
										
										
										
											2024-01-04 15:10:17 +00:00
										 |  |  | Provides:       perl(Code::TidyAll) = %{version}
 | 
					
						
							|  |  |  | Provides:       perl(Code::TidyAll::Cache) = %{version}
 | 
					
						
							|  |  |  | Provides:       perl(Code::TidyAll::CacheModel) = %{version}
 | 
					
						
							|  |  |  | Provides:       perl(Code::TidyAll::CacheModel::Shared) = %{version}
 | 
					
						
							|  |  |  | Provides:       perl(Code::TidyAll::Config::INI::Reader) = %{version}
 | 
					
						
							|  |  |  | Provides:       perl(Code::TidyAll::Git::Precommit) = %{version}
 | 
					
						
							|  |  |  | Provides:       perl(Code::TidyAll::Git::Prereceive) = %{version}
 | 
					
						
							|  |  |  | Provides:       perl(Code::TidyAll::Git::Util) = %{version}
 | 
					
						
							|  |  |  | Provides:       perl(Code::TidyAll::Plugin) = %{version}
 | 
					
						
							|  |  |  | Provides:       perl(Code::TidyAll::Plugin::CSSUnminifier) = %{version}
 | 
					
						
							|  |  |  | Provides:       perl(Code::TidyAll::Plugin::GenericTransformer) = %{version}
 | 
					
						
							|  |  |  | Provides:       perl(Code::TidyAll::Plugin::GenericValidator) = %{version}
 | 
					
						
							|  |  |  | Provides:       perl(Code::TidyAll::Plugin::JSBeautify) = %{version}
 | 
					
						
							|  |  |  | Provides:       perl(Code::TidyAll::Plugin::JSHint) = %{version}
 | 
					
						
							|  |  |  | Provides:       perl(Code::TidyAll::Plugin::JSLint) = %{version}
 | 
					
						
							|  |  |  | Provides:       perl(Code::TidyAll::Plugin::JSON) = %{version}
 | 
					
						
							|  |  |  | Provides:       perl(Code::TidyAll::Plugin::MasonTidy) = %{version}
 | 
					
						
							|  |  |  | Provides:       perl(Code::TidyAll::Plugin::PHPCodeSniffer) = %{version}
 | 
					
						
							|  |  |  | Provides:       perl(Code::TidyAll::Plugin::PerlCritic) = %{version}
 | 
					
						
							|  |  |  | Provides:       perl(Code::TidyAll::Plugin::PerlTidy) = %{version}
 | 
					
						
							|  |  |  | Provides:       perl(Code::TidyAll::Plugin::PerlTidySweet) = %{version}
 | 
					
						
							|  |  |  | Provides:       perl(Code::TidyAll::Plugin::PodChecker) = %{version}
 | 
					
						
							|  |  |  | Provides:       perl(Code::TidyAll::Plugin::PodSpell) = %{version}
 | 
					
						
							|  |  |  | Provides:       perl(Code::TidyAll::Plugin::PodTidy) = %{version}
 | 
					
						
							|  |  |  | Provides:       perl(Code::TidyAll::Plugin::SortLines) = %{version}
 | 
					
						
							|  |  |  | Provides:       perl(Code::TidyAll::Result) = %{version}
 | 
					
						
							|  |  |  | Provides:       perl(Code::TidyAll::Role::GenericExecutable) = %{version}
 | 
					
						
							|  |  |  | Provides:       perl(Code::TidyAll::Role::HasIgnore) = %{version}
 | 
					
						
							|  |  |  | Provides:       perl(Code::TidyAll::Role::RunsCommand) = %{version}
 | 
					
						
							|  |  |  | Provides:       perl(Code::TidyAll::Role::Tempdir) = %{version}
 | 
					
						
							|  |  |  | Provides:       perl(Code::TidyAll::SVN::Precommit) = %{version}
 | 
					
						
							|  |  |  | Provides:       perl(Code::TidyAll::SVN::Util) = %{version}
 | 
					
						
							|  |  |  | Provides:       perl(Code::TidyAll::Util::Zglob) = %{version}
 | 
					
						
							|  |  |  | Provides:       perl(Code::TidyAll::Zglob) = %{version}
 | 
					
						
							|  |  |  | Provides:       perl(Test::Code::TidyAll) = %{version}
 | 
					
						
							|  |  |  | %define         __perllib_provides /bin/true
 | 
					
						
							| 
									
										
										
										
											2019-04-03 07:45:59 +00:00
										 |  |  | Recommends:     perl(Parallel::ForkManager)
 | 
					
						
							|  |  |  | %{perl_requires}
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | %description
 | 
					
						
							|  |  |  | This is the engine used by tidyall - read that first to get an overview.
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | You can call this API from your own program instead of executing 'tidyall'.
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | %prep
 | 
					
						
							| 
									
										
										
										
											2024-01-04 15:10:17 +00:00
										 |  |  | %autosetup  -n %{cpan_name}-%{cpan_version}
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -path "*/scripts/*" ! -name "configure" -print0 | xargs -0 chmod 644
 | 
					
						
							| 
									
										
										
										
											2019-04-03 07:45:59 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | %build
 | 
					
						
							|  |  |  | perl Makefile.PL INSTALLDIRS=vendor
 | 
					
						
							| 
									
										
										
										
											2021-12-06 13:39:27 +00:00
										 |  |  | %make_build
 | 
					
						
							| 
									
										
										
										
											2019-04-03 07:45:59 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | %check
 | 
					
						
							|  |  |  | make test
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | %install
 | 
					
						
							|  |  |  | %perl_make_install
 | 
					
						
							|  |  |  | %perl_process_packlist
 | 
					
						
							|  |  |  | %perl_gen_filelist
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | %files -f %{name}.files
 | 
					
						
							| 
									
										
										
										
											2021-12-06 13:39:27 +00:00
										 |  |  | %doc Changes CODE_OF_CONDUCT.md CONTRIBUTING.md README.md
 | 
					
						
							| 
									
										
										
										
											2019-04-03 07:45:59 +00:00
										 |  |  | %license LICENSE
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | %changelog
 |