7cf2a16
Name:           perl-Crypt-DES_EDE3
7cf2a16
Version:        0.01
ff11990
Release:        5%{?dist}
82e45cc
Summary:        Triple-DES EDE encryption/decryption module
7cf2a16
License:        GPL or Artistic
7cf2a16
Group:          Development/Libraries
7cf2a16
URL:            http://search.cpan.org/dist/Crypt-DES_EDE3/
3908b12
Source0:        http://www.cpan.org/authors/id/B/BT/BTROTT/Crypt-DES_EDE3-%{version}.tar.gz
7cf2a16
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
7cf2a16
BuildArch:      noarch
7cf2a16
BuildRequires:  perl(Crypt::DES)
ff11990
BuildRequires:  perl(ExtUtils::MakeMaker)
7cf2a16
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
7cf2a16
7cf2a16
%description
7cf2a16
This is Crypt::DES_EDE3, a module implementing Triple-DES EDE
7cf2a16
(encrypt-decrypt-encrypt) encryption and decryption.
7cf2a16
7cf2a16
%prep
7cf2a16
%setup -q -n Crypt-DES_EDE3-%{version}
7cf2a16
7cf2a16
%build
7cf2a16
%{__perl} Makefile.PL INSTALLDIRS=vendor
7cf2a16
make %{?_smp_mflags}
7cf2a16
7cf2a16
%install
7cf2a16
rm -rf $RPM_BUILD_ROOT
7cf2a16
7cf2a16
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
7cf2a16
7cf2a16
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
3908b12
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
7cf2a16
ff11990
%{_fixperms} $RPM_BUILD_ROOT/*
7cf2a16
7cf2a16
perldoc -t perlgpl > COPYING
7cf2a16
perldoc -t perlartistic > Artistic
7cf2a16
7cf2a16
%check
7cf2a16
make test
7cf2a16
7cf2a16
%clean
7cf2a16
rm -rf $RPM_BUILD_ROOT
7cf2a16
7cf2a16
%files
7cf2a16
%defattr(-,root,root,-)
7cf2a16
%doc Changes README COPYING Artistic
7cf2a16
%{perl_vendorlib}/*
7cf2a16
%{_mandir}/man3/*
7cf2a16
7cf2a16
%changelog
ff11990
* Tue Apr 17 2007 Steven Pritchard <steve@kspei.com> 0.01-5
ff11990
- Use fixperms macro instead of our own chmod incantation.
ff11990
- BR ExtUtils::MakeMaker.
ff11990
3908b12
* Sat Sep 16 2006 Steven Pritchard <steve@kspei.com> 0.01-4
3908b12
- Canonicalize Source0 URL.
3908b12
- Fix find option order.
3908b12
82e45cc
* Thu Feb 02 2006 Steven Pritchard <steve@kspei.com> 0.01-3
82e45cc
- Better Summary (BZ#168583).
82e45cc
7cf2a16
* Sat Sep 17 2005 Steven Pritchard <steve@kspei.com> 0.01-2
7cf2a16
- Minor spec cleanup.
7cf2a16
- Include license files.
7cf2a16
7cf2a16
* Fri Aug 26 2005 Steven Pritchard <steve@kspei.com> 0.01-1
7cf2a16
- Specfile autogenerated.