File perl-App-LDAP.spec of Package perl-App-LDAP
#
# spec file for package perl-App-LDAP
#
# 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 App-LDAP
Name: perl-App-LDAP
Version: 0.60.0
Release: 0
# 0.06 -> normalize -> 0.60.0
%define cpan_version 0.06
License: MIT
Summary: App::LDAP Perl module
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/S/SH/SHELLING/%{cpan_name}-%{cpan_version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Authen::SASL)
BuildRequires: perl(Crypt::Password)
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.59
BuildRequires: perl(Modern::Perl)
BuildRequires: perl(Moose)
BuildRequires: perl(MooseX::Getopt)
BuildRequires: perl(Namespace::Dispatch)
BuildRequires: perl(Net::LDAP)
BuildRequires: perl(Term::ReadPassword)
Requires: perl(Authen::SASL)
Requires: perl(Crypt::Password)
Requires: perl(Modern::Perl)
Requires: perl(Moose)
Requires: perl(MooseX::Getopt)
Requires: perl(Namespace::Dispatch)
Requires: perl(Net::LDAP)
Requires: perl(Term::ReadPassword)
Provides: perl(App::LDAP) = %{version}
Provides: perl(App::LDAP::Command)
Provides: perl(App::LDAP::Command::Add)
Provides: perl(App::LDAP::Command::Add::Group)
Provides: perl(App::LDAP::Command::Add::Host)
Provides: perl(App::LDAP::Command::Add::Sudoer)
Provides: perl(App::LDAP::Command::Add::User)
Provides: perl(App::LDAP::Command::Del)
Provides: perl(App::LDAP::Command::Del::Group)
Provides: perl(App::LDAP::Command::Del::Host)
Provides: perl(App::LDAP::Command::Del::Sudoer)
Provides: perl(App::LDAP::Command::Del::User)
Provides: perl(App::LDAP::Command::Export)
Provides: perl(App::LDAP::Command::Help)
Provides: perl(App::LDAP::Command::Import)
Provides: perl(App::LDAP::Command::Migrate)
Provides: perl(App::LDAP::Command::Migrate::Group)
Provides: perl(App::LDAP::Command::Migrate::Host)
Provides: perl(App::LDAP::Command::Migrate::Sudoer)
Provides: perl(App::LDAP::Command::Migrate::User)
Provides: perl(App::LDAP::Command::Passwd)
Provides: perl(App::LDAP::Config)
Provides: perl(App::LDAP::LDIF)
Provides: perl(App::LDAP::LDIF::Group)
Provides: perl(App::LDAP::LDIF::Host)
Provides: perl(App::LDAP::LDIF::OrgUnit)
Provides: perl(App::LDAP::LDIF::Sudoer)
Provides: perl(App::LDAP::LDIF::User)
Provides: perl(App::LDAP::Utils)
%undefine __perllib_provides
%{perl_requires}
%description
App::LDAP is intent on providing client-side solution of
L<RFC 2307|http://www.ietf.org/rfc/rfc2307.txt>,
L<RFC 2798|http://www.ietf.org/rfc/rfc2798.txt>.
%prep
%autosetup -n %{cpan_name}-%{cpan_version}
%build
PERL_USE_UNSAFE_INC=1 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 README.md
%changelog