]> 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 %include        /usr/lib/rpm/macros.perl
3 Summary:        SMTP authentication tool
4 Summary(pl.UTF-8):      Narzędzie do uwierzytelniania SMTP
5 Name:           gen-auth
6 Version:        20060620.0
7 Release:        1
8 License:        GPL v2+
9 Group:          Applications
10 # based on http://jetmore.org/john/code/gen-auth
11 Source0:        %{name}.pl
12 URL:            http://jetmore.org/john/code/#gen-auth
13 BuildRequires:  perl-tools-pod
14 BuildRequires:  rpm-perlprov
15 Suggests:       perl-perldoc
16 BuildArch:      noarch
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
20 gen-auth is a tool that generates and decodes SMTP authentication
21 strings (PLAIN, LOGIN, CRAM-MD5, SPA).
22
23 %description -l pl.UTF-8
24 Narzędzie służące do generowania i dekodowania łancuchów
25 uwierzytelniania SMTP. Obsługiwane standardy to PLAIN, LOGIN, CRAM-MD5
26 i SPA.
27
28 %prep
29 %setup -q -c -T
30
31 %build
32 pod2man %SOURCE0 > gen-auth.1
33 pod2text %SOURCE0 > gen-auth.txt
34
35 %install
36 rm -rf $RPM_BUILD_ROOT
37 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
38
39 install %SOURCE0 $RPM_BUILD_ROOT%{_bindir}/%{name}
40 install gen-auth.1 $RPM_BUILD_ROOT%{_mandir}/man1/gen-auth.1
41
42 %clean
43 rm -rf $RPM_BUILD_ROOT
44
45 %files
46 %defattr(644,root,root,755)
47 %attr(755,root,root) %{_bindir}/%{name}
48 %{_mandir}/man1/gen-auth.1*
49 %doc gen-auth.txt
This page took 0.057679 seconds and 3 git commands to generate.