perl-Authen-NTLM/perl-Authen-NTLM.spec

79 lines
2.2 KiB
RPMSpec

Name: perl-Authen-NTLM
Version: 1.09
Release: 1mamba
Summary: Authen::NTLM - NTLM Authentication library for Perl
Group: System/Libraries/Perl
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://www.cpan.org/
Source: https://cpan.metacpan.org/modules/by-module/NTLM/NTLM-%{version}.tar.gz
License: GPL
BuildRequires: perl-devel
BuildRequires: perl-Crypt-DES_PP
BuildRequires: perl-Digest-Perl-MD4
BuildRequires: perl-Test-Pod
## AUTOBUILDREQ-BEGIN
BuildRequires: libperl
BuildRequires: perl-Digest-HMAC
BuildRequires: perl-devel
## AUTOBUILDREQ-END
Requires: perl >= %perl_major_ver
BuildArch: noarch
%description
NTLM Authentication library for Perl.
%prep
%setup -q -n NTLM-%{version}
%build
perl Makefile.PL PREFIX=%{_prefix} INSTALLDIRS=vendor
%make
%make test
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall_perl
packlist=`find %{buildroot} -name .packlist`
[ -z "$packlist" ] && exit 1 || cat $packlist | \
sed "s,%{buildroot},,g;s,.*/man/.*,&.gz,g" | \
sort -u > .packlist && rm -f $packlist
strid=`echo $packlist | sed 's,.*auto\(.*\)/.packlist,\1,'`
for dir in `find %{buildroot} -type d | grep $strid`; do
echo "%dir ${dir#%buildroot}" >> .packlist
done
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files -f .packlist
%defattr(-,root,root)
%changelog
* Tue Jun 15 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.09-1mamba
- update to 1.09
* Mon Nov 12 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 1.05-4mamba
- perl 5.16 mass rebuild
* Fri Oct 22 2010 Davide Madrisan <davide.madrisan@gmail.com> 1.05-3mamba
- rebuild with INSTALLDIRS=vendor
- add build requirement for perl-Test-Pod
* Mon Nov 03 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 1.05-2mamba
- automatic rebuild by autodist
* Wed Jun 18 2008 Tiziana Ferro <tiziana.ferro@email.it> 1.05-1mamba
- update to 1.05
- switch to noarch
- add buildrequirements
* Thu Jan 18 2005 Silvan Calarco <silvan.calarco@mambasoft.it> 0.31-2qilnx
- fix requirement for perl (>= instead of > )
* Thu Feb 12 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 0.31-1qilnx
- first build