Search
j0ke.net Open Build Service
>
Projects
>
server:monitoring
>
snmptt
> snmptt.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File snmptt.spec of Package snmptt (Revision 3)
Currently displaying revision
3
,
show latest
Summary: SNMP Trap Translator Name: snmptt Version: 1.1 Release: 4.cyrus License: GNU GPL Group: Productivity/Networking/Other Source0: snmptt_1.1.tgz Source1: snmptt.init-suse Source2: snmptrapd.init-suse URL: http://www.snmptt.org/ #Patch0: my.patch Buildroot: %{_tmppath}/%{name}-root Requires: perl, perl(SNMP), perl(Time::HiRes), perl(Config::IniFiles) %description SNMPTT (SNMP Trap Translator) is an SNMP trap handler written in Perl for use with the Net-SNMP / UCD-SNMP snmptrapd program. %prep %setup -q -n %{name}_%{version} %install %{__rm} -rf $RPM_BUILD_ROOT %{__install} -d -m0755 %{buildroot}%{_sbindir} #%{__install} -d -m0755 %{buildroot}%{_sysconfdir}/rc.d/init.d %{__install} -d -m0755 %{buildroot}%{_sysconfdir}/init.d %{__install} -d -m0755 %{buildroot}%{_sysconfdir}/snmp %{__install} -d -m0755 %{buildroot}%{_var}/spool/snmptt %{__install} -m0755 snmptt %{buildroot}%{_sbindir}/ %{__install} -m0755 snmpttconvert %{buildroot}%{_sbindir}/ %{__install} -m0755 snmpttconvertmib %{buildroot}%{_sbindir}/ %{__install} -m0755 snmptthandler %{buildroot}%{_sbindir}/ %{__install} -m0640 snmptt.ini %{buildroot}%{_sysconfdir}/snmp #%{__install} -m0755 snmptt-init.d %{buildroot}%{_sysconfdir}/rc.d/init.d/snmptt install -m 744 %{SOURCE1} %{buildroot}%{_sysconfdir}/init.d/snmptt ln -sf ../../etc/init.d/snmptt $RPM_BUILD_ROOT/usr/sbin/rcsnmptt install -m 744 %{SOURCE2} %{buildroot}%{_sysconfdir}/init.d/snmptrapd ln -sf ../../etc/init.d/snmptrapd $RPM_BUILD_ROOT/usr/sbin/rcsnmptrapd find %{buildroot} -type f |%{__sed} -e 's#%{buildroot}##' > %{name}.files #printf '%dir %{_var}/spool/snmptt\n' >> %{name}.files %clean %{__rm} -rf $RPM_BUILD_ROOT %post #chkconfig --add snmptt %{fillup_and_insserv snmptrapd} %{fillup_and_insserv snmptt} %files -f %{name}.files %defattr(-,root,root) %doc docs/ examples contrib/ snmptt-net-snmp-test sample-trap BUGS COPYING ChangeLog INSTALL README %dir %{_var}/spool/snmptt /usr/sbin/rcsnmptt /usr/sbin/rcsnmptrapd %changelog * Mon Jun 26 2006 Ciro Iriarte <ciriarte@personal.com.py> - 1.1-1.cyrus - Paquete inicial para sles9. * Mon Jun 21 2004 Wil Cooley <wcooley@nakedape.cc> - 0.9-3.nac.0.0 - Include required spool dir. * Mon Jun 21 2004 Wil Cooley <wcooley@nakedape.cc> - 0.9-2.nac.0.0 - Change to depend only on perl-meta dependency, rather than trying to guess the right "edition" of SNMP. * Mon May 31 2004 Wil Cooley <wcooley@nakedape.cc> - 0.9-1.nac.0.0 - Initial package creation.