%define snap 20041029 Summary: H323 Auto Caller plugin for Nagios Name: h323ac Version: 1.0.4 Release: %mkrel 0.%{snap}.1 License: MPL Group: Networking/Other URL: http://sourceforge.net/projects/h323ac/ Source0: %{name}-%{version}-%{snap}.tar.bz2 BuildRequires: openh323-devel BuildRoot: %{_tmppath}/%{name}-buildroot %description This application is a simple OpenH323-based WAV file player: you use it to call a H.323 telephone and it will play a WAV file to the remote telephone over the H.323 connection. It has many uses, examples include using it as a Voice Pager in Nagios to notify techs of system problems, using it as a wakeup service with cron, or using it to Voice Spam audio advertisements to phones. If you put it to other interesting uses, please email me to let me know what you have thought up. %prep %setup -q -n %{name}-%{version}-%{snap} %build %make \ OPENH323DIR="%{_datadir}/openh323" \ PWLIBDIR="%{_datadir}/pwlib" \ OH323_INCDIR="%{_includedir}/openh323" \ OH323_LIBDIR="%{_libdir}" \ CFLAGS="%{optflags}" \ opt %install [ -n "%{buildroot}" -a "%{buildroot}" != / ] && rm -rf %{buildroot} install -d -m0755 %{buildroot}%{_libdir}/nagios/plugins install -m0755 obj_linux_x86_r/h323ac %{buildroot}%{_libdir}/nagios/plugins/ %clean [ -n "%{buildroot}" -a "%{buildroot}" != / ] && rm -rf %{buildroot} %files %defattr(-,root,root) %doc README %attr(0755,root,root) %{_libdir}/nagios/plugins/h323ac %changelog * Sun Apr 03 2005 Oden Eriksson <oeriksson@mandrakesoft.com> 1.0.4-0.20041029.1mdk - 1.0.4 (CVS 20041029) - use the %%mkrel macro * Wed Sep 22 2004 Frederic Crozat <fcrozat@mandrakesoft.com> 1.0.3-3mdk - Rebuild with latest openh323/pwlib * Mon Jun 07 2004 Oden Eriksson <oeriksson@mandrakesoft.com> 1.0.3-2mdk - rebuilt with gcc v3.4.x * Sun May 30 2004 Oden Eriksson <oeriksson@mandrakesoft.com> 1.0.3-1mdk - initial cooker contrib