]> git.pld-linux.org Git - packages/aide.git/blob - aide.spec
- removed %%{__*} rpm macros
[packages/aide.git] / aide.spec
1 Summary:        Advanced Intrusion Detection Environment
2 Summary(pl):    Zaawansowany System Wykrywania W³amañ (AIDE)
3 Name:           aide
4 Version:        0.7
5 Release:        3
6 License:        GPL
7 Group:          Applications/System
8 Group(de):      Applikationen/System
9 Group(pl):      Aplikacje/System
10 Source0:        ftp://ftp.linux.hr/pub/aide/%{name}-%{version}.tar.gz
11 Source1:        %{name}.conf
12 Source2:        %{name}-%{version}-doc.tar.bz2
13 Source3:        %{name}-check
14 Patch0:         %{name}-cvs20010627.patch.gz
15 Patch1:         %{name}-NLS.patch
16 URL:            http://www.cs.tut.fi/~rammer/aide.html
17 BuildRequires:  autoconf
18 BuildRequires:  automake
19 BuildRequires:  flex
20 BuildRequires:  gettext-devel
21 BuildRequires:  glibc-static
22 BuildRequires:  libgcrypt-static
23 BuildRequires:  zlib-static
24 Requires:       crondaemon
25 Requires:       mailx
26 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28 %define         _sysconfdir     /etc/%{name}
29 %define         _pkglibdir      /var/lib/%{name}
30
31 %prep
32 %setup -q -b 0 -b 2
33 %patch0 -p1
34 %patch1 -p1
35
36 %description
37 AIDE creates a database from the regular expression rules that it
38 finds from the config file. Once this database is initialized it can
39 be used to verify the integrity of the files. It has several message
40 digest algorithms (md5,sha1,rmd160,tiger,haval,etc.) that are used to
41 check the integrity of the file. More algorithms can be added with
42 relative ease. All of the usual file attributes can also be checked
43 for inconsistencies.
44
45 %description -l pl
46 AIDE tworzy bazê danych z wyra¿eñ regularnych, które znajduj± siê w
47 pliku konfiguracyjnym. Gdy baza zostanie zainicjowana mo¿na sprawdzaæ
48 integralno¶æ plików. U¿ywanych jest kilka algorytmów sprawdzania
49 spójno¶ci (md5,sha1,rmd160,tiger,haval,itp.). Inne mog± byæ dodane 
50 stosunkowo ³atwo. Zwyk³e atrybuty plików tak¿e mog± byæ sprawdzane.
51
52 %build
53 rm -f missing
54 gettextize --copy --force
55 aclocal
56 autoconf
57 automake -a -c
58 %configure \
59         --with-config-file=%{_sysconfdir}/aide.conf
60 %{__make}
61
62 %install
63 rm -rf $RPM_BUILD_ROOT
64 install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_pkglibdir},/etc/cron.daily}
65
66 %{__make} install \
67         DESTDIR=$RPM_BUILD_ROOT
68
69 install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}
70 install %{SOURCE3} $RPM_BUILD_ROOT/etc/cron.daily
71
72 gzip -9nf AUTHORS ChangeLog NEWS README doc/aide.conf
73
74 %find_lang %{name}
75
76 %clean
77 rm -rf $RPM_BUILD_ROOT
78
79 %files -f %{name}.lang
80 %defattr(644,root,root,755)
81 %doc *.gz doc/aide.conf.gz doc/manual.html doc/aide.html
82 %attr(640,root,root) %config(noreplace) %{_sysconfdir}/aide.conf
83 %attr(750,root,root) %dir %{_pkglibdir}
84 %attr(755,root,root) %{_bindir}/aide
85 %attr(700,root,root) %config(noreplace) /etc/cron.daily/aide-check
86 %{_mandir}/man[15]/*
87 %lang(ru) %{_mandir}/ru/man[15]/*
This page took 0.541285 seconds and 3 git commands to generate.