# # Conditional build: %bcond_without autodeps # don't BR packages needed only for resolving deps %bcond_without tests # do not perform "make test" # %define pdir POE %define pnam Component-SSLify Summary: POE::Component::SSLify - make using SSL in the world of POE easy Summary(pl.UTF-8): POE::Component::SSLify - łatwe używanie SSL-a w świecie POE Name: perl-POE-Component-SSLify Version: 0.15 Release: 1 # "same as perl" according to readme License: GPL v1+ or Artistic Group: Development/Languages/Perl Source0: http://www.cpan.org/modules/by-module/POE/%{pdir}-%{pnam}-%{version}.tar.gz # Source0-md5: d4bf013f253d36e17cf0233964654edb URL: http://search.cpan.org/dist/POE-Component-SSLify/ BuildRequires: perl-devel >= 1:5.8.0 BuildRequires: rpm-perlprov >= 4.1-13 %if %{with autodeps} || %{with tests} BuildRequires: perl-IO-stringy BuildRequires: perl-Net-SSLeay >= 1.30 %endif Requires: perl-Net-SSLeay >= 1.30 BuildArch: noarch BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description This module makes Net::SSLeay's SSL sockets behave with POE. %description -l pl.UTF-8 Ten moduł pozwala na współpracę gniazd SSL z Net::SSLeay z POE. %prep %setup -q -n %{pdir}-%{pnam}-%{version} %build %{__perl} Makefile.PL \ INSTALLDIRS=vendor %{__make} %{?with_tests:%{__make} test} %install rm -rf $RPM_BUILD_ROOT %{__make} pure_install \ DESTDIR=$RPM_BUILD_ROOT %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) %doc README %{perl_vendorlib}/POE/Component/SSLify.pm %dir %{perl_vendorlib}/POE/Component/SSLify %{perl_vendorlib}/POE/Component/SSLify/*.pm %{_mandir}/man3/*