Sophie

Sophie

distrib > Mandriva > 2007.0 > x86_64 > media > contrib-release-src > by-pkgid > 438085523341b34df00dcd44869f6888 > files > 2

perl-Apache2-ModSSL-0.03-1mdv2007.0.src.rpm

%define real_name Apache2-ModSSL

Summary:	Apache2::ModSSL - a Perl Interface to mod_ssl functions
Name:		perl-%{real_name}
Version:	0.03
Release:	%mkrel 1
License:	GPL or Artistic
Group:		Development/Perl
URL:		http://search.cpan.org/dist/%{real_name}
Source0:	http://search.cpan.org/CPAN/authors/id/O/OP/OPI/%{real_name}-%{version}.tar.bz2
BuildRequires:	perl-devel
BuildRequires:	apache-devel
BuildRequires:	apache-mod_perl
BuildRequires:	apache-mod_perl-devel
BuildRequires:	apache-mod_ssl
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-buildroot

%description
Perl interface to mod_ssl

%prep
%setup -q -n %{real_name}-%{version} 

%build
%{__perl} Makefile.PL INC="-I`%{_sbindir}/apxs -q INCLUDEDIR` `apr-1-config --includes` `apu-1-config --includes`" INSTALLDIRS=vendor
%make

#export APACHE_TEST_HTTPD="%{_sbindir}/httpd"
#make test

%install
rm -rf %{buildroot}

%makeinstall_std

%clean 
rm -rf %{buildroot}

%files
%defattr(-,root,root)
%doc Changes README
%dir %{perl_vendorlib}/*/auto/Apache2/ModSSL
%{perl_vendorlib}/*/auto/Apache2/ModSSL/ModSSL.so
%{perl_vendorlib}/*/Apache2/ModSSL.pm
%{_mandir}/*/*

%changelog
* Tue Sep 12 2006 Oden Eriksson <oeriksson@mandriva.com> 0.03-1mdv2007.0
- rebuild
- disable the tests for now

* Thu Jul 14 2005 Oden Eriksson <oeriksson@mandriva.com> 0.03-1mdk
- initial Mandriva package