]>
Commit | Line | Data |
---|---|---|
62be52f7 | 1 | # |
62be52f7 | 2 | Summary: SMTP authentication tool |
3 | Summary(pl.UTF-8): Narzędzie do uwierzytelniania SMTP | |
4 | Name: gen-auth | |
5 | Version: 20060620.0 | |
dbedace4 | 6 | Release: 1 |
7 | License: GPL v2+ | |
62be52f7 | 8 | Group: Applications |
dbedace4 | 9 | # based on http://jetmore.org/john/code/gen-auth |
62be52f7 | 10 | Source0: %{name}.pl |
11 | URL: http://jetmore.org/john/code/#gen-auth | |
12 | BuildRequires: perl-tools-pod | |
13 | BuildRequires: rpm-perlprov | |
2a134e32 | 14 | Suggests: perl-perldoc |
62be52f7 | 15 | BuildArch: noarch |
16 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
17 | ||
18 | %description | |
19 | gen-auth is a tool that generates and decodes SMTP authentication | |
20 | strings (PLAIN, LOGIN, CRAM-MD5, SPA). | |
21 | ||
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 | |
25 | i SPA. | |
26 | ||
27 | %prep | |
28 | %setup -q -c -T | |
29 | ||
30 | %build | |
31 | pod2man %SOURCE0 > gen-auth.1 | |
dbedace4 | 32 | pod2text %SOURCE0 > gen-auth.txt |
62be52f7 | 33 | |
34 | %install | |
35 | rm -rf $RPM_BUILD_ROOT | |
36 | install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1} | |
37 | ||
38 | install %SOURCE0 $RPM_BUILD_ROOT%{_bindir}/%{name} | |
39 | install gen-auth.1 $RPM_BUILD_ROOT%{_mandir}/man1/gen-auth.1 | |
40 | ||
41 | %clean | |
42 | rm -rf $RPM_BUILD_ROOT | |
43 | ||
44 | %files | |
45 | %defattr(644,root,root,755) | |
46 | %attr(755,root,root) %{_bindir}/%{name} | |
47 | %{_mandir}/man1/gen-auth.1* | |
dbedace4 | 48 | %doc gen-auth.txt |