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