diff --git a/README.md b/README.md index 3a8f6e8..dc19274 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # perl-Authen-NTLM +NTLM Authentication library for Perl. + diff --git a/perl-Authen-NTLM.spec b/perl-Authen-NTLM.spec new file mode 100644 index 0000000..cb9eb7e --- /dev/null +++ b/perl-Authen-NTLM.spec @@ -0,0 +1,75 @@ +Name: perl-Authen-NTLM +Version: 1.05 +Release: 4mamba +Summary: Authen::NTLM - NTLM Authentication library for Perl +Group: System/Libraries/Perl +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://www.cpan.org +Source: http://search.cpan.org/CPAN/authors/id/B/BU/BUZZ/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: perl-devel +BuildRequires: perl-Digest-HMAC +## AUTOBUILDREQ-END +Requires: perl >= %perl_major_ver +BuildArch: noarch +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%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 +* Mon Nov 12 2012 Silvan Calarco 1.05-4mamba +- perl 5.16 mass rebuild + +* Fri Oct 22 2010 Davide Madrisan 1.05-3mamba +- rebuild with INSTALLDIRS=vendor +- add build requirement for perl-Test-Pod + +* Mon Nov 03 2008 Silvan Calarco 1.05-2mamba +- automatic rebuild by autodist + +* Wed Jun 18 2008 Tiziana Ferro 1.05-1mamba +- update to 1.05 +- switch to noarch +- add buildrequirements + +* Thu Jan 18 2005 Silvan Calarco 0.31-2qilnx +- fix requirement for perl (>= instead of > ) + +* Thu Feb 12 2004 Silvan Calarco 0.31-1qilnx +- first build