]>
Commit | Line | Data |
---|---|---|
ce290e82 | 1 | # |
ce290e82 | 2 | Summary: Tool that displays messages from Exim queue |
3 | Summary(pl.UTF-8): Narzędzie do wyświetlania wiadomości z kolejki Exima | |
4 | Name: exipick | |
fa004c11 | 5 | Version: 20100323.0 |
d743025f | 6 | Release: 2 |
ce290e82 | 7 | License: GPL v2+ |
8 | Group: Applications | |
d743025f | 9 | Source0: http://jetmore.org/john/code/%{name}.%{version} |
fa004c11 AM |
10 | # Source0-md5: 3b1b1d0ae0f08278115db6aa863798eb |
11 | URL: http://jetmore.org/john/code/#exipick | |
ce290e82 | 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 | |
d743025f AM |
19 | Tool that displays messages from Exim queue based on a variety of |
20 | criteria. | |
ce290e82 | 21 | |
22 | %description -l pl.UTF-8 | |
d743025f AM |
23 | Narzędzie które pozwala wyświetlać wiadomości z koleki Exima na |
24 | podstawie różnych kryteriów. | |
ce290e82 | 25 | |
26 | %prep | |
27 | %setup -q -c -T | |
d743025f | 28 | sed -e "s#/local/exim/spool#/var/spool/exim#g" %{SOURCE0} > %{name}.pl || exit 1 |
ce290e82 | 29 | |
30 | %build | |
d743025f AM |
31 | pod2man %{SOURCE0} > %{name}.1 |
32 | pod2text %{SOURCE0} > %{name}.txt | |
ce290e82 | 33 | |
34 | %install | |
35 | rm -rf $RPM_BUILD_ROOT | |
36 | install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1} | |
37 | ||
d743025f | 38 | install %{name}.pl $RPM_BUILD_ROOT%{_bindir}/%{name} |
ce290e82 | 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 |