/[packages]/updates/1/siproxd/current/SPECS/siproxd.spec
ViewVC logotype

Annotation of /updates/1/siproxd/current/SPECS/siproxd.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 134266 - (hide annotations) (download)
Wed Aug 17 23:30:22 2011 UTC (12 years, 7 months ago) by alien
Original Path: cauldron/siproxd/current/SPECS/siproxd.spec
File size: 2305 byte(s)
- Remove deprecated macros
- Update to version 0.8.1

1 alien 134257 Summary: A SIP masquerading proxy with RTP support
2     Name: siproxd
3 alien 134266 Version: 0.8.1
4     Release: %mkrel 1
5 alien 134257 License: GPLv2+
6     Group: System/Servers
7     URL: http://siproxd.sourceforge.net/
8 alien 134266 Source0: http://prdownloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
9 alien 134257 Source1: %{name}.init
10     Requires(post): rpm-helper
11     Requires(preun): rpm-helper
12     Requires(pre): rpm-helper
13     Requires(postun): rpm-helper
14     BuildRequires: libosip2-devel >= 3.0.3
15     BuildRequires: libtool
16     BuildRequires: autoconf2.5
17     BuildRequires: docbook-utils
18     BuildRequires: docbook-utils-pdf
19     BuildRequires: docbook-dtd42-sgml
20    
21     %description
22     Siprox is an proxy/masquerading daemon for the SIP protocol.
23     It handles registrations of SIP clients on a private IP network
24     and performs rewriting of the SIP message bodies to make SIP
25     connections possible via an masquerading firewall.
26     It allows SIP clients (like kphone, linphone) to work behind
27     an IP masquerading firewall or router.
28    
29 alien 134266 #----------------------------------------------------------------
30    
31 alien 134257 %prep
32    
33     %setup -q
34    
35     %build
36     %configure2_5x
37    
38     %make
39    
40     %install
41    
42 alien 134266 rm -rf %{buildroot}
43    
44 alien 134257 %makeinstall_std
45    
46     install -d %{buildroot}%{_var}/run/%{name}
47     install -d %{buildroot}%{_localstatedir}/lib/%{name}
48     install -d %{buildroot}%{_initrddir}
49     install -d %{buildroot}%{_sbindir}
50    
51     install -m0755 %{SOURCE1} %{buildroot}%{_initrddir}/%{name}
52    
53     # fix config
54     install -m0644 doc/siproxd.conf.example %{buildroot}%{_sysconfdir}/siproxd.conf
55     install -m0644 doc/siproxd_passwd.cfg %{buildroot}%{_sysconfdir}/siproxd_passwd.cfg
56     perl -pi -e "s|^user =.*|user = %{name}|g" %{buildroot}%{_sysconfdir}/siproxd.conf
57    
58     %pre
59     %_pre_useradd %{name} %{_localstatedir}/lib/%{name} /bin/false
60    
61     %post
62     %_post_service %{name}
63    
64     %preun
65     %_preun_service %{name}
66    
67     %postun
68     %_postun_userdel %{name}
69    
70     %files
71     %doc AUTHORS ChangeLog README RELNOTES TODO
72     %doc doc/FLI4L_HOWTO.txt doc/KNOWN_BUGS doc/RFC3261_compliance.txt doc/sample_cfg_budgetone.txt
73     %doc doc/sample_cfg_x-lite.txt doc/siproxd_guide.sgml
74     %doc doc/html/*.html doc/pdf/*.pdf
75     %{_initrddir}/%{name}
76     %attr(0640,root,root) %config(noreplace) %{_sysconfdir}/%{name}.conf
77     %attr(0640,root,root) %{_sysconfdir}/%{name}.conf.example
78     %attr(0640,root,root) %config(noreplace) %{_sysconfdir}/%{name}_passwd.cfg
79     %{_sbindir}/%{name}
80     %{_libdir}/%{name}
81     %dir %{_localstatedir}/lib/%{name}
82     %dir %{_var}/run/%{name}
83    
84    
85    

  ViewVC Help
Powered by ViewVC 1.1.30