]>
Commit | Line | Data |
---|---|---|
1e3641aa | 1 | # |
1e3641aa | 2 | Summary: An overlay for Exim string expansion |
3 | Summary(pl.UTF-8): Nakładka na Exima w trybie rozwijania wyrażeń | |
4 | Name: exixpand | |
5 | Version: 20050922.1 | |
6 | Release: 1 | |
7 | License: GPL v2+ | |
8 | Group: Applications | |
9 | # based on http://jetmore.org/john/code/exixpand | |
10 | Source0: %{name}.pl | |
11 | URL: http://jetmore.org/john/code/#exixpand | |
12 | BuildRequires: perl-tools-pod | |
13 | BuildRequires: rpm-perlprov | |
14 | Requires: exim | |
15 | Suggests: perl-perldoc | |
16 | BuildArch: noarch | |
17 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
18 | ||
19 | %description | |
20 | An overlay for Exim string expansion testing (exim -be) providing | |
21 | history, command editing, and macro expansion. | |
22 | ||
23 | %description -l pl.UTF-8 | |
24 | Nakładka na Exima w trybie testowania rozwijania wyrażeń (exim -be) z | |
25 | historią, edycją command i rozwijaniem makr. | |
26 | ||
27 | %prep | |
28 | %setup -q -c -T | |
29 | ||
30 | %build | |
31 | pod2man %SOURCE0 > %{name}.1 | |
32 | pod2text %SOURCE0 > %{name}.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 %{name}.1 $RPM_BUILD_ROOT%{_mandir}/man1/%{name}.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/%{name}.1* | |
48 | %doc %{name}.txt |