File perl-Crypt-SmbHash.spec of Package perl-Crypt-SmbHash

# spec file for package perl-Crypt-SmbHash
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via

Name:           perl-Crypt-SmbHash
Version:        0.12
Release:        0
Summary:        perl module Crypt::SmbHash
License:        Artistic-1.0 or GPL-2.0+
Group:          Development/Libraries/Perl
BuildRequires:  perl-Digest-MD4
BuildRequires:  perl-macros
Requires:       perl-Digest-MD4
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

This module provides functions to generate LM/NT hashes as used by

%setup -n Crypt-SmbHash-%{version}

perl Makefile.PL
make %{?_smp_mflags}

make test

make DESTDIR=%{buildroot} install_vendor

%defattr(-, root, root)
%doc %{_mandir}/man?/*

openSUSE Build Service is sponsored by