source: projects/specs/trunk/l/logsurfer/logsurfer-vl.spec @ 521

Revision 521, 1.8 KB checked in by daisuke, 14 years ago (diff)

import VineSeed package specs

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