comparison wflogs-daemon.spec.in @ 4:37eace15ef87

allow hourly/daily/weekly triggers for output generation, append to temp wflogs input files so daemon restart won't drop as much data
author Carl Byington <carl@five-ten-sg.com>
date Fri, 17 May 2013 12:03:21 -0700
parents 400b1de6e1c6
children
comparison
equal deleted inserted replaced
3:2ea606326f5b 4:37eace15ef87
31 31
32 %install 32 %install
33 rm -rf $RPM_BUILD_ROOT 33 rm -rf $RPM_BUILD_ROOT
34 make DESTDIR=$RPM_BUILD_ROOT install 34 make DESTDIR=$RPM_BUILD_ROOT install
35 mkdir -p $RPM_BUILD_ROOT/etc/rc.d/init.d 35 mkdir -p $RPM_BUILD_ROOT/etc/rc.d/init.d
36 mkdir -p $RPM_BUILD_ROOT/var/lib/%{name}
36 mv -f $RPM_BUILD_ROOT%{_sysconfdir}/%{name} $RPM_BUILD_ROOT/etc/rc.d/init.d 37 mv -f $RPM_BUILD_ROOT%{_sysconfdir}/%{name} $RPM_BUILD_ROOT/etc/rc.d/init.d
37 38
38 39
39 %clean 40 %clean
40 rm -rf $RPM_BUILD_ROOT 41 rm -rf $RPM_BUILD_ROOT
60 %{_sbindir}/* 61 %{_sbindir}/*
61 %{_mandir}/man1/* 62 %{_mandir}/man1/*
62 %{_mandir}/man5/* 63 %{_mandir}/man5/*
63 %docdir %{_datadir}/doc/%{name}-%{version} 64 %docdir %{_datadir}/doc/%{name}-%{version}
64 %{_datadir}/doc/%{name}-%{version} 65 %{_datadir}/doc/%{name}-%{version}
66 /var/lib/%{name}/
65 %config(noreplace) %{_sysconfdir}/%{name}.conf 67 %config(noreplace) %{_sysconfdir}/%{name}.conf
66 /etc/rc.d/init.d/%{name} 68 /etc/rc.d/init.d/%{name}
67 69
68 70
69 %changelog 71 %changelog
70 * Fri May 17 2013 Carl Byington <carl@five-ten-sg.com> - 1.1-1 72 * Fri May 17 2013 Carl Byington <carl@five-ten-sg.com> - 1.1-1
71 - allow multiple config contexts 73 - allow multiple config contexts
74 - output optionally triggered by hourly/daily/weekly rollover
72 75
73 * Wed May 15 2013 Carl Byington <carl@five-ten-sg.com> - 1.0-1 76 * Wed May 15 2013 Carl Byington <carl@five-ten-sg.com> - 1.0-1
74 - initial revision 77 - initial revision