# # spec file for package perl-Net-LDAP-Server-Test # # Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # 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 http://bugs.opensuse.org/ # Name: perl-Net-LDAP-Server-Test Version: 0.14 Release: 0 %define cpan_name Net-LDAP-Server-Test Summary: test Net::LDAP code License: GPL-2.0+ or SUSE-Artistic-1.0+ Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/Net-LDAP-Server-Test/ #Source: http://www.cpan.org/authors/id/K/KA/KARMAN/Net-LDAP-Server-Test-%%{version}.tar.gz Source0: %{cpan_name}-%{version}.tar.gz BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(Data::Dump) BuildRequires: perl(IO::Select) BuildRequires: perl(IO::Socket) BuildRequires: perl(Net::LDAP) BuildRequires: perl(Net::LDAP::Server) >= 0.3 Requires: perl(Data::Dump) Requires: perl(IO::Select) Requires: perl(IO::Socket) Requires: perl(Net::LDAP) Requires: perl(Net::LDAP::Server) >= 0.3 BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %{perl_requires} %description Now you can test your Net::LDAP code without having a real LDAP server available. %prep %setup -q -n %{cpan_name}-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %{__make} %{?_smp_mflags} %check %{__make} test %install %perl_make_install %perl_process_packlist %perl_gen_filelist %clean %{__rm} -rf %{buildroot} %files -f %{name}.files %defattr(-,root,root) %doc Changes README %changelog