]> git.pld-linux.org Git - packages/aide.git/blob - aide.spec
- added --with-locale to %configure
[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 Patch0:         %{name}-cvs20010627.patch.gz
12 URL:            http://www.cs.tut.fi/~rammer/aide.html
13 BuildRequires:  libgcrypt-static
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %define         _sysconfdir     /etc/%{name}
17 %define         _pkglibdir      /var/lib/%{name}
18
19 %prep
20 %setup -q -n %{name}-%{version}
21 %patch0 -p1
22
23 %description
24 AIDE creates a database from the regular expression rules that it
25 finds from the config file. Once this database is initialized it can
26 be used to verify the integrity of the files. It has several message
27 digest algorithms (md5,sha1,rmd160,tiger,haval,etc.) that are used to
28 check the integrity of the file. More algorithms can be added with
29 relative ease. All of the usual file attributes can also be checked
30 for inconsistencies.
31
32 %build
33 %configure \
34         --with-config-file=%{_sysconfdir}/aide.conf \
35         --with-locale \
36         --without-zlib
37 %{__make}
38
39 %install
40 rm -rf $RPM_BUILD_ROOT
41 %{__make} install \
42         DESTDIR=$RPM_BUILD_ROOT
43 %{__install} -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_pkglibdir}}
44 %{__install} %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}
45
46 gzip -9nf AUTHORS ChangeLog NEWS README doc/aide.conf
47
48 %find_lang %{name}
49
50 %clean
51 rm -rf $RPM_BUILD_ROOT
52
53 %files -f %{name}.lang
54 %defattr(644,root,root,755)
55 %doc *.gz doc/aide.conf.gz
56 %attr(640,root,root) %config(noreplace) %{_sysconfdir}/aide.conf
57 %attr(750,root,root) %ghost %{_pkglibdir}
58 %attr(755,root,root) %{_bindir}/aide
59 %{_mandir}/man[15]/*
This page took 0.026707 seconds and 4 git commands to generate.