-
Notifications
You must be signed in to change notification settings - Fork 0
/
lauditd.spec.in
59 lines (44 loc) · 1.46 KB
/
lauditd.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
# lauditd specfile
Name: @PACKAGE@
Version: @VERSION@
Vendor: Stanford Research Computing Center
Prefix: %{_prefix}
Release: @LAUDITD_RELEASE@%{?dist}
Summary: lauditd - Lustre Changelogs Daemon
License: GPLv3
Group: Applications/System
Source0: @PACKAGE@-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
%description
lauditd is a daemon that listens to Lustre Changelogs and write them to a FIFO.
Generated using options: @ac_configure_args@
%prep
%setup -q -n @PACKAGE@-%{version}
%build
./configure @ac_configure_args@ %{?configure_flags:configure_flags} \
--sysconfdir=%{_sysconfdir} \
--mandir=%{_mandir} \
--libdir=%{_libdir} \
--includedir=%{_includedir} \
--prefix=%{_prefix}
make
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/sysconfig
install -m 644 systemd/lauditd $RPM_BUILD_ROOT/%{_sysconfdir}/sysconfig/lauditd
mkdir -p $RPM_BUILD_ROOT/%{_unitdir}
install -m 444 systemd/[email protected] $RPM_BUILD_ROOT/%{_unitdir}/[email protected]
%clean
rm -rf $RPM_BUILD_ROOT
%files
%{_sbindir}/*
%config(noreplace) %{_sysconfdir}/sysconfig/lauditd
%{_unitdir}/[email protected]
%changelog
%changelog
* Sun Mar 6 2022 Stephane Thiell <[email protected]> 0.2
- Update to 0.2 (adding support for ignored record types)
* Wed Nov 4 2020 Stephane Thiell <[email protected]> 0.1
- Initial import