- package recreated by cpanspec 1.78.03

OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Net-SMTP-SSL?expand=0&rev=11
This commit is contained in:
Vítězslav Čížek 2011-08-08 08:14:20 +00:00 committed by Git OBS Bridge
parent bc82e6dbc1
commit 12223c1e3b
2 changed files with 50 additions and 37 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Aug 8 08:06:15 UTC 2011 - vcizek@novell.com
- package recreated by cpanspec 1.78.03
-------------------------------------------------------------------
Wed Dec 1 11:53:34 UTC 2010 - coolo@novell.com

View File

@ -1,59 +1,67 @@
#
# spec file for package perl-Net-SMTP-SSL (Version 1.01)
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: perl-Net-SMTP-SSL
# List of additional build dependencies
#BuildRequires: gcc-c++ libxml2-devel
Version: 1.01
Release: 1
License: Artistic license
Source: Net-SMTP-SSL-1.01.tar.gz
License: GPL+ or Artistic
%define cpan_name Net-SMTP-SSL
Summary: SSL support for Net::SMTP
Url: http://search.cpan.org/dist/Net-SMTP-SSL/
Group: Development/Libraries/Perl
Summary: Implements the same API as Net::SMTP, but uses IO::Socket::SSL
Requires: perl-IO-Socket-SSL
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{perl_requires}
#Source: http://www.cpan.org/authors/id/C/CW/CWEST/Net-SMTP-SSL-%{version}.tar.gz
Source: %{cpan_name}-%{version}.tar.gz
BuildRequires: perl(IO::Socket::SSL)
BuildRequires: perl
BuildRequires: perl-macros
Requires: perl(IO::Socket::SSL)
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%{perl_requires}
%description
Implements the same API as Net::SMTP, but uses IO::Socket::SSL for its
network operations. Due to the nature of Net::SMTP's new method, it is
not overridden to make use of a default port for the SMTPS service.
Perhaps future versions will be smart like that. Port 465 is usually
what you want, and it's not a pain to specify that.
network operations. Due to the nature of 'Net::SMTP''s 'new' method, it is
not overridden to make use of a default port for the SMTPS service. Perhaps
future versions will be smart like that. Port '465' is usually what you
want, and it's not a pain to specify that.
For interface documentation, please see Net::SMTP.
%prep
%setup -q -n Net-SMTP-SSL-%version
%setup -q -n %{cpan_name}-%{version}
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags}
perl Makefile.PL
make
%check
%{__make} test
%install
make DESTDIR=%buildroot install_vendor
%perl_make_install
%perl_process_packlist
# Write a proper %%files section and remove these two commands and
# the '-f filelist' option to %%files
echo '%%defattr(-,root,root)' >filelist
find %buildroot -type f -printf '/%%P*\n' >>filelist
%perl_gen_filelist
%clean
rm -rf %buildroot
%{__rm} -rf %{buildroot}
%files -f filelist
%defattr(-,root,root)
%dir %{perl_vendorarch}/auto/Net
%dir %{perl_vendorarch}/auto/Net/SMTP
%dir %{perl_vendorarch}/auto/Net/SMTP/SSL
%{perl_vendorlib}/Net
%{perl_vendorlib}/Net/SMTP
%changelog -n %{name}
%files -f %{name}.files
%defattr(644,root,root,755)
%doc Changes README
%changelog