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