-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaide.spec.in
61 lines (43 loc) · 1.42 KB
/
aide.spec.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
%define name aide
%define ver @AIDEVERSION@
%define rel 1
%define prefix /usr
Summary: Advanced Intrusion Detection Environment
Name: %name
Version: %ver
Release: %rel
Copyright: GPL
Group: Console/Security
Source: http://prdownloads.sourceforge.net/aide/aide-%ver.tar.gz
BuildRoot: /var/tmp/aide-%{PACKAGE_VERSION}-root
Obsoletes: %name
URL: http://sourceforge.net/projects/aide
Docdir: %{prefix}/doc
%description
aide is an intrusion detection system for checking the integrity of files.
%changelog
* Fri Nov 28 2003 Richard van den Berg <[email protected]>
- Changed URLs to point to sourceforge.net
* Wed Jan 26 2000 Matthew Kirkwood <[email protected]>
- Fixes for RH 6.1 and sysconfdir changed to /etc and /var/lib/aide added
* Sun Sep 12 1999 Rami Lehti <[email protected]>
- Some small changes to make this autogeneratable by configure.
* Sat Sep 11 1999 Zach Brown <[email protected]>
- First go
%prep
%setup
%build
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%prefix --sysconfdir=/etc --with-config-file=/etc/aide.conf
%install
rm -rf $RPM_BUILD_ROOT
make prefix=$RPM_BUILD_ROOT%{prefix} install-strip install-man
mkdir -p -m700 $RPM_BUILD_ROOT/var/lib/aide
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-, root, root)
%doc AUTHORS COPYING ChangeLog NEWS README README-snprintf LICENSE-snprintf.txt Todo doc/aide*
%{prefix}/bin/aide
%{_mandir}/man1/aide.1*
%{_mandir}/man5/aide.conf.5*
/var/lib/aide