Files
perl-Catalyst-Model-LDAP/perl-Catalyst-Model-LDAP.spec
2025-08-12 18:12:08 +02:00

100 lines
3.3 KiB
RPMSpec

#
# spec file for package perl-Catalyst-Model-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 Catalyst-Model-LDAP
Name: perl-Catalyst-Model-LDAP
Version: 0.210.0
Release: 0
# 0.21 -> normalize -> 0.210.0
%define cpan_version 0.21
License: Artistic-1.0 OR GPL-1.0-or-later
Summary: LDAP model class for Catalyst
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/G/GH/GHENRY/%{cpan_name}-%{cpan_version}.tar.gz
Source1: cpanspec.yml
Source100: README.md
BuildArch: noarch
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Catalyst) >= 5.620.0
BuildRequires: perl(Catalyst::Controller)
BuildRequires: perl(Catalyst::Model)
BuildRequires: perl(Catalyst::Test)
BuildRequires: perl(Class::Accessor::Fast)
BuildRequires: perl(Data::Page)
BuildRequires: perl(MRO::Compat)
BuildRequires: perl(Module::Runtime) >= 0.015
BuildRequires: perl(Net::LDAP) >= 0.65
BuildRequires: perl(Net::LDAP::Constant)
BuildRequires: perl(Net::LDAP::Control::ProxyAuth) >= 1.09
BuildRequires: perl(Net::LDAP::Control::Sort)
BuildRequires: perl(Net::LDAP::Control::VLV)
BuildRequires: perl(Net::LDAP::Entry)
BuildRequires: perl(Net::LDAP::Search)
Requires: perl(Catalyst) >= 5.620.0
Requires: perl(Catalyst::Model)
Requires: perl(Class::Accessor::Fast)
Requires: perl(Data::Page)
Requires: perl(MRO::Compat)
Requires: perl(Module::Runtime) >= 0.015
Requires: perl(Net::LDAP) >= 0.65
Requires: perl(Net::LDAP::Constant)
Requires: perl(Net::LDAP::Control::ProxyAuth) >= 1.09
Requires: perl(Net::LDAP::Control::Sort)
Requires: perl(Net::LDAP::Control::VLV)
Requires: perl(Net::LDAP::Entry)
Requires: perl(Net::LDAP::Search)
Provides: perl(Catalyst::Helper::Model::LDAP)
Provides: perl(Catalyst::Model::LDAP) = %{version}
Provides: perl(Catalyst::Model::LDAP::Connection)
Provides: perl(Catalyst::Model::LDAP::Entry)
Provides: perl(Catalyst::Model::LDAP::Search)
%undefine __perllib_provides
%{perl_requires}
%description
This is the Net::LDAP model class for Catalyst. It is nothing more than a
simple wrapper for Net::LDAP.
This class simplifies LDAP access by letting you configure a common set of
bind arguments. It also lets you configure a base DN for searching.
Please refer to the Net::LDAP documentation for information on what else is
available.
%prep
%autosetup -n %{cpan_name}-%{cpan_version}
%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 README
%license LICENSE
%changelog