Name: @PACKAGE@ Version: @VERSION@ Release: %{buildno} Summary: SIP ACD Server License: LGPL Group: Productivity/Telephony/SIP/Servers Vendor: Pingtel Packager: Pingtel Url: http://www.pingtel.com Source: %name-%version.tar.gz Requires: sipxcalllib >= 3.8 Requires: sipxpbx >= 3.8 Prefix: %_prefix BuildRoot: %{_tmppath}/%name-%version-root %description TBD %package devel Requires: %name Requires: sipxcalllib-devel >= 3.8 Group: Development/Libraries Vendor: SIPfoundry Summary: Header files for %name %description devel Developer support for sipXacd. @RPMBUILD_DEBUG_PACKAGE_SPEC@ %prep %setup -q %build %configure @CONFIGURE_OPTIONS@ cp config.log %name.configlog make %install # makeinstall RPM macro doesn't leverage DESTDIR but instead overrides # libdir, bindir, etc just for make install. This not copesetic w/how # our makefiles are built, they'd rather preserve libdir, and use # DESTDIR when copying/moving/creating files. The approach we're taking # is quite standard, so it's surprising RPM's makeinstall macro is # the way it is. rm -rf $RPM_BUILD_ROOT make DESTDIR=$RPM_BUILD_ROOT install %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) %doc %name.configlog %docdir doc %attr(755,root,root) %{_bindir}/sipxacd.sh %attr(755,root,root) %{_bindir}/sipxacd-config %attr(755,root,root) %{_bindir}/sipxacd %config(noreplace) %{_sysconfdir}/sipxpbx/process.d/sipxacd.process.xml %files devel %defattr(644,root,root,755) %pre %post