2007-01-15 23:32:24 +00:00
|
|
|
#
|
2011-09-14 08:52:33 +00:00
|
|
|
# spec file for package perl-ldap
|
2007-01-15 23:32:24 +00:00
|
|
|
#
|
2024-01-04 12:49:24 +00:00
|
|
|
# Copyright (c) 2024 SUSE LLC
|
2007-01-15 23:32:24 +00:00
|
|
|
#
|
2008-08-21 23:54:50 +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.
|
|
|
|
|
2019-06-17 17:27:22 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2007-01-15 23:32:24 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
|
2013-09-09 10:02:29 +00:00
|
|
|
%define cpan_name perl-ldap
|
2019-06-17 17:27:22 +00:00
|
|
|
Name: perl-ldap
|
2021-06-09 15:28:05 +00:00
|
|
|
Version: 0.68
|
2012-01-30 09:27:16 +00:00
|
|
|
Release: 0
|
2021-06-09 15:28:05 +00:00
|
|
|
License: Artistic-1.0 OR GPL-1.0-or-later
|
2021-09-27 16:18:51 +00:00
|
|
|
Summary: Perl::ldap Perl module
|
|
|
|
URL: https://metacpan.org/release/%{cpan_name}
|
2019-06-17 17:27:22 +00:00
|
|
|
Source0: https://cpan.metacpan.org/authors/id/M/MA/MARSCHAP/%{cpan_name}-%{version}.tar.gz
|
2021-06-09 16:45:43 +00:00
|
|
|
Source1: cpanspec.yml
|
2025-08-12 18:14:58 +02:00
|
|
|
Source100: README.md
|
2019-11-13 13:07:42 +00:00
|
|
|
BuildArch: noarch
|
2021-09-27 16:18:51 +00:00
|
|
|
BuildRequires: perl
|
|
|
|
BuildRequires: perl-macros
|
|
|
|
BuildRequires: perl(Convert::ASN1) >= 0.2
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.42
|
|
|
|
BuildRequires: perl(Text::Soundex)
|
|
|
|
Requires: perl(Convert::ASN1) >= 0.2
|
|
|
|
Recommends: perl(Authen::SASL) >= 2.00
|
|
|
|
Recommends: perl(IO::Socket::SSL) >= 1.26
|
|
|
|
Recommends: perl(URI::ldap) >= 1.10
|
|
|
|
%{perl_requires}
|
2021-06-09 16:45:43 +00:00
|
|
|
# MANUAL BEGIN
|
2021-09-27 16:18:51 +00:00
|
|
|
BuildRequires: perl(Digest::MD5)
|
|
|
|
BuildRequires: perl(IO::Socket::IP)
|
|
|
|
BuildRequires: perl(JSON)
|
|
|
|
BuildRequires: perl(MIME::Base64)
|
|
|
|
BuildRequires: perl(URI)
|
2021-06-09 16:45:43 +00:00
|
|
|
# MANUAL END
|
2007-01-15 23:32:24 +00:00
|
|
|
|
|
|
|
%description
|
2021-09-27 16:18:51 +00:00
|
|
|
perl::ldap Perl module
|
2007-01-15 23:32:24 +00:00
|
|
|
|
|
|
|
%prep
|
2021-09-27 16:18:51 +00:00
|
|
|
%autosetup -n %{cpan_name}-%{version}
|
|
|
|
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644
|
2021-06-09 16:45:43 +00:00
|
|
|
# MANUAL BEGIN
|
2021-06-09 15:28:05 +00:00
|
|
|
find contrib -type f | xargs -n 1 sed -i "s@%{_prefix}/local/bin/perl@%{_bindir}/perl@"
|
2021-06-09 16:45:43 +00:00
|
|
|
# MANUAL END
|
2021-09-27 16:18:51 +00:00
|
|
|
|
2007-01-15 23:32:24 +00:00
|
|
|
%build
|
2021-09-27 16:18:51 +00:00
|
|
|
PERL_USE_UNSAFE_INC=1 perl Makefile.PL INSTALLDIRS=vendor
|
2021-06-09 15:28:05 +00:00
|
|
|
%make_build
|
2008-03-10 17:33:48 +00:00
|
|
|
|
|
|
|
%check
|
2021-09-27 16:18:51 +00:00
|
|
|
make test
|
2007-01-15 23:32:24 +00:00
|
|
|
|
|
|
|
%install
|
2013-09-09 10:02:29 +00:00
|
|
|
%perl_make_install
|
2007-01-15 23:32:24 +00:00
|
|
|
%perl_process_packlist
|
2013-09-09 10:02:29 +00:00
|
|
|
%perl_gen_filelist
|
2007-01-15 23:32:24 +00:00
|
|
|
|
2013-09-09 10:02:29 +00:00
|
|
|
%files -f %{name}.files
|
2017-09-29 10:36:44 +00:00
|
|
|
%doc Changes CREDITS README TODO
|
2007-01-15 23:32:24 +00:00
|
|
|
|
2008-03-10 17:33:48 +00:00
|
|
|
%changelog
|