]> git.pld-linux.org Git - packages/gen-auth.git/blob - gen-auth.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/gen-auth.git] / gen-auth.spec
1 #
2 Summary:        SMTP authentication tool
3 Summary(pl.UTF-8):      Narzędzie do uwierzytelniania SMTP
4 Name:           gen-auth
5 Version:        20060620.0
6 Release:        1
7 License:        GPL v2+
8 Group:          Applications
9 # based on http://jetmore.org/john/code/gen-auth
10 Source0:        %{name}.pl
11 URL:            http://jetmore.org/john/code/#gen-auth
12 BuildRequires:  perl-tools-pod
13 BuildRequires:  rpm-perlprov
14 Suggests:       perl-perldoc
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
32 pod2text %SOURCE0 > gen-auth.txt
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*
48 %doc gen-auth.txt
This page took 0.086111 seconds and 3 git commands to generate.