4b45771
Name:           perl-Crypt-Twofish
49c9e02
Version:        2.14
1ef3de0
Release:        9%{?dist}
4b45771
Summary:        Twofish Encryption Algorithm
4b45771
License:        GPL+ or Artistic
4b45771
Group:          Development/Libraries
4b45771
URL:            http://search.cpan.org/dist/Crypt-Twofish/
4b45771
Source0:        http://www.cpan.org/authors/id/A/AM/AMS/Crypt-Twofish-%{version}.tar.gz
4b45771
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
4b45771
BuildRequires:  perl(ExtUtils::MakeMaker)
4b45771
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
4b45771
49c9e02
%{?perl_default_filter}
49c9e02
4b45771
%description
4b45771
Twofish is a 128-bit symmetric block cipher with a variable length (128,
4b45771
192, or 256-bit) key, developed by Counterpane Labs. It is unpatented and
4b45771
free for all uses, as described at http://www.counterpane.com/twofish.html.
4b45771
4b45771
%prep
4b45771
%setup -q -n Crypt-Twofish-%{version}
4b45771
4b45771
%build
4b45771
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
4b45771
make %{?_smp_mflags}
4b45771
4b45771
%install
4b45771
rm -rf $RPM_BUILD_ROOT
4b45771
49c9e02
make pure_install DESTDIR=$RPM_BUILD_ROOT
4b45771
4b45771
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
4b45771
find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \;
4b45771
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
4b45771
4b45771
%{_fixperms} $RPM_BUILD_ROOT/*
4b45771
4b45771
%check
4b45771
make test
4b45771
4b45771
%clean
4b45771
rm -rf $RPM_BUILD_ROOT
4b45771
4b45771
%files
4b45771
%defattr(-,root,root,-)
4b45771
%doc Changes README
4b45771
%{perl_vendorarch}/auto/*
4b45771
%{perl_vendorarch}/Crypt*
4b45771
%{_mandir}/man3/*
4b45771
4b45771
%changelog
1ef3de0
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.14-9
1ef3de0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
1ef3de0
44640e8
* Mon Jun 11 2012 Petr Pisar <ppisar@redhat.com> - 2.14-8
44640e8
- Perl 5.16 rebuild
44640e8
d927ad1
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.14-7
d927ad1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
d927ad1
a7d7cb0
* Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 2.14-6
a7d7cb0
- Perl mass rebuild
a7d7cb0
2ed17c9
* Tue Jun 14 2011 Marcela Mašláňová <mmaslano@redhat.com> - 2.14-5
2ed17c9
- Perl mass rebuild
2ed17c9
52ebba0
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.14-4
52ebba0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
52ebba0
a1bd089
* Thu Dec 16 2010 Marcela Maslanova <mmaslano@redhat.com> - 2.14-3
a1bd089
- 661697 rebuild for fixing problems with vendorach/lib
a1bd089
71e5e1b
* Thu May 20 2010 Iain Arnell <iarnell@gmail.com> 2.14-2
71e5e1b
- Rebuild with perl-5.12.0
71e5e1b
49c9e02
* Sun May 09 2010 Iain Arnell <iarnell@gmail.com> 2.14-1
49c9e02
- update to latest upstream
49c9e02
- use perl_default_filter and DESTDIR
49c9e02
5e00725
* Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> - 2.13-4
5e00725
- Mass rebuild with perl-5.12.0
5e00725
00acaeb
* Fri Dec  4 2009 Stepan Kasal <skasal@redhat.com> - 2.13-3
00acaeb
- rebuild against perl 5.10.1
00acaeb
e69b8b3
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.13-2
e69b8b3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
e69b8b3
4b45771
* Mon May 11 2009 Iain Arnell 2.13-1
4b45771
- Specfile autogenerated by cpanspec 1.77.