]> git.pld-linux.org Git - packages/snaresquid.git/blame - snaresquid.spec
- unified or fixed %clean section
[packages/snaresquid.git] / snaresquid.spec
CommitLineData
7f10b0ea 1# TODO:
2# - initscript
3# - read config
4# - pldize
5Summary: A Snare Log Forwarder for arbitrary text-based logs
1917c793 6Summary(pl.UTF-8): Demon Snare przekazujący logi dla dowolnych tekstowych logów
7f10b0ea 7Name: snaresquid
8Version: 1.2
9Release: 0.1
10License: GPL
6e466e70 11Group: Daemons
c165c313 12Source0: http://dl.sourceforge.net/snare/%{name}-%{version}.tar.gz
b6cde019 13# Source0-md5: d757c89e24ed354d7633893b8d607f93
6e466e70 14URL: http://www.intersectalliance.com/
7f10b0ea 15BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17%description
18A Snare Log Forwarder for arbitrary text-based logs, that works with
19the System iNtrusion Analysis and Reporting Environment (SNARE).
20
0805ea03
JR
21%description -l pl.UTF-8
22Demon Snare przekazujący logi dla dowolnych tekstowych logów,
23działający ze środowiskiem SNARE (System iNtrusion Analysis and
6e466e70
JB
24Reporting Environment).
25
7f10b0ea 26%prep
27%setup -q
28
29%build
30%{__make} \
31 CFLAGS="%{rpmcflags}"
32
33%install
34rm -rf $RPM_BUILD_ROOT
35install -d $RPM_BUILD_ROOT%{_bindir}
6e466e70 36install -d $RPM_BUILD_ROOT/etc/rc.d/init.d
7f10b0ea 37
38%{__make} install \
39 prefix=$RPM_BUILD_ROOT
40
41%clean
01755e01 42rm -rf $RPM_BUILD_ROOT
7f10b0ea 43
44# %post
45# chkconfig --add snaresquid
46# chkconfig snaresquid on
47# cat <<EOF
48
49# Installation of SnareSquid complete.
50# Please change the DESTSERVER option in /etc/init.d/snaresquid
51# EOF
52
53%files
54%defattr(644,root,root,755)
55%attr(755,root,root) %{_bindir}/snaresquid
6e466e70 56# %attr(754,root,root) /etc/rc.d/init.d/snaresquid
This page took 0.620151 seconds and 4 git commands to generate.