%define upstream_name Apache-SSLLookup %define upstream_version 2.00_04 Name: perl-%{upstream_name} Version: %perl_convert_version %{upstream_version} Release: %mkrel 7 Summary: Hooks for various mod_ssl functions License: GPL+ or Artistic Group: Development/Perl Url: http://search.cpan.org/dist/%{name}/ Source0: http://search.cpan.org/CPAN/authors/id/G/GE/GEOFF/Apache-SSLLookup-%{upstream_version}.tar.gz BuildRequires: apache-mod_perl-devel BuildRequires: apr-devel BuildRequires: perl-devel BuildRequires: perl-Apache-Test %description Apache::SSLLookup is a glue layer between Perl handlers and the mod_ssl public API. under normal circumstances, you would use subprocess_env() to glean information about mod_ssl. However, this is only possible after mod_ssl runs its fixups, that is, Perl handlers can only accurately check the subprocess_env table for mod_ssl information in the PerlResponsePhase or later. This module allows you to query mod_ssl directly via its public C API at any point in the request cycle. but without using C, of course. %prep %setup -q -n %{upstream_name}-%{upstream_version} %build export CFLAGS="%{optflags}" %{__perl} Makefile.PL INSTALLDIRS=vendor %make CCFLAGS="$CCFLAGS `apr-1-config --includes`" #%{__make} test %install rm -rf %{buildroot} %makeinstall_std %clean rm -rf %{buildroot} %files %defattr(0644,root,root) #%doc Changes README %{perl_vendorarch}/auto/Apache/SSLLookup/* %{perl_vendorarch}/Apache/* %{_mandir}/man3/* %changelog * Sun Jan 13 2013 umeabot <umeabot> 2.0_400-7.mga3 + Revision: 362981 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Wed May 30 2012 jquelin <jquelin> 2.0_400-6.mga3 + Revision: 250267 - rebuild for perl 5.16 * Sat Jun 11 2011 sander85 <sander85> 2.0_400-5.mga2 + Revision: 103961 - perl 5.14 + jquelin <jquelin> - perl 5.14 * Mon Jan 24 2011 erwan <erwan> 2.0_400-3.mga1 + Revision: 37919 - Fixing buildrequires + jquelin <jquelin> - mageia rebuild - imported package perl-Apache-SSLLookup