## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 2; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec Name: rtpproxy Version: 3.0.1 Release: %autorelease Summary: A symmetric RTP proxy License: BSD-2-Clause URL: http://www.rtpproxy.org VCS: git:https://github.com/sippy/rtpproxy.git Source0: https://github.com/sippy/rtpproxy/archive/v%{version}/%{name}-%{version}.tar.gz Source1: https://github.com/sippy/hepconnector/archive/395e565b565ec222baa22bf0b8b67d7c812fe0a2/hepconnector-0.tar.gz Source2: https://github.com/sobomax/libelperiodic/archive/b04de2fc34d73f4d0aba43ad2ae02e0857234393/libelperiodic-1.2.tar.gz Source3: rtpproxy.sysusers Patch1: rtpproxy-0001-Remove-more-autogenerated-stuff.patch Patch2: rtpproxy-0002-Fedora-related-fix-for-docbook-path.patch Patch3: rtpproxy-0003-Hardcode-Git-short-commit-in-configure.ac.patch Patch4: rtpproxy-0004-Reverse-debug-nodebug-flags.patch Patch5: rtpproxy-0005-Remove-bundled-libucl.patch Patch6: rtpproxy-0006-Remove-bundled-xxHash.patch Patch7: rtpproxy-0007-Missing-include.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: bcg729-devel BuildRequires: docbook-style-xsl BuildRequires: gcc BuildRequires: gsm-devel BuildRequires: libsndfile-devel BuildRequires: libsrtp-devel BuildRequires: libtool BuildRequires: libucl-devel >= 0.8.2 BuildRequires: libxslt BuildRequires: make BuildRequires: openssl-devel BuildRequires: systemd-devel BuildRequires: systemd-rpm-macros BuildRequires: xxhash-devel Requires(pre): /usr/sbin/useradd Requires(post): systemd Requires(preun): systemd Requires(postun): systemd %description This is symmetric RTP proxy designed to be used in conjunction with the SIP Express Router (SER) or any other SIP proxy capable of rewriting SDP bodies in SIP messages that it processes. %prep %autosetup -p1 cd hepconnector tar xvf %{SOURCE1} --strip-components 1 cd .. cd libelperiodic tar xvf %{SOURCE2} --strip-components 1 cd .. %build autoreconf -ivf %configure --enable-systemd --disable-static %make_build make rtpproxy.8 %install %make_install install -D -p -m 0644 rpm/%{name}.sysconfig %{buildroot}%{_sysconfdir}/sysconfig/%{name} # install systemd files install -D -m 0644 -p rpm/%{name}.service %{buildroot}%{_unitdir}/%{name}.service install -D -m 0644 -p rpm/%{name}.socket %{buildroot}%{_unitdir}/%{name}.socket install -D -m 0644 -p rpm/%{name}.tmpfiles.conf %{buildroot}%{_tmpfilesdir}/%{name}.conf mkdir -p %{buildroot}%{_localstatedir}/run/%{name} install -d %{buildroot}%{_localstatedir}/lib/%{name} install -p -D -m 0644 %{SOURCE3} %{buildroot}%{_sysusersdir}/%{name}.conf %pre %sysusers_create_compat %{SOURCE3} %post %systemd_post %{name}.service %preun %systemd_preun %{name}.service %files %doc AUTHORS README.md README.remote %license LICENSE %config(noreplace) %{_sysconfdir}/sysconfig/%{name} %{_unitdir}/%{name}.service %{_unitdir}/%{name}.socket %{_tmpfilesdir}/%{name}.conf %dir %attr(0755, rtpproxy, rtpproxy) %{_localstatedir}/run/%{name} %{_bindir}/extractaudio %{_bindir}/makeann %{_bindir}/rtpproxy %exclude %{_bindir}/rtpproxy_debug %ifarch %{ix86} x86_64 # requires rdtsc which is available only on x86/x86_64 arches %{_bindir}/udp_contention %endif %{_sysusersdir}/%{name}.conf %{_libdir}/rtpproxy/*.so %{_mandir}/man8/rtpproxy.8* %dir %attr(0750, rtpproxy, rtpproxy) %{_localstatedir}/lib/%{name} %changelog ## START: Generated by rpmautospec * Fri Jul 19 2024 Fedora Release Engineering - 3.0.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Sat Jun 15 2024 Peter Lemenkov - 3.0.1-1 - rtpproxy ver. 3.0.1 * Fri Jan 26 2024 Fedora Release Engineering - 2.2.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 22 2024 Fedora Release Engineering - 2.2.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Dec 18 2023 Florian Weimer - 2.2.1-4 - C compatibility fix * Fri Jul 21 2023 Fedora Release Engineering - 2.2.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Sun Apr 30 2023 Peter Lemenkov - 2.2.1-2 - Added extra restriction for BR * Fri Jan 20 2023 Fedora Release Engineering - 2.0.0-22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Sat Jul 23 2022 Fedora Release Engineering - 2.0.0-21 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Fri Jan 21 2022 Fedora Release Engineering - 2.0.0-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 2.0.0-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Wed Jan 27 2021 Fedora Release Engineering - 2.0.0-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Sep 01 2020 Than Ngo - 2.0.0-17 - fix, is removed in latest glibc * Sat Aug 01 2020 Fedora Release Engineering - 2.0.0-16 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 2.0.0-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Thu Jan 30 2020 Fedora Release Engineering - 2.0.0-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Jul 26 2019 Fedora Release Engineering - 2.0.0-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sat Feb 02 2019 Fedora Release Engineering - 2.0.0-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Sat Jul 14 2018 Fedora Release Engineering - 2.0.0-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Tue Feb 13 2018 Peter Lemenkov - 2.0.0-10 - Add support for bcg729 library (g.729 codec) - Drop support for pre-EL7 distributives * Fri Feb 09 2018 Fedora Release Engineering - 2.0.0-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Aug 03 2017 Fedora Release Engineering - 2.0.0-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 2.0.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri Jul 14 2017 Peter Lemenkov - 2.0.0-6 - Missing *.socket file added * Sat Feb 11 2017 Fedora Release Engineering - 2.0.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Thu Feb 04 2016 Fedora Release Engineering - 2.0.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Mon Jul 20 2015 Ralf Corsépius - 2.0.0-3 - Add BR: systemd (Fix F23FTBFS, RHBZ#1239882). * Thu Jun 18 2015 Fedora Release Engineering - 2.0.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Tue Mar 10 2015 Peter Lemenkov - 2.0.0-1 - Ver. 2.0.0 Final - Temporarily exclude debug utility * Wed Nov 12 2014 Peter Lemenkov - 2.0-0.1.RC1 - Ver. 2.0-RC1 - Better systemd support - Removed support for EL5 * Mon Aug 18 2014 Fedora Release Engineering - 1.2.1-16.git2121113 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sun Jun 08 2014 Fedora Release Engineering - 1.2.1-15.git2121113 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Tue Dec 03 2013 Peter Lemenkov - 1.2.1-14.git2121113 - Fixed FTBFS in F20+ * Sat Aug 31 2013 Peter Lemenkov - 1.2.1-13.git2121113 - Spec-file cleanups - Added systemd-macros where necessary * Sun Aug 04 2013 Fedora Release Engineering - 1.2.1-12.git2121113 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Thu Feb 14 2013 Fedora Release Engineering - 1.2.1-11.git2121113 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Tue Jan 22 2013 Peter Lemenkov - 1.2.1-10.git2121113 - Revert systemd macros * Tue Jan 22 2013 Peter Lemenkov - 1.2.1-9.git2121113 - Latest git snapshot * Sat Jul 21 2012 Fedora Release Engineering - 1.2.1-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Fri Apr 27 2012 Peter Lemenkov - 1.2.1-7 - Fixed systemd installation * Sat Jan 14 2012 Fedora Release Engineering - 1.2.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Wed Nov 23 2011 Peter Lemenkov - 1.2.1-5 - Works with systemd * Wed Feb 09 2011 Fedora Release Engineering - 1.2.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Wed Sep 29 2010 jkeating - 1.2.1-3 - Rebuilt for gcc bug 634757 * Sun Sep 19 2010 Peter Lemenkov - 1.2.1-2 - Allow group users to write to controlling UNIX-socket (rhbz #626863) * Sun Nov 1 2009 Peter Lemenkov - 1.2.1-1 - Ver. 1.2.1 - Brand new init-script * Sun Jul 26 2009 Fedora Release Engineering - 1.2.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Fri Mar 27 2009 Peter Lemenkov - 1.2.0-1 - Ver. 1.2.0 * Wed Feb 25 2009 Fedora Release Engineering - 1.2-0.4.beta.200901120 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Tue Jan 27 2009 Peter Lemenkov - 1.2-0.3.beta.200901120 - Snapshot 1.2.beta.200901120 - Added sysconfig file * Mon Oct 6 2008 Peter Lemenkov - 1.2-0.2.alpha.200807211 - Added missing BuildRequires - Added init-script * Wed Aug 13 2008 Peter Lemenkov - 1.2-0.1.alpha.200807211 - Snapshot 1.2.alpha.200807211 * Wed Jun 18 2008 Peter Lemenkov - 1.1-1 - Stable ver. 1.1 * Fri May 16 2008 Peter Lemenkov - 1.1-0.3.beta.200804031 - Snapshot 20080403.1 * Sat Mar 29 2008 Peter Lemenkov - 1.1-0.2.beta.20080226 - Snapshot 20080226 - Drop upstreamed patch * Fri Feb 15 2008 Peter Lemenkov - 1.1-0.1.beta.20071218 - Ver. 1.1.beta.20071218 (we need it because openser-1.3.0 works only with it) * Mon Feb 4 2008 Peter Lemenkov - 1.0-1 - Ver. 1.0 * Wed Nov 22 2006 Jeffrey C. Ollie - 0.3-1 - First version for Fedora Extras ## END: Generated by rpmautospec