| 
									
										
										
										
											2019-04-03 07:45:59 +00:00
										 |  |  | #
 | 
					
						
							|  |  |  | # spec file for package perl-Code-TidyAll
 | 
					
						
							|  |  |  | #
 | 
					
						
							| 
									
										
										
										
											2020-10-22 08:07:16 +00:00
										 |  |  | # Copyright (c) 2020 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/
 | 
					
						
							|  |  |  | #
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | Name:           perl-Code-TidyAll
 | 
					
						
							| 
									
										
										
										
											2020-10-22 08:07:16 +00:00
										 |  |  | Version:        0.78
 | 
					
						
							| 
									
										
										
										
											2019-04-03 07:45:59 +00:00
										 |  |  | Release:        0
 | 
					
						
							|  |  |  | %define cpan_name Code-TidyAll
 | 
					
						
							|  |  |  | Summary:        Engine for tidyall, your all-in-one code tidier and validator
 | 
					
						
							|  |  |  | License:        Artistic-1.0 OR GPL-1.0-or-later
 | 
					
						
							|  |  |  | Group:          Development/Libraries/Perl
 | 
					
						
							| 
									
										
										
										
											2020-10-22 08:07:16 +00:00
										 |  |  | URL:            https://metacpan.org/release/%{cpan_name}
 | 
					
						
							| 
									
										
										
										
											2019-04-03 07:45:59 +00:00
										 |  |  | Source0:        https://cpan.metacpan.org/authors/id/D/DR/DROLSKY/%{cpan_name}-%{version}.tar.gz
 | 
					
						
							| 
									
										
										
										
											2020-10-22 08:07:16 +00:00
										 |  |  | Source1:        cpanspec.yml
 | 
					
						
							| 
									
										
										
										
											2019-04-03 07:45:59 +00:00
										 |  |  | BuildArch:      noarch
 | 
					
						
							|  |  |  | BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 | 
					
						
							|  |  |  | 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)
 | 
					
						
							|  |  |  | 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
 | 
					
						
							|  |  |  | %setup -q -n %{cpan_name}-%{version}
 | 
					
						
							| 
									
										
										
										
											2020-10-22 08:07:16 +00:00
										 |  |  | find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644
 | 
					
						
							| 
									
										
										
										
											2019-04-03 07:45:59 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | %build
 | 
					
						
							|  |  |  | perl Makefile.PL INSTALLDIRS=vendor
 | 
					
						
							|  |  |  | make %{?_smp_mflags}
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | %check
 | 
					
						
							|  |  |  | make test
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | %install
 | 
					
						
							|  |  |  | %perl_make_install
 | 
					
						
							|  |  |  | %perl_process_packlist
 | 
					
						
							|  |  |  | %perl_gen_filelist
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | %files -f %{name}.files
 | 
					
						
							|  |  |  | %defattr(-,root,root,755)
 | 
					
						
							| 
									
										
										
										
											2020-10-22 08:07:16 +00:00
										 |  |  | %doc appveyor.yml Changes CODE_OF_CONDUCT.md CONTRIBUTING.md package.json package-lock.json README.md
 | 
					
						
							| 
									
										
										
										
											2019-04-03 07:45:59 +00:00
										 |  |  | %license LICENSE
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | %changelog
 |