SPECS: swaks.spec (NEW) - initial PLD release - SMTP testing tool

pawelz pawelz at pld-linux.org
Sun Feb 22 22:56:11 CET 2009


Author: pawelz                       Date: Sun Feb 22 21:56:11 2009 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- initial PLD release
- SMTP testing tool

---- Files affected:
SPECS:
   swaks.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/swaks.spec
diff -u /dev/null SPECS/swaks.spec:1.1
--- /dev/null	Sun Feb 22 22:56:11 2009
+++ SPECS/swaks.spec	Sun Feb 22 22:56:06 2009
@@ -0,0 +1,58 @@
+# $Revision$, $Date$
+#
+%include        /usr/lib/rpm/macros.perl
+Summary:	Swiss Army Knife SMTP
+Summary(pl.UTF-8):	Szwajcarski scyzoryk SMTP
+Name:		swaks
+Version:	20061116.0
+Release:	1
+License:	GPL v2+
+Group:		Applications
+# http://jetmore.org/john/code/swaks
+Source0:	%{name}.pl
+URL:		http://jetmore.org/john/code/#swaks
+BuildRequires:	perl-tools-pod
+BuildRequires:	rpm-perlprov
+Suggests:	perl-perldoc
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Swiss Army Knife SMTP; Command line SMTP testing, including TLS and AUTH.
+
+%description -l pl.UTF-8
+Narzędzie do testowania SMTP, łącznie z TLS i uwierzytelnianiem.
+
+%prep
+%setup -q -c -T
+
+%build
+pod2man %SOURCE0 > swaks.1
+pod2text %SOURCE0 > swaks.txt
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
+
+install %SOURCE0 $RPM_BUILD_ROOT%{_bindir}/%{name}
+install swaks.1 $RPM_BUILD_ROOT%{_mandir}/man1/swaks.1
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/%{name}
+%{_mandir}/man1/swaks.1*
+%doc swaks.txt
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2009/02/22 21:56:06  pawelz
+- initial PLD release
+- SMTP testing tool
+
================================================================


More information about the pld-cvs-commit mailing list