From 54c4f3432b80288cb1b1bfff3afbdc66edd5ffe5408686415556d7cb81b1fe11 Mon Sep 17 00:00:00 2001 From: Tuukka Pasanen Date: Tue, 22 Jun 2010 09:08:56 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Net-SMTP-SSL?expand=0&rev=1 --- .gitattributes | 23 +++++++++++++++ .gitignore | 1 + perl-Net-SMTP-SSL.spec | 64 ++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 88 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 perl-Net-SMTP-SSL.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/perl-Net-SMTP-SSL.spec b/perl-Net-SMTP-SSL.spec new file mode 100644 index 0000000..049046d --- /dev/null +++ b/perl-Net-SMTP-SSL.spec @@ -0,0 +1,64 @@ +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 +Group: Development/Libraries/Perl +Summary: ImplemeImplements the same API as Net::SMTP, but uses IO::Socket::SSL +Requires: perl = %{perl_version} +BuildRoot: %{_tmppath}/%{name}-%{version}-build + +%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. + + +%prep +%setup -q -n Net-SMTP-SSL-%version + +%build + +perl Makefile.PL +make + + + +%install + +make DESTDIR=%buildroot install_vendor +%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 + + +%clean +rm -rf %buildroot + +%files -f filelist +%defattr(-,root,root) + +# This is a place for a proper filelist: +# /usr/bin/perl-Net-SMTP-SSL +# You can also use shell wildcards: +# /usr/share/perl-Net-SMTP-SSL/* +# This installs documentation files from the top build directory +# into /usr/share/doc/... +# %doc README COPYING +# The advantage of using a real filelist instead of the '-f filelist' trick is +# that rpmbuild will detect if the install section forgets to install +# something that is listed here + + +%changelog +* Wed Mar 25 2009 tuukka.pasanen@ilmi.fi +- packaged perl-Net-SMTP-SSL version 1.01 using the buildservice spec file wizard