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