source: spec/trunk/SPECS/perl-NTLM.spec@ 1323

Last change on this file since 1323 was 1322, checked in by Silvan Scherrer, 8 years ago

spec: perl-NTLM: Release version 1.09-1.

File size: 1.5 KB
Line 
1Name: perl-NTLM
2Version: 1.09
3Release: 1%{?dist}
4Summary: NTLM Perl module
5License: GPL+ or Artistic
6Group: Development/Libraries
7URL: http://search.cpan.org/dist/NTLM/
8Vendor: bww bitwise works GmbH
9Source0: http://search.cpan.org/CPAN/authors/id/N/NB/NBEBOUT/NTLM-%{version}.tar.gz
10BuildArch: noarch
11BuildRequires: perl-generators
12BuildRequires: perl(ExtUtils::MakeMaker) perl(Digest::HMAC_MD5)
13BuildRequires: perl(Test::More)
14#BuildRequires: perl(Test::Pod)
15Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
16
17%description
18This module provides methods to use NTLM authentication. It can be used
19as an authenticate method with the Mail::IMAPClient module to perform
20the challenge/response mechanism for NTLM connections or it can be used
21on 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
28make %{?_smp_mflags}
29make manifypods
30
31%install
32rm -rf $RPM_BUILD_ROOT
33
34make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
35
36find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
37find $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.