]> git.pld-linux.org Git - packages/swaks.git/commitdiff
- initial PLD release
authorpawelz <pawelz@pld-linux.org>
Sun, 22 Feb 2009 21:56:06 +0000 (21:56 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- SMTP testing tool

Changed files:
    swaks.spec -> 1.1

swaks.spec [new file with mode: 0644]

diff --git a/swaks.spec b/swaks.spec
new file mode 100644 (file)
index 0000000..3198f20
--- /dev/null
@@ -0,0 +1,46 @@
+#
+%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
This page took 0.102803 seconds and 4 git commands to generate.