Blame SPECS/perl-Crypt-CBC.spec

e4061e
Summary: Encrypt Data with Cipher Block Chaining Mode
e4061e
Name: perl-Crypt-CBC
e4061e
Version: 2.33
e4061e
Release: 2%{?dist}
e4061e
# Upstream confirms that they're under the same license as perl.
e4061e
# Wording in CBC.pm is less than clear, but still.
e4061e
License: GPL+ or Artistic
e4061e
Group: Development/Libraries
e4061e
URL: http://search.cpan.org/dist/Crypt-CBC/
e4061e
Source0: http://search.cpan.org/CPAN/authors/id/L/LD/LDS/Crypt-CBC-%{version}.tar.gz
e4061e
BuildArch: noarch
e4061e
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
e4061e
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
e4061e
BuildRequires: perl(bytes)
e4061e
BuildRequires: perl(constant)
e4061e
BuildRequires: perl(Digest::MD5) >= 2.00
e4061e
BuildRequires: perl(ExtUtils::MakeMaker)
e4061e
# Modules used for test suite, skipped when bootstrapping as
e4061e
# some of these modules use Crypt::CBC themselves
e4061e
# Crypt::CAST5 not yet packaged in Fedora
e4061e
# Crypt::IDEA is unavailable due to patents
e4061e
%if 0%{!?perl_bootstrap:1}
e4061e
BuildRequires: perl(Crypt::DES)
e4061e
%if ! (0%{?rhel} >= 7)
e4061e
BuildRequires: perl(Crypt::Blowfish)
e4061e
BuildRequires: perl(Crypt::Blowfish_PP)
e4061e
BuildRequires: perl(Crypt::Rijndael)
e4061e
%endif
e4061e
%endif
e4061e
e4061e
%description
e4061e
This is Crypt::CBC, a Perl-only implementation of the cryptographic
e4061e
cipher block chaining mode (CBC).  In combination with a block cipher
e4061e
such as Crypt::DES or Crypt::IDEA, you can encrypt and decrypt
e4061e
messages of arbitrarily long length.  The encrypted messages are
e4061e
compatible with the encryption format used by SSLeay.
e4061e
e4061e
%prep
e4061e
%setup -q -n Crypt-CBC-%{version}
e4061e
chmod 644 eg/*.pl
e4061e
e4061e
%build
e4061e
%{__perl} Makefile.PL INSTALLDIRS=vendor
e4061e
make
e4061e
e4061e
%install
e4061e
rm -rf $RPM_BUILD_ROOT
e4061e
make pure_install DESTDIR=$RPM_BUILD_ROOT
e4061e
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
e4061e
%{_fixperms} $RPM_BUILD_ROOT
e4061e
e4061e
%check
e4061e
make test
e4061e
e4061e
%clean
e4061e
rm -rf $RPM_BUILD_ROOT
e4061e
e4061e
%files
e4061e
%doc Changes README eg/
e4061e
%{perl_vendorlib}/Crypt/
e4061e
%{_mandir}/man3/*.3*
e4061e
e4061e
%changelog
e4061e
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 2.33-2
e4061e
- Mass rebuild 2013-12-27
e4061e
e4061e
* Tue Jul 30 2013 Paul Howarth <paul@city-fan.org> - 2.33-1
e4061e
- Update to 2.33
e4061e
  - Fixes to regular expressions to avoid rare failures to correctly strip
e4061e
    padding in decoded messages
e4061e
  - Add padding type = "none"
e4061e
  - Fix "Taint checks are turned on and your key is tainted" error when
e4061e
    autogenerating salt and IV
e4061e
  - Fix minor bugs CPAN RT#83175 and CPAN RT#86455
e4061e
- Don't need to remove empty directories from the buildroot
e4061e
- Drop %%defattr, redundant since rpm 4.4
e4061e
- Use %%{_fixperms} macro rather than our own chmod incantation
e4061e
- Use DESTDIR rather than PERL_INSTALL_ROOT
e4061e
e4061e
* Mon Aug 20 2012 Daniel Mach <dmach@redhat.com> - 2.29-14.1
e4061e
- Rebuild for perl 5.16
e4061e
e4061e
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.29-14
e4061e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
e4061e
e4061e
* Tue Jul 10 2012 Petr Pisar <ppisar@redhat.com> - 2.29-13
e4061e
- Perl 5.16 re-rebuild of bootstrapped packages
e4061e
e4061e
* Mon Jun 11 2012 Petr Pisar <ppisar@redhat.com> - 2.29-12
e4061e
- Perl 5.16 rebuild
e4061e
e4061e
* Mon Jun 11 2012 Marcela Mašláňová <mmaslano@redhat.com> - 2.29-11
e4061e
- Do not build-require Crypt::Blowfish, Crypt::Blowfish_PP, and Crypt::Rijndael
e4061e
  on RHEL >= 7
e4061e
- Resolves: rhbz#822812
e4061e
e4061e
* Sat Apr 21 2012 Paul Howarth <paul@city-fan.org> - 2.29-10
e4061e
- BR: perl(bytes), perl(constant), perl(Digest::MD5) - required by module
e4061e
- BR: perl(Crypt::Blowfish), perl(Crypt::Blowfish_PP), perl(Crypt::DES),
e4061e
  perl(Crypt::Rijndael) for improved test coverage, except when bootstrapping
e4061e
e4061e
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.29-9
e4061e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
e4061e
e4061e
* Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 2.29-8
e4061e
- Perl mass rebuild
e4061e
e4061e
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.29-7
e4061e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
e4061e
e4061e
* Wed Dec 15 2010 Marcela Maslanova <mmaslano@redhat.com> - 2.29-6
e4061e
- Rebuild to fix problems with vendorarch/lib (#661697)
e4061e
e4061e
* Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> - 2.29-5
e4061e
- Mass rebuild with perl-5.12.0
e4061e
e4061e
* Fri Dec  4 2009 Stepan Kasal <skasal@redhat.com> - 2.29-4
e4061e
- rebuild against perl 5.10.1
e4061e
e4061e
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.29-3
e4061e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
e4061e
e4061e
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.29-2
e4061e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
e4061e
e4061e
* Fri Jul 11 2008 Tom "spot" Callawau <tcallawa@redhat.com> - 2.29-1
e4061e
- update to 2.29
e4061e
e4061e
* Mon Mar  3 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2.22-3
e4061e
- work around buildsystem burp
e4061e
e4061e
* Fri Feb  8 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2.22-2
e4061e
- rebuild for new perl
e4061e
e4061e
* Mon Oct 15 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 2.22-1.1
e4061e
- add BR: perl(ExtUtils::MakeMaker)
e4061e
e4061e
* Wed Feb 07 2007 Andreas Thienemann <andreas@bawue.net> - 2.22-1
e4061e
- Upgrade to 2.22
e4061e
e4061e
* Fri Sep 08 2006 Andreas Thienemann <andreas@bawue.net> - 2.19-1
e4061e
- Upgrade to 2.19
e4061e
e4061e
* Fri Feb 24 2006 Andreas Thienemann <andreas@bawue.net> - 2.17-1
e4061e
- Upgrade to 2.17
e4061e
e4061e
* Thu Jul 14 2005 Andreas Thienemann <andreas@bawue.net> - 2.14-2
e4061e
- Remove execute permissions from example files
e4061e
e4061e
* Thu Jul 14 2005 Andreas Thienemann <andreas@bawue.net> - 2.14-1
e4061e
- Initial package
e4061e