Blame SPECS/perl-Crypt-SSLeay.spec

0242c6
Name:           perl-Crypt-SSLeay
0242c6
Summary:        Crypt::SSLeay - OpenSSL glue that provides LWP https support
0242c6
Version:        0.64
4c13d3
Release:        5%{?dist}
0242c6
License:        GPL+ or Artistic
0242c6
Group:          Development/Libraries
0242c6
Source0:        http://www.cpan.org/authors/id/N/NA/NANIS/Crypt-SSLeay-%{version}.tar.gz
0242c6
URL:            http://search.cpan.org/dist/Crypt-SSLeay/
0242c6
BuildRequires:  openssl-devel
0242c6
BuildRequires:  perl(constant)
0242c6
BuildRequires:  perl(Carp)
0242c6
BuildRequires:  perl(ExtUtils::MakeMaker)
0242c6
%if ! ( 0%{?rhel} )
0242c6
BuildRequires:  perl(ExtUtils::MakeMaker::Coverage)
0242c6
%endif
0242c6
BuildRequires:  perl(LWP::UserAgent)
0242c6
BuildRequires:  perl(MIME::Base64)
0242c6
BuildRequires:  perl(Socket)
0242c6
BuildRequires:  perl(URI)
0242c6
BuildRequires:  perl(Test::More)
0242c6
BuildRequires:  perl(Test::Pod::Coverage)
0242c6
BuildRequires:  perl(Test::Pod)
0242c6
BuildRequires:  perl(Try::Tiny)
0242c6
BuildRequires:  /etc/pki/tls/certs/ca-bundle.crt
0242c6
Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
0242c6
Requires:       /etc/pki/tls/certs/ca-bundle.crt
0242c6
0242c6
# RPM 4.8 style
0242c6
%{?filter_setup:
0242c6
%filter_from_provides /^perl(DB)/d
0242c6
}
0242c6
# RPM 4.9 style
0242c6
%global __provides_exclude %{?__provides_exclude:__provides_exclude|}^perl\\(DB\\)
0242c6
%{?perl_default_filter}
0242c6
0242c6
%description
0242c6
This perl module provides support for the https protocol under LWP, so
0242c6
that a LWP::UserAgent can make https GET & HEAD & POST
0242c6
requests. Please see perldoc LWP for more information on POST
0242c6
requests.
0242c6
0242c6
The Crypt::SSLeay package contains Net::SSL, which is automatically
0242c6
loaded by LWP::Protocol::https on https requests, and provides the
0242c6
necessary SSL glue for that module to work.
0242c6
0242c6
%prep
0242c6
%setup -q -n Crypt-SSLeay-%{version} 
0242c6
0242c6
# Placate rpmlint
0242c6
chmod -c -x lib/Net/SSL.pm
0242c6
0242c6
%build
0242c6
if pkg-config openssl ; then
0242c6
  export INC="$CFLAGS `pkg-config --cflags-only-I openssl`"
0242c6
  export LDFLAGS="$LDFLAGS `pkg-config --libs-only-L openssl`"
0242c6
fi
0242c6
0242c6
perl Makefile.PL --default --no-live-tests INC="$INC" \
0242c6
     LDFLAGS="$LDFLAGS" INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
0242c6
make %{?_smp_mflags}
0242c6
0242c6
%install
0242c6
make pure_install DESTDIR=%{buildroot}
0242c6
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
0242c6
find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
0242c6
%{_fixperms} %{buildroot}
0242c6
chmod -R u+w %{buildroot}/*
0242c6
chmod -R 644 eg/*
0242c6
chmod -R 644 certs/*
0242c6
rm certs/ca-bundle.crt
0242c6
ln -s /etc/pki/tls/certs/ca-bundle.crt certs/ca-bundle.crt
0242c6
0242c6
%check
0242c6
make test
0242c6
0242c6
%files
0242c6
%doc Changes eg/* certs/*
0242c6
%{perl_vendorarch}/auto/Crypt/
0242c6
%{perl_vendorarch}/Crypt/
0242c6
%{perl_vendorarch}/Net/
0242c6
%{_mandir}/man3/Crypt::SSLeay.3pm*
0242c6
%{_mandir}/man3/Net::SSL.3pm*
0242c6
0242c6
%changelog
4c13d3
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 0.64-5
4c13d3
- Mass rebuild 2014-01-24
4c13d3
4c13d3
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 0.64-4
4c13d3
- Mass rebuild 2013-12-27
4c13d3
0242c6
* Wed Aug  8 2012 Paul Howarth <paul@city-fan.org> - 0.64-3
0242c6
- Remove circular BR: perl(Net::SSL) provided by this package
0242c6
- Placate rpmlint regarding file permissions
0242c6
- Don't need to remove empty directories from the buildroot
0242c6
0242c6
* Tue Aug 07 2012 Petr Šabata <contyk@redhat.com> - 0.64-1
0242c6
- 0.64 bump
0242c6
0242c6
* Mon Jul 30 2012 Petr Šabata <contyk@redhat.com> - 0.60-1
0242c6
- 0.60 bugfix bump
0242c6
- Drop command macros and modernize the spec a bit
0242c6
0242c6
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.58-11
0242c6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
0242c6
0242c6
* Fri Jul 20 2012 Marcela Mašláňová <mmaslano@redhat.com> - 0.58-10
0242c6
- Conditionalize ExtUtils::MakeMaker::Coverage
0242c6
0242c6
* Mon Jun 25 2012 Petr Pisar <ppisar@redhat.com> - 0.58-9
0242c6
- Perl 5.16 rebuild
0242c6
0242c6
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.58-8
0242c6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
0242c6
0242c6
* Wed Sep 07 2011 Petr Sabata <contyk@redhat.com> - 0.58-7
0242c6
- Link to the ca-certificates ca-bundle.crt instead of shipping our own,
0242c6
  outdated copy (#734385)
0242c6
0242c6
* Fri Jul 22 2011 Petr Pisar <ppisar@redhat.com> - 0.58-6
0242c6
- RPM 4.9 dependency filtering added
0242c6
0242c6
* Wed Jul 20 2011 Petr Sabata <contyk@redhat.com> - 0.58-5
0242c6
- Perl mass rebuild
0242c6
0242c6
* Tue Apr 19 2011 Paul Howarth <paul@city-fan.org> - 0.58-4
0242c6
- Remove buildroot specification and cleaning, not needed for modern rpmbuild
0242c6
- Use %%{?perl_default_filter}
0242c6
- Filter the perl(DB) provide in a way that works with rpm >= 4.9
0242c6
- Use DESTDIR rather than PERL_INSTALL_ROOT
0242c6
- Fix line endings on documentation
0242c6
- Fix upstream source URL
0242c6
- Fix argument order for find with -depth
0242c6
0242c6
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.58-3
0242c6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
0242c6
0242c6
* Thu Dec 16 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.58-2
0242c6
- Rebuild to fix problems with vendorarch/lib (#661697)
0242c6
0242c6
* Wed Sep  1 2010 Petr Sabata <psabata@redhat.com> - 0.58-1
0242c6
- New upstream release, v0.58
0242c6
- removing perl-Crypt-SSLeay-0.57-live-tests.patch, fixed in upstream
0242c6
- removing perl-Crypt-SSLeay-Makefile_ssl1.patch, fixed in upstream
0242c6
0242c6
* Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.57-17
0242c6
- Mass rebuild with perl-5.12.0
0242c6
0242c6
* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 0.57-16
0242c6
- rebuild against perl 5.10.1
0242c6
0242c6
* Wed Nov 25 2009 Marcela Mašláňová <mmaslano@redhat.com> - 0.57-14
0242c6
- change Makefile for openssl 1.0, which couldn't be found properly before
0242c6
0242c6
* Fri Aug 21 2009 Tomas Mraz <tmraz@redhat.com> - 0.57-13
0242c6
- rebuilt with new openssl
0242c6
0242c6
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.57-12
0242c6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
0242c6
0242c6
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.57-11
0242c6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
0242c6
0242c6
* Sat Jan 17 2009 Tomas Mraz <tmraz@redhat.com> - 0.57-10
0242c6
- rebuild with new openssl
0242c6
0242c6
* Mon Oct  6 2008 Marcela Maslanova <mmaslano@redhat.com> - 0.57-9
0242c6
- add examples into doc
0242c6
0242c6
* Wed Sep 24 2008 Marcela Maslanova <mmaslano@redhat.com> - 0.57-8
0242c6
- fix patches for fuzz
0242c6
0242c6
* Wed Mar  5 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.57-7
0242c6
- rebuild for new perl
0242c6
0242c6
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.57-6
0242c6
- Autorebuild for GCC 4.3
0242c6
0242c6
* Wed Dec 05 2007 Release Engineering <rel-eng at fedoraproject dot org> - 0.57-5
0242c6
 - Rebuild for deps
0242c6
0242c6
* Wed Dec  5 2007 Robin Norwood <rnorwood@redhat.com> - 0.57-4
0242c6
- Rebuild for new openssl
0242c6
0242c6
* Sat Oct 27 2007 Robin Norwood <rnorwood@redhat.com> - 0.57-3
0242c6
- Remove unnecessary BR: pkgconfig
0242c6
0242c6
* Fri Oct 26 2007 Robin Norwood <rnorwood@redhat.com> - 0.57-2
0242c6
- Fix buildroot per package review
0242c6
- Resolves: bz#226248
0242c6
0242c6
* Thu Oct 25 2007 Robin Norwood <rnorwood@redhat.com> - 0.57-1
0242c6
- Update to latest upstream version.
0242c6
- Remove old patch (patch applied to upstream)
0242c6
- Several fixes for package review:
0242c6
- Fixed BuildRequires (added Test::Pod and LWP::UserAgent)
0242c6
- Apply patch to avoid prompting for input when building Makefile
0242c6
- Fix defattr line
0242c6
- Resolves: bz#226248
0242c6
0242c6
* Mon Aug 27 2007 Robin Norwood <rnorwood@redhat.com> - 0.56-2
0242c6
- perl(ExtUtils::MakeMaker::Coverage) is now available
0242c6
0242c6
* Mon Aug 13 2007 Robin Norwood <rnorwood@redhat.com> - 0.56-1
0242c6
- 0.56 is the latest CPAN version, not 0.55
0242c6
0242c6
* Mon Aug 13 2007 Robin Norwood <rnorwood@redhat.com> - 0.55-2
0242c6
- Update to latest version from CPAN: 0.55
0242c6
- Remove two old patches, update lib64 patch for Makefile.PL changes.
0242c6
0242c6
* Tue Feb 13 2007 Robin Norwood <rnorwood@redhat.com> - 0.53-1
0242c6
- New version: 0.53
0242c6
0242c6
* Mon Nov 27 2006 Robin Norwood <rnorwood@redhat.com> - 0.51-12
0242c6
- Resolves: bug#217138
0242c6
- fix a segfault on x86_64
0242c6
0242c6
* Tue Oct 17 2006 Robin Norwood <rnorwood@redhat.com> - 0.51-10
0242c6
- Filter out Provides perl(DB)
0242c6
- bug #205562
0242c6
0242c6
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 0.51-9.2.2.1
0242c6
- rebuild
0242c6
0242c6
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 0.51-9.2.2
0242c6
- bump again for double-long bug on ppc(64)
0242c6
0242c6
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 0.51-9.2.1
0242c6
- rebuilt for new gcc4.1 snapshot and glibc changes
0242c6
0242c6
* Fri Feb 03 2006 Jason Vas Dias <jvdias@redhat.com> - 0.51-9.2
0242c6
- rebuild for new perl-5.8.8 / gcc / glibc
0242c6
0242c6
* Fri Dec 16 2005 Jesse Keating <jkeating@redhat.com>
0242c6
- rebuilt for new gcc
0242c6
0242c6
* Fri Dec 16 2005 Jesse Keating <jkeating@redhat.com>
0242c6
- rebuilt for new gcj
0242c6
0242c6
* Thu Nov 10 2005 Tomas Mraz <tmraz@redhat.com> 0.51-9
0242c6
- rebuilt against new openssl
0242c6
- added missing SSL_library_init()
0242c6
0242c6
* Sat Sep 24 2005 Ville Skyttä <ville.skytta at iki.fi> 0.51-8
0242c6
- Own more installed dirs (#73908).
0242c6
- Enable rpmbuild's internal dependency generator, drop unneeded dependencies.
0242c6
- Require perl(:MODULE_COMPAT_*).
0242c6
- Run tests in the %%check section.
0242c6
- Fix License, Source0, URL, and Group tags.
0242c6
0242c6
* Wed Mar 30 2005 Warren Togami <wtogami@redhat.com> 0.51-7
0242c6
- remove brp-compress
0242c6
0242c6
* Tue Mar  8 2005 Joe Orton <jorton@redhat.com> 0.51-6
0242c6
- rebuild
0242c6
0242c6
* Tue Aug 31 2004 Chip Turner <cturner@redhat.com> 0.51-5
0242c6
- build for FC3
0242c6
0242c6
* Tue Aug 31 2004 Chip Turner <cturner@redhat.com> 0.51-4
0242c6
- build for RHEL3 U4
0242c6
0242c6
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
0242c6
- rebuilt
0242c6
0242c6
* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
0242c6
- rebuilt
0242c6
0242c6
* Fri Feb 13 2004 Chip Turner <cturner@redhat.com> 0.51-1
0242c6
- update to upstream 0.51
0242c6
0242c6
* Thu Jun 05 2003 Elliot Lee <sopwith@redhat.com>
0242c6
- rebuilt
0242c6
0242c6
* Tue Jan  7 2003 Nalin Dahyabhai <nalin@redhat.com>
0242c6
- pass openssl includes to make as INC and ldflags in as LDFLAGS
0242c6
0242c6
* Thu Nov 21 2002 Chip Turner <cturner@redhat.com>
0242c6
- patch to support /usr/lib64 before /usr/lib
0242c6
0242c6
* Wed Nov 20 2002 Chip Turner <cturner@redhat.com>
0242c6
- rebuild
0242c6
0242c6
* Tue Aug  6 2002 Chip Turner <cturner@redhat.com>
0242c6
- automated release bump and build
0242c6
0242c6
* Thu Jun 27 2002 Chip Turner <cturner@redhat.com>
0242c6
- description update
0242c6
0242c6
* Tue Jun 25 2002 Chip Turner <cturner@redhat.com>
0242c6
- move to 0.39
0242c6
0242c6
* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
0242c6
- automated rebuild
0242c6
0242c6
* Fri Dec 7 2001 root <root@redhat.com>
0242c6
- Spec file was autogenerated.