|
Last change
on this file since 1574 was 1322, checked in by Silvan Scherrer, 8 years ago |
|
spec: perl-NTLM: Release version 1.09-1.
|
|
File size:
1.5 KB
|
| Line | |
|---|
| 1 | Name: perl-NTLM
|
|---|
| 2 | Version: 1.09
|
|---|
| 3 | Release: 1%{?dist}
|
|---|
| 4 | Summary: NTLM Perl module
|
|---|
| 5 | License: GPL+ or Artistic
|
|---|
| 6 | Group: Development/Libraries
|
|---|
| 7 | URL: http://search.cpan.org/dist/NTLM/
|
|---|
| 8 | Vendor: bww bitwise works GmbH
|
|---|
| 9 | Source0: http://search.cpan.org/CPAN/authors/id/N/NB/NBEBOUT/NTLM-%{version}.tar.gz
|
|---|
| 10 | BuildArch: noarch
|
|---|
| 11 | BuildRequires: perl-generators
|
|---|
| 12 | BuildRequires: perl(ExtUtils::MakeMaker) perl(Digest::HMAC_MD5)
|
|---|
| 13 | BuildRequires: perl(Test::More)
|
|---|
| 14 | #BuildRequires: perl(Test::Pod)
|
|---|
| 15 | Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|---|
| 16 |
|
|---|
| 17 | %description
|
|---|
| 18 | This module provides methods to use NTLM authentication. It can be used
|
|---|
| 19 | as an authenticate method with the Mail::IMAPClient module to perform
|
|---|
| 20 | the challenge/response mechanism for NTLM connections or it can be used
|
|---|
| 21 | on its own for NTLM authentication with other protocols (eg. HTTP).
|
|---|
| 22 |
|
|---|
| 23 | %prep
|
|---|
| 24 | %setup -q -n NTLM-%{version}
|
|---|
| 25 |
|
|---|
| 26 | %build
|
|---|
| 27 | %{__perl} Makefile.PL INSTALLDIRS=vendor
|
|---|
| 28 | make %{?_smp_mflags}
|
|---|
| 29 | make manifypods
|
|---|
| 30 |
|
|---|
| 31 | %install
|
|---|
| 32 | rm -rf $RPM_BUILD_ROOT
|
|---|
| 33 |
|
|---|
| 34 | make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
|---|
| 35 |
|
|---|
| 36 | find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
|
|---|
| 37 | find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
|
|---|
| 38 |
|
|---|
| 39 | %{_fixperms} $RPM_BUILD_ROOT/*
|
|---|
| 40 |
|
|---|
| 41 | %check
|
|---|
| 42 | #make test
|
|---|
| 43 |
|
|---|
| 44 | %files
|
|---|
| 45 | %defattr(-,root,root,-)
|
|---|
| 46 | %doc Changes README
|
|---|
| 47 | %{perl_vendorlib}/*
|
|---|
| 48 | %{_mandir}/man3/*
|
|---|
| 49 |
|
|---|
| 50 | %changelog
|
|---|
| 51 | * Fri Mar 02 2018 Silvan Scherrer <silvan.scherrer@aroa.ch> 1.09-1
|
|---|
| 52 | - initial rpm
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.