76 lines
2.1 KiB
RPMSpec
76 lines
2.1 KiB
RPMSpec
|
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 <silvan.calarco@mambasoft.it>
|
||
|
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 <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
|