# # spec file for package perl-Pinto # # Copyright (c) 2024 SUSE LLC # # 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/ # %define cpan_name Pinto Name: perl-Pinto Version: 0.140.0 Release: 0 # 0.14 -> normalize -> 0.140.0 %define cpan_version 0.14 License: Artistic-1.0 OR GPL-1.0-or-later Summary: Curate a repository of Perl modules URL: https://metacpan.org/release/%{cpan_name} Source0: https://cpan.metacpan.org/authors/id/T/TH/THALJEF/%{cpan_name}-%{cpan_version}.tar.gz Source1: cpanspec.yml Source100: README.md BuildArch: noarch BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(Apache::Htpasswd) BuildRequires: perl(App::Cmd) >= 0.323 BuildRequires: perl(App::Cmd::Command::help) BuildRequires: perl(App::Cmd::Setup) BuildRequires: perl(Archive::Extract) >= 0.68 BuildRequires: perl(Archive::Tar) BuildRequires: perl(Authen::Simple::Passwd) BuildRequires: perl(CPAN::Checksums) BuildRequires: perl(CPAN::DistnameInfo) BuildRequires: perl(CPAN::Meta) BuildRequires: perl(CPAN::Meta::Requirements) BuildRequires: perl(Capture::Tiny) BuildRequires: perl(Class::Load) BuildRequires: perl(Cwd::Guard) BuildRequires: perl(DBD::SQLite) >= 1.33 BuildRequires: perl(DBIx::Class) >= 0.08200 BuildRequires: perl(DBIx::Class::Core) BuildRequires: perl(DBIx::Class::ResultSet) BuildRequires: perl(DBIx::Class::Schema) BuildRequires: perl(DateTime) BuildRequires: perl(DateTime::TimeZone) BuildRequires: perl(DateTime::TimeZone::Local::Unix) BuildRequires: perl(DateTime::TimeZone::OffsetOnly) BuildRequires: perl(Devel::StackTrace) BuildRequires: perl(Digest::SHA) BuildRequires: perl(Dist::Metadata) >= 0.926 BuildRequires: perl(ExtUtils::MakeMaker) >= 6.64 BuildRequires: perl(File::HomeDir) BuildRequires: perl(File::NFSLock) BuildRequires: perl(File::Which) BuildRequires: perl(HTTP::Body) BuildRequires: perl(HTTP::Date) BuildRequires: perl(HTTP::Request::Common) BuildRequires: perl(HTTP::Response) BuildRequires: perl(HTTP::Server::PSGI) BuildRequires: perl(HTTP::Status) BuildRequires: perl(IO::Interactive) BuildRequires: perl(IO::Prompt) BuildRequires: perl(IO::String) BuildRequires: perl(IO::Zlib) BuildRequires: perl(JSON) BuildRequires: perl(JSON::PP) >= 2.27 BuildRequires: perl(LWP::UserAgent) BuildRequires: perl(List::MoreUtils) BuildRequires: perl(Module::CoreList) >= 5.20170720 BuildRequires: perl(Module::Faker::Dist) >= 0.14.0 BuildRequires: perl(Module::Metadata) >= 1.000031 BuildRequires: perl(Moose) BuildRequires: perl(Moose::Role) BuildRequires: perl(MooseX::Aliases) BuildRequires: perl(MooseX::ClassAttribute) >= 0.27 BuildRequires: perl(MooseX::Configuration) BuildRequires: perl(MooseX::MarkAsMethods) BuildRequires: perl(MooseX::NonMoose) BuildRequires: perl(MooseX::SetOnce) BuildRequires: perl(MooseX::StrictConstructor) BuildRequires: perl(MooseX::Types) BuildRequires: perl(MooseX::Types::Moose) BuildRequires: perl(Path::Class) BuildRequires: perl(Path::Class::Dir) BuildRequires: perl(Path::Class::File) BuildRequires: perl(Plack) >= 1.0028 BuildRequires: perl(Plack::MIME) BuildRequires: perl(Plack::Middleware::Auth::Basic) BuildRequires: perl(Plack::Request) BuildRequires: perl(Plack::Response) BuildRequires: perl(Plack::Runner) BuildRequires: perl(Plack::Test) BuildRequires: perl(Proc::Fork) BuildRequires: perl(Proc::Terminator) BuildRequires: perl(Readonly) BuildRequires: perl(Router::Simple) BuildRequires: perl(Starman) >= 0.3014 BuildRequires: perl(String::Format) BuildRequires: perl(Term::ANSIColor) >= 2.02 BuildRequires: perl(Test::Exception) BuildRequires: perl(Test::File) BuildRequires: perl(Test::LWP::UserAgent) >= 0.018 BuildRequires: perl(Test::More) >= 0.96 BuildRequires: perl(Test::TCP) BuildRequires: perl(Throwable::Error) >= 0.200005 BuildRequires: perl(Try::Tiny) BuildRequires: perl(URI) BuildRequires: perl(URI::Escape) >= 3.31 BuildRequires: perl(URI::file) BuildRequires: perl(UUID::Tiny) BuildRequires: perl(Variable::Magic) >= 0.57 BuildRequires: perl(version) Requires: perl(App::Cmd) >= 0.323 Requires: perl(App::Cmd::Command::help) Requires: perl(App::Cmd::Setup) Requires: perl(Archive::Extract) >= 0.68 Requires: perl(Archive::Tar) Requires: perl(Authen::Simple::Passwd) Requires: perl(CPAN::Checksums) Requires: perl(CPAN::DistnameInfo) Requires: perl(CPAN::Meta) Requires: perl(CPAN::Meta::Requirements) Requires: perl(Class::Load) Requires: perl(Cwd::Guard) Requires: perl(DBD::SQLite) >= 1.33 Requires: perl(DBIx::Class) >= 0.08200 Requires: perl(DBIx::Class::Core) Requires: perl(DBIx::Class::ResultSet) Requires: perl(DBIx::Class::Schema) Requires: perl(DateTime) Requires: perl(DateTime::TimeZone) Requires: perl(DateTime::TimeZone::Local::Unix) Requires: perl(DateTime::TimeZone::OffsetOnly) Requires: perl(Devel::StackTrace) Requires: perl(Digest::SHA) Requires: perl(Dist::Metadata) >= 0.926 Requires: perl(File::HomeDir) Requires: perl(File::NFSLock) Requires: perl(File::Which) Requires: perl(HTTP::Date) Requires: perl(HTTP::Request::Common) Requires: perl(HTTP::Status) Requires: perl(IO::Interactive) Requires: perl(IO::Prompt) Requires: perl(IO::String) Requires: perl(IO::Zlib) Requires: perl(JSON) Requires: perl(JSON::PP) >= 2.27 Requires: perl(LWP::UserAgent) Requires: perl(List::MoreUtils) Requires: perl(Module::CoreList) >= 5.20170720 Requires: perl(Module::Metadata) >= 1.000031 Requires: perl(Moose) Requires: perl(Moose::Role) Requires: perl(MooseX::Aliases) Requires: perl(MooseX::ClassAttribute) >= 0.27 Requires: perl(MooseX::Configuration) Requires: perl(MooseX::MarkAsMethods) Requires: perl(MooseX::NonMoose) Requires: perl(MooseX::SetOnce) Requires: perl(MooseX::StrictConstructor) Requires: perl(MooseX::Types) Requires: perl(MooseX::Types::Moose) Requires: perl(Path::Class) Requires: perl(Path::Class::Dir) Requires: perl(Path::Class::File) Requires: perl(Plack) >= 1.0028 Requires: perl(Plack::MIME) Requires: perl(Plack::Middleware::Auth::Basic) Requires: perl(Plack::Request) Requires: perl(Plack::Response) Requires: perl(Plack::Runner) Requires: perl(Proc::Fork) Requires: perl(Proc::Terminator) Requires: perl(Readonly) Requires: perl(Router::Simple) Requires: perl(Starman) >= 0.3014 Requires: perl(String::Format) Requires: perl(Term::ANSIColor) >= 2.02 Requires: perl(Throwable::Error) >= 0.200005 Requires: perl(Try::Tiny) Requires: perl(URI) Requires: perl(URI::Escape) >= 3.31 Requires: perl(URI::file) Requires: perl(UUID::Tiny) Requires: perl(Variable::Magic) >= 0.57 Requires: perl(version) Provides: perl(App::Pinto) = %{version} Provides: perl(App::Pinto::Command) = %{version} Provides: perl(App::Pinto::Command::add) = %{version} Provides: perl(App::Pinto::Command::clean) = %{version} Provides: perl(App::Pinto::Command::copy) = %{version} Provides: perl(App::Pinto::Command::default) = %{version} Provides: perl(App::Pinto::Command::delete) = %{version} Provides: perl(App::Pinto::Command::diff) = %{version} Provides: perl(App::Pinto::Command::help) = %{version} Provides: perl(App::Pinto::Command::init) = %{version} Provides: perl(App::Pinto::Command::install) = %{version} Provides: perl(App::Pinto::Command::kill) = %{version} Provides: perl(App::Pinto::Command::list) = %{version} Provides: perl(App::Pinto::Command::lock) = %{version} Provides: perl(App::Pinto::Command::log) = %{version} Provides: perl(App::Pinto::Command::look) = %{version} Provides: perl(App::Pinto::Command::manual) = %{version} Provides: perl(App::Pinto::Command::merge) = %{version} Provides: perl(App::Pinto::Command::migrate) = %{version} Provides: perl(App::Pinto::Command::new) = %{version} Provides: perl(App::Pinto::Command::nop) = %{version} Provides: perl(App::Pinto::Command::pin) = %{version} Provides: perl(App::Pinto::Command::props) = %{version} Provides: perl(App::Pinto::Command::pull) = %{version} Provides: perl(App::Pinto::Command::register) = %{version} Provides: perl(App::Pinto::Command::rename) = %{version} Provides: perl(App::Pinto::Command::reset) = %{version} Provides: perl(App::Pinto::Command::revert) = %{version} Provides: perl(App::Pinto::Command::roots) = %{version} Provides: perl(App::Pinto::Command::stacks) = %{version} Provides: perl(App::Pinto::Command::statistics) = %{version} Provides: perl(App::Pinto::Command::thanks) = %{version} Provides: perl(App::Pinto::Command::unlock) = %{version} Provides: perl(App::Pinto::Command::unpin) = %{version} Provides: perl(App::Pinto::Command::unregister) = %{version} Provides: perl(App::Pinto::Command::update) = %{version} Provides: perl(App::Pinto::Command::verify) = %{version} Provides: perl(Pinto) = %{version} Provides: perl(Pinto::Action) = %{version} Provides: perl(Pinto::Action::Add) = %{version} Provides: perl(Pinto::Action::Clean) = %{version} Provides: perl(Pinto::Action::Copy) = %{version} Provides: perl(Pinto::Action::Default) = %{version} Provides: perl(Pinto::Action::Delete) = %{version} Provides: perl(Pinto::Action::Diff) = %{version} Provides: perl(Pinto::Action::Install) = %{version} Provides: perl(Pinto::Action::Kill) = %{version} Provides: perl(Pinto::Action::List) = %{version} Provides: perl(Pinto::Action::Lock) = %{version} Provides: perl(Pinto::Action::Log) = %{version} Provides: perl(Pinto::Action::Look) = %{version} Provides: perl(Pinto::Action::Merge) = %{version} Provides: perl(Pinto::Action::New) = %{version} Provides: perl(Pinto::Action::Nop) = %{version} Provides: perl(Pinto::Action::Pin) = %{version} Provides: perl(Pinto::Action::Props) = %{version} Provides: perl(Pinto::Action::Pull) = %{version} Provides: perl(Pinto::Action::Register) = %{version} Provides: perl(Pinto::Action::Rename) = %{version} Provides: perl(Pinto::Action::Reset) = %{version} Provides: perl(Pinto::Action::Revert) = %{version} Provides: perl(Pinto::Action::Roots) = %{version} Provides: perl(Pinto::Action::Stacks) = %{version} Provides: perl(Pinto::Action::Statistics) = %{version} Provides: perl(Pinto::Action::Unlock) = %{version} Provides: perl(Pinto::Action::Unpin) = %{version} Provides: perl(Pinto::Action::Unregister) = %{version} Provides: perl(Pinto::Action::Update) = %{version} Provides: perl(Pinto::Action::Verify) = %{version} Provides: perl(Pinto::ArchiveUnpacker) = %{version} Provides: perl(Pinto::Chrome) = %{version} Provides: perl(Pinto::Chrome::Net) = %{version} Provides: perl(Pinto::Chrome::Term) = %{version} Provides: perl(Pinto::Config) = %{version} Provides: perl(Pinto::Constants) = %{version} Provides: perl(Pinto::Database) = %{version} Provides: perl(Pinto::Difference) = %{version} Provides: perl(Pinto::DifferenceEntry) = %{version} Provides: perl(Pinto::Editor) = %{version} Provides: perl(Pinto::Editor::Clip) = %{version} Provides: perl(Pinto::Editor::Edit) = %{version} Provides: perl(Pinto::Exception) = %{version} Provides: perl(Pinto::Globals) = %{version} Provides: perl(Pinto::IndexReader) = %{version} Provides: perl(Pinto::IndexWriter) = %{version} Provides: perl(Pinto::Initializer) = %{version} Provides: perl(Pinto::Locator) = %{version} Provides: perl(Pinto::Locator::Mirror) = %{version} Provides: perl(Pinto::Locator::Multiplex) = %{version} Provides: perl(Pinto::Locator::Stratopan) = %{version} Provides: perl(Pinto::Locker) = %{version} Provides: perl(Pinto::Migrator) = %{version} Provides: perl(Pinto::ModlistWriter) = %{version} Provides: perl(Pinto::PackageExtractor) = %{version} Provides: perl(Pinto::PrerequisiteWalker) = %{version} Provides: perl(Pinto::Remote) = %{version} Provides: perl(Pinto::Remote::Action) = %{version} Provides: perl(Pinto::Remote::Action::Add) = %{version} Provides: perl(Pinto::Remote::Action::Install) = %{version} Provides: perl(Pinto::Remote::Result) = %{version} Provides: perl(Pinto::Repository) = %{version} Provides: perl(Pinto::Result) = %{version} Provides: perl(Pinto::RevisionWalker) = %{version} Provides: perl(Pinto::Role::Committable) = %{version} Provides: perl(Pinto::Role::Installer) = %{version} Provides: perl(Pinto::Role::PauseConfig) = %{version} Provides: perl(Pinto::Role::Plated) = %{version} Provides: perl(Pinto::Role::Puller) = %{version} Provides: perl(Pinto::Role::Schema::Result) = %{version} Provides: perl(Pinto::Role::Transactional) = %{version} Provides: perl(Pinto::Role::UserAgent) = %{version} Provides: perl(Pinto::Schema) = %{version} Provides: perl(Pinto::Schema::Result::Ancestry) = %{version} Provides: perl(Pinto::Schema::Result::Distribution) = %{version} Provides: perl(Pinto::Schema::Result::Package) = %{version} Provides: perl(Pinto::Schema::Result::Prerequisite) = %{version} Provides: perl(Pinto::Schema::Result::Registration) = %{version} Provides: perl(Pinto::Schema::Result::Revision) = %{version} Provides: perl(Pinto::Schema::Result::Stack) = %{version} Provides: perl(Pinto::Schema::ResultSet::Distribution) = %{version} Provides: perl(Pinto::Schema::ResultSet::Package) = %{version} Provides: perl(Pinto::Schema::ResultSet::Registration) = %{version} Provides: perl(Pinto::Server) = %{version} Provides: perl(Pinto::Server::Responder) = %{version} Provides: perl(Pinto::Server::Responder::Action) = %{version} Provides: perl(Pinto::Server::Responder::File) = %{version} Provides: perl(Pinto::Server::Router) = %{version} Provides: perl(Pinto::Shell) = %{version} Provides: perl(Pinto::Statistics) = %{version} Provides: perl(Pinto::Store) = %{version} Provides: perl(Pinto::Target) = %{version} Provides: perl(Pinto::Target::Distribution) = %{version} Provides: perl(Pinto::Target::Package) = %{version} Provides: perl(Pinto::Types) = %{version} Provides: perl(Pinto::Util) = %{version} %undefine __perllib_provides %{perl_requires} # MANUAL BEGIN BuildRequires: timezone # MANUAL END %description Pinto is an application for creating and managing a custom CPAN-like repository of Perl modules. The purpose of such a repository is to provide a stable, curated stack of dependencies from which you can reliably build, test, and deploy your application using the standard Perl tool chain. Pinto supports various operations for gathering and managing distribution dependencies within the repository, so that you can control precisely which dependencies go into your application. %prep %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 %build perl Makefile.PL INSTALLDIRS=vendor %make_build %check make test %install %perl_make_install %perl_process_packlist %perl_gen_filelist %files -f %{name}.files %doc Changes %license LICENSE %changelog