[521] | 1 | Name: logsurfer |
---|
| 2 | Version: 1.5a |
---|
| 3 | Release: 0vl1 |
---|
| 4 | Copyright: distributable |
---|
| 5 | Group: Applications/System |
---|
| 6 | Source: ftp://ftp.cert.dfn.de/pub/tools/audit/%{name}/%{name}-%{version}.tar |
---|
| 7 | Source1: ftp://ftp.cert.dfn.de/pub/tools/audit/%{name}/config-examples/examples.README |
---|
| 8 | Source2: ftp://ftp.cert.dfn.de/pub/tools/audit/%{name}/config-examples/httpd-error |
---|
| 9 | Source3: ftp://ftp.cert.dfn.de/pub/tools/audit/%{name}/config-examples/ntp-logs |
---|
| 10 | Prefix: /usr |
---|
| 11 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 12 | BuildPreReq: libtool, autoconf |
---|
| 13 | Summary: process logfiles and perform certain actions |
---|
| 14 | Summary(ja): ¥í¥°¥Õ¥¡¥¤¥ë¤ò´Æ»ë¤·¡¢¥¢¥¯¥·¥ç¥ó¤ò¼Â¹Ô¤¹¤ë |
---|
| 15 | %description |
---|
| 16 | Logsurfer is a program that works on single textlines from a logfile (or |
---|
| 17 | from standard input). It compares each line against regular expressions of |
---|
| 18 | a set of "rules" and performs certain actions that are defined for this |
---|
| 19 | match. |
---|
| 20 | |
---|
| 21 | %description -l ja |
---|
| 22 | logsurfer¤Ï¥í¥°¥Õ¥¡¥¤¥ë(¤Þ¤¿¤Ïɸ½àÆþÎÏ)¤«¤é°ì¹Ô¤º¤ÄÆɤ߹þ¤ó¤ÇÀµµ¬É½¸½¤È¤Î¥Þ¥Ã |
---|
| 23 | ¥Á¥ó¥°¤ò¹Ô¤¤¡¤É¬Íפ˱þ¤¸¤ÆÄê¤á¤é¤ì¤¿¥¢¥¯¥·¥ç¥ó¤ò¼Â¹Ô¤·¤Þ¤¹¡¥ |
---|
| 24 | |
---|
| 25 | %prep |
---|
| 26 | %setup -q -c |
---|
| 27 | |
---|
| 28 | %build |
---|
| 29 | cd %{name}-%{version} |
---|
| 30 | %configure --with-etcdir=%_sysconfdir/%{name} |
---|
| 31 | make |
---|
| 32 | cd .. |
---|
| 33 | |
---|
| 34 | %install |
---|
| 35 | rm -rf ${RPM_BUILD_ROOT} |
---|
| 36 | mkdir -p ${RPM_BUILD_ROOT}%{_bindir} |
---|
| 37 | mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/man1 |
---|
| 38 | mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/man4 |
---|
| 39 | |
---|
| 40 | mkdir tmp-examples |
---|
| 41 | cp %{SOURCE1} tmp-examples |
---|
| 42 | cp %{SOURCE2} tmp-examples |
---|
| 43 | cp %{SOURCE3} tmp-examples |
---|
| 44 | |
---|
| 45 | cd %{name}-%{version} |
---|
| 46 | %makeinstall |
---|
| 47 | cd .. |
---|
| 48 | |
---|
| 49 | %clean |
---|
| 50 | rm -rf ${RPM_BUILD_ROOT} |
---|
| 51 | rm -rf tmp-examples |
---|
| 52 | |
---|
| 53 | %files |
---|
| 54 | %defattr(-, root, root) |
---|
| 55 | %{_bindir}/logsurfer |
---|
| 56 | %{_mandir} |
---|
| 57 | %doc %{name}-%{version}/ChangeLog |
---|
| 58 | %doc %{name}-%{version}/DISCLAIMER |
---|
| 59 | %doc %{name}-%{version}/README |
---|
| 60 | %doc %{name}-%{version}/TODO |
---|
| 61 | %doc %{name}-%{version}/Y2K |
---|
| 62 | %doc tmp-examples/* |
---|
| 63 | |
---|
| 64 | %changelog |
---|
| 65 | * Fri Nov 23 2001 akira yamada <akira@vinelinux.org> 1.5a-0vl1 |
---|
| 66 | - Initial packaging. |
---|