📄 siproxd.spec
字号:
%define name siproxd%define ver 0.5.3%define release 1%define serial 1%define prefix %{_prefix}%define sysconfdir /etcName: %{name}Summary: A SIP masquerading proxy with RTP supportVersion: %{ver}Release: %{release}Copyright: GPLGroup: Applications/CommunicationsSource0: %{name}-%{ver}.tar.gzURL: http://siproxd.sourceforge.net/BuildRoot: %{_tmppath}/%{name}-%{ver}-rootDocdir: %{_docdir}Requires: libosip2 >= 2.0.2BuildRequires: libosip2 >= 2.0.2Vendor: Thomas RiesPackager: Thomas Ries <tries@gmx.net>%descriptionSiprox is an proxy/masquerading daemon for the SIP protocol.It handles registrations of SIP clients on a private IP networkand performs rewriting of the SIP message bodies to make SIPconnections possible via an masquerading firewall.It allows SIP clients (like kphone, linphone) to work behindan IP masquerading firewall or router.%prep%setup -q%buildCFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{prefix} \ --sysconfdir=%{sysconfdir}make%installmake prefix=$RPM_BUILD_ROOT%{prefix} \ sysconfdir=$RPM_BUILD_ROOT%{sysconfdir} \ installmv $RPM_BUILD_ROOT%{sysconfdir}/siproxd.conf.example \ $RPM_BUILD_ROOT%{sysconfdir}/siproxd.conf%cleanrm -rf $RPM_BUILD_ROOT%files%defattr(-, root, root)%doc COPYING README AUTHORS INSTALL NEWS ChangeLog doc/FAQ doc/FLI4L_HOWTO.txt%{_sbindir}/siproxd%config %{sysconfdir}/siproxd.conf%config %{sysconfdir}/siproxd_passwd.cfg%postecho "Edit the config file %{sysconfigdir}/siproxd.conf!"%changelog* Fri Oct 31 2003 Thomas Ries <tries@gmx.net>- siproxd is now installed to sbin directory* Fri Oct 24 2003 Thomas Ries <tries@gmx.net>- added config files and some more doc files- rename sample config file and remind user to edit it.- minor cleanup* Sat Aug 30 2003 Thomas Ries <tries@gmx.net>- always use /etc as sysconfdir* Sat Sep 21 2002 Thomas Ries <tries@gmx.net>- first RPM support
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -