]> git.pld-linux.org Git - packages/aide.git/blob - aide.spec
- added NLS patch with full NL support (also for man pages),
[packages/aide.git] / aide.spec
1 Summary:        Advanced Intrusion Detection Environment
2 Name:           aide
3 Version:        0.7
4 Release:        1
5 License:        GPL
6 Group:          Applications/System
7 Group(de):      Applikationen/System
8 Group(pl):      Aplikacje/System
9 Source0:        ftp://ftp.linux.hr/pub/aide/%{name}-%{version}.tar.gz
10 Source1:        %{name}.conf
11 Source2:        %{name}-extra-%{version}.tar.bz2
12 Patch0:         %{name}-cvs20010627.patch.gz
13 Patch1:         %{name}-NLS.patch
14 URL:            http://www.cs.tut.fi/~rammer/aide.html
15 BuildRequires:  autoconf
16 BuildRequires:  automake
17 BuildRequires:  flex
18 BuildRequires:  gettext-devel
19 BuildRequires:  glibc-static
20 BuildRequires:  libgcrypt-static
21 Requires:       crond
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %define         _sysconfdir     /etc/%{name}
25 %define         _pkglibdir      /var/lib/%{name}
26
27 %prep
28 %setup -q -b 0 -b 2
29 %patch0 -p1
30 %patch1 -p1
31
32 %description
33 AIDE creates a database from the regular expression rules that it
34 finds from the config file. Once this database is initialized it can
35 be used to verify the integrity of the files. It has several message
36 digest algorithms (md5,sha1,rmd160,tiger,haval,etc.) that are used to
37 check the integrity of the file. More algorithms can be added with
38 relative ease. All of the usual file attributes can also be checked
39 for inconsistencies.
40
41 %build
42 rm -f missing
43 gettextize --copy --force
44 aclocal
45 autoconf
46 automake -a -c
47 %configure \
48         --with-config-file=%{_sysconfdir}/aide.conf \
49         --without-zlib
50 %{__make}
51
52 %install
53 rm -rf $RPM_BUILD_ROOT
54 %{__install} -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_pkglibdir},/etc/cron.daily}
55
56 %{__make} install \
57         DESTDIR=$RPM_BUILD_ROOT
58
59 %{__install} %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}
60 %{__install} extra/aide.check $RPM_BUILD_ROOT/etc/cron.daily
61
62 gzip -9nf AUTHORS ChangeLog NEWS README doc/aide.conf
63
64 %find_lang %{name}
65
66 %clean
67 rm -rf $RPM_BUILD_ROOT
68
69 %files -f %{name}.lang
70 %defattr(644,root,root,755)
71 %doc *.gz doc/aide.conf.gz doc/manual.html extra/aide.html
72 %attr(640,root,root) %config(noreplace) %{_sysconfdir}/aide.conf
73 %attr(750,root,root) %ghost %{_pkglibdir}
74 %attr(755,root,root) %{_bindir}/aide
75 %attr(700,root,root) %config(noreplace) /etc/cron.daily/aide.check
76 %{_mandir}/man[15]/*
77 %lang(ru) %{_mandir}/ru/man[15]/*
This page took 0.082572 seconds and 3 git commands to generate.