📄 rtpproxy.spec
字号:
%define name rtpproxy%define ver 0.3%define rel 1Name: %nameVersion: %verRelease: %rel%{?dist}Summary: A symmetric RTP proxyGroup: Applications/InternetLicense: BSDURL: http://ftp.iptel.org/pub/rtpproxy/Source0: http://ftp.iptel.org/pub/rtpproxy/rtpproxy-%{version}.tar.gzPackager: Alfred E. Heggestad <aeh@db.org>Requires(post,preun): chkconfigBuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)%descriptionThis is symmetric RTP proxy designed to be used in conjunction withthe SIP Express Router (SER) or any other SIP proxy capable ofrewriting SDP bodies in SIP messages that it processes.%prep%setup -q%build%configuremake %{?_smp_mflags}%installrm -rf $RPM_BUILD_ROOTmake DESTDIR=$RPM_BUILD_ROOT installmkdir -p $RPM_BUILD_ROOT/etc/rc.d/init.dinstall -m755 rpm/rtpproxy.init \ $RPM_BUILD_ROOT/etc/rc.d/init.d/rtpproxy%postif [ "$1" = "1" ]; then chkconfig --add %namefi%preunif [ "$1" = "0" ]; then service %name stop >/dev/null 2>&1 /sbin/chkconfig --del %namefi%cleanrm -rf $RPM_BUILD_ROOT%files%defattr(644,root,root,755)%doc AUTHORS COPYING README %attr(755,root,root) %{_bindir}/rtpproxy%attr(755,root,root) %{_bindir}/makeann%attr(755,root,root) /etc/rc.d/init.d/*%changelog* Tue Jan 30 2007 Alfred E. Heggestad <aeh@db.org> - 0.3.1- Initial build.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -