c61d221
Summary:	Pure-perl Lanman and NT MD4 hash functions
c61d221
Name:		perl-Crypt-SmbHash
c61d221
Version:	0.12
5066e75
Release:	9%{?dist}
28f1158
License:	GPLv2+
c61d221
Group:		Development/Libraries
c61d221
Url:		http://search.cpan.org/dist/Crypt-SmbHash/
c61d221
Source0:	http://search.cpan.org/CPAN/authors/id/B/BJ/BJKUIT/Crypt-SmbHash-%{version}.tar.gz
c61d221
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
c61d221
Requires:	perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
0bdd40c
BuildRequires:	perl(Digest::MD4), perl(ExtUtils::MakeMaker)
c61d221
Requires:	perl(Digest::MD4)
c61d221
BuildArch:	noarch
c61d221
c61d221
%description
c61d221
This module generates Lanman and NT MD4 style password hashes, using perl-only
c61d221
code for portability. The module aids in the administration of Samba style
c61d221
systems.
c61d221
c61d221
%prep
c61d221
%setup -q -n Crypt-SmbHash-%{version}
c61d221
c61d221
%build
c61d221
%{__perl} Makefile.PL INSTALLDIRS=vendor
c61d221
%{__make} %{?_smp_mflags}
c61d221
c61d221
%check
c61d221
%{__make} test
c61d221
c61d221
%install
c61d221
%{__rm} -rf %{buildroot}
c61d221
%{__make} pure_install PERL_INSTALL_ROOT=%{buildroot}
c61d221
/usr/bin/find %{buildroot} -type f -name .packlist -exec %{__rm} -f {} ';'
3eb7517
/usr/bin/find %{buildroot} -depth -type d -exec /bin/rmdir {} 2>/dev/null ';'
c61d221
%{__chmod} -R u+w %{buildroot}/*
c61d221
c61d221
%clean
c61d221
%{__rm} -rf %{buildroot}
c61d221
c61d221
%files
3eb7517
%defattr(-,root,root,-)
c61d221
%doc Changes README
c61d221
%{perl_vendorlib}/Crypt/
c61d221
%{_mandir}/man3/Crypt::SmbHash.3pm*
c61d221
c61d221
%changelog
5066e75
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.12-9
5066e75
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
5066e75
13cd9b8
* Thu Mar 06 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.12-8
13cd9b8
Rebuild for new perl
13cd9b8
9009097
* Wed Mar  5 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.12-7
9009097
- rebuild for new perl
9009097
28f1158
* Sun Aug 12 2007 Paul Howarth <paul@city-fan.org> 0.12-6
28f1158
- Clarify license as GPL version 2 or later
28f1158
3eb7517
* Thu Mar  8 2007 Paul Howarth <paul@city-fan.org> 0.12-5
0bdd40c
- Buildrequire perl(ExtUtils::MakeMaker)
3eb7517
- Fix argument order for find with -depth
3eb7517
79d056e
* Tue Aug 29 2006 Paul Howarth <paul@city-fan.org> 0.12-4
79d056e
- FE6 mass rebuild
79d056e
a5008e6
* Thu Feb 16 2006 Paul Howarth <paul@city-fan.org> 0.12-3
a5008e6
- Rebuild for perl 5.8.8 (FC5)
a5008e6
c61d221
* Wed Jan 25 2006 Paul Howarth <paul@city-fan.org> 0.12-2
c61d221
- Added buildreq perl(Digest::MD4) to ensure that the test suite runs in the
c61d221
  same environment as the installed package will do (i.e. with the optional
c61d221
  Digest::MD4 module installed)
c61d221
c61d221
* Tue Jan 17 2006 Paul Howarth <paul@city-fan.org> 0.12-1
c61d221
- Initial build