rtpproxy.spec
来自「大名鼎鼎的 RTP Proxy 源代码 在OpenSER 中成熟应用的」· SPEC 代码 · 共 61 行
SPEC
61 行
%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 + =
减小字号Ctrl + -
显示快捷键?