2 Summary: SMTP authentication tool
3 Summary(pl.UTF-8): Narzędzie do uwierzytelniania SMTP
9 # based on http://jetmore.org/john/code/gen-auth
11 URL: http://jetmore.org/john/code/#gen-auth
12 BuildRequires: perl-tools-pod
13 BuildRequires: rpm-perlprov
14 Suggests: perl-perldoc
16 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19 gen-auth is a tool that generates and decodes SMTP authentication
20 strings (PLAIN, LOGIN, CRAM-MD5, SPA).
22 %description -l pl.UTF-8
23 Narzędzie służące do generowania i dekodowania łancuchów
24 uwierzytelniania SMTP. Obsługiwane standardy to PLAIN, LOGIN, CRAM-MD5
31 pod2man %SOURCE0 > gen-auth.1
32 pod2text %SOURCE0 > gen-auth.txt
35 rm -rf $RPM_BUILD_ROOT
36 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
38 install %SOURCE0 $RPM_BUILD_ROOT%{_bindir}/%{name}
39 install gen-auth.1 $RPM_BUILD_ROOT%{_mandir}/man1/gen-auth.1
42 rm -rf $RPM_BUILD_ROOT
45 %defattr(644,root,root,755)
46 %attr(755,root,root) %{_bindir}/%{name}
47 %{_mandir}/man1/gen-auth.1*