forked from pool/perl-Net-SMTP-SSL
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Net-SMTP-SSL?expand=0&rev=1
This commit is contained in:
commit
54c4f3432b
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -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
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
64
perl-Net-SMTP-SSL.spec
Normal file
64
perl-Net-SMTP-SSL.spec
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user