855c983
Summary: XS Blowfish implementation for Perl
855c983
Name: perl-Crypt-Blowfish
855c983
Version: 2.09
c57d498
Release: 2%{?dist}
855c983
License: Distributable
855c983
Group: Development/Libraries
855c983
URL: http://search.cpan.org/dist/Crypt-Blowfish/
855c983
Source0: http://search.cpan.org/CPAN/authors/id/D/DP/DPARIS/Crypt-Blowfish-%{version}.tar.gz
855c983
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
855c983
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
855c983
Requires: perl-Crypt-CBC
855c983
BuildRequires: perl-Crypt-CBC
855c983
855c983
%description
855c983
Crypt::Blowfish is an XS-based implementation of the Blowfish
855c983
cryptography algorithm designed by Bruce Schneier. It's designed to
855c983
take full advantage of Crypt::CBC when desired. Blowfish keys may be
855c983
up to 448 bits (56 bytes) long.
855c983
855c983
%prep
855c983
%setup -q -n Crypt-Blowfish-%{version}
855c983
855c983
%build
855c983
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
855c983
make
855c983
855c983
%install
855c983
rm -rf $RPM_BUILD_ROOT
855c983
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
c57d498
find $RPM_BUILD_ROOT -name "*.bs" -a -size 0 -exec rm -f {} ';'
855c983
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
855c983
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
855c983
chmod -R u+w $RPM_BUILD_ROOT/*
855c983
855c983
%check
855c983
make test
855c983
855c983
%clean
855c983
rm -rf $RPM_BUILD_ROOT
855c983
855c983
%files
855c983
%defattr(-,root,root,-)
855c983
%doc COPYRIGHT Changes README
855c983
%{perl_vendorarch}/auto/*
855c983
%{perl_vendorarch}/Crypt/
855c983
%{_mandir}/man3/*.3*
855c983
855c983
%changelog
c57d498
* Thu Jul 14 2005 Andreas Thienemann <andreas@bawue.net> - 2.09-2
c57d498
- Fixed find line to not shellexpand.
c57d498
c57d498
855c983
* Thu Jul 14 2005 Andreas Thienemann <andreas@bawue.net> - 2.09-1
855c983
- Initial package
855c983