- 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 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 Name: perl-Net-SMTP-SSL
# List of additional build dependencies
#BuildRequires: gcc-c++ libxml2-devel
Version: 1.01 Version: 1.01
Release: 1 Release: 1
License: Artistic license License: GPL+ or Artistic
Source: Net-SMTP-SSL-1.01.tar.gz %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 Group: Development/Libraries/Perl
Summary: Implements the same API as Net::SMTP, but uses IO::Socket::SSL #Source: http://www.cpan.org/authors/id/C/CW/CWEST/Net-SMTP-SSL-%{version}.tar.gz
Requires: perl-IO-Socket-SSL Source: %{cpan_name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl(IO::Socket::SSL)
%{perl_requires}
BuildRequires: perl BuildRequires: perl
BuildRequires: perl-macros BuildRequires: perl-macros
Requires: perl(IO::Socket::SSL)
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%{perl_requires}
%description %description
Implements the same API as Net::SMTP, but uses IO::Socket::SSL for its 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 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. not overridden to make use of a default port for the SMTPS service. Perhaps
Perhaps future versions will be smart like that. Port 465 is usually future versions will be smart like that. Port '465' is usually what you
what you want, and it's not a pain to specify that. want, and it's not a pain to specify that.
For interface documentation, please see Net::SMTP.
%prep %prep
%setup -q -n Net-SMTP-SSL-%version %setup -q -n %{cpan_name}-%{version}
%build %build
%{__perl} Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags}
perl Makefile.PL %check
make %{__make} test
%install %install
%perl_make_install
make DESTDIR=%buildroot install_vendor
%perl_process_packlist %perl_process_packlist
%perl_gen_filelist
# 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
%clean %clean
rm -rf %buildroot %{__rm} -rf %{buildroot}
%files -f filelist %files -f %{name}.files
%defattr(-,root,root) %defattr(644,root,root,755)
%dir %{perl_vendorarch}/auto/Net %doc Changes README
%dir %{perl_vendorarch}/auto/Net/SMTP
%dir %{perl_vendorarch}/auto/Net/SMTP/SSL
%{perl_vendorlib}/Net
%{perl_vendorlib}/Net/SMTP
%changelog -n %{name}
%changelog