Changes of Revision 10
[-] | Changed | snmptt.spec |
x 1
2 Buildroot: %{_tmppath}/%{name}-%{version}-root 3 BuildArch: noarch 4 Requires: perl, perl(SNMP), perl(Time::HiRes), perl(Config::IniFiles) 5 +Requires: logrotate 6 7 %description 8 SNMPTT (SNMP Trap Translator) is an SNMP trap handler written in Perl 9
10 %{__install} -d -m0755 %{buildroot}%{_sbindir} 11 %{__install} -d -m0755 %{buildroot}%{_sysconfdir}/init.d 12 %{__install} -d -m0755 %{buildroot}%{_sysconfdir}/snmp 13 +%{__install} -d -m0755 %{buildroot}%{_sysconfdir}/logrotate.d 14 %{__install} -d -m0755 %{buildroot}%{_var}/spool/snmptt 15 %{__install} -d -m0755 %{buildroot}%{_var}/log/snmptt 16 17
18 %{__install} -m0755 snmpttconvert %{buildroot}%{_sbindir}/ 19 %{__install} -m0755 snmpttconvertmib %{buildroot}%{_sbindir}/ 20 %{__install} -m0755 snmptthandler %{buildroot}%{_sbindir}/ 21 +%{__install} -m0755 snmptthandler-embedded %{buildroot}%{_sbindir}/ 22 +%{__install} -m0644 snmptt.logrotate %{buildroot}%{_sysconfdir}/logrotate.d/snmptt 23 24 %{__install} -m0640 snmptt.ini %{buildroot}%{_sysconfdir}/snmp 25 %{__install} -m 744 %{SOURCE1} %{buildroot}%{_sysconfdir}/init.d/snmptt 26
27 %{_sbindir}/rcsnmptrapd 28 %dir %{_sysconfdir}/snmp 29 %config(noreplace) %{_sysconfdir}/snmp/snmptt.ini 30 +%config %{_sysconfdir}/logrotate.d/snmptt 31 %{_sysconfdir}/init.d/snmptt 32 %{_sysconfdir}/init.d/snmptrapd 33 %{_sbindir}/snmptt 34 %{_sbindir}/snmpttconvert 35 %{_sbindir}/snmpttconvertmib 36 %{_sbindir}/snmptthandler 37 +%{_sbindir}/snmptthandler-embedded 38 39 40 %changelog 41 |