From 37c7d0472bb23be54d464ea3a559a1e679ccb512 Mon Sep 17 00:00:00 2001 From: tigro Date: Fri, 31 May 2024 13:29:57 +0300 Subject: [PATCH] Copy spec from EPEL9 --- SPECS/libosip2.spec | 384 ++++++++++++++++++++------------------------ 1 file changed, 177 insertions(+), 207 deletions(-) diff --git a/SPECS/libosip2.spec b/SPECS/libosip2.spec index f1e1dcd..18911b3 100644 --- a/SPECS/libosip2.spec +++ b/SPECS/libosip2.spec @@ -1,242 +1,212 @@ -%define major 15 -%define libname %{name}-libs -%define libname_devel %{name}-devel - -Summary: Implementation of SIP - rfc3261 -Name: libosip2 -Version: 5.3.1 -Release: 1%{?dist}.inferit -License: LGPLv2+ -Group: System/Libraries -URL: https://savannah.gnu.org/projects/osip/ -Source0: https://ftp.gnu.org/gnu/osip/%{name}-%{version}.tar.gz -BuildRequires: autoconf -BuildRequires: automake -BuildRequires: libtool +Name: libosip2 +Version: 5.3.1 +Release: 1%{?dist}.inferit.1 +Summary: oSIP is an implementation of SIP +License: LGPL-2.0-or-later + +URL: https://www.gnu.org/software/osip/ + +Source0: https://ftp.gnu.org/gnu/osip/%{name}-%{version}.tar.gz + +BuildRequires: autoconf +BuildRequires: automake +BuildRequires: gcc +BuildRequires: libtool +BuildRequires: make %description -This is the oSIP library. It has been designed to provide the -Internet Community a simple way to support the Session Initiation -Protocol. SIP is described in the RFC3261 which is available at -https://www.ietf.org/rfc/rfc3261.txt - -%package -n %{libname} -Summary: Implementation of SIP - rfc2543 -Group: System/Libraries -Obsoletes: %{libname} < %version -Obsoletes: %{_lib}osip2_4 < %version -Conflicts: %{_lib}osip2_7 < %version - -%description -n %{libname} -This is the oSIP library. It has been designed to provide the -Internet Community a simple way to support the Session Initiation -Protocol. SIP is described in the RFC3261 which is available at -https://www.ietf.org/rfc/rfc3261.txt - -%package -n %{libname_devel} -Summary: Header file required to build programs using liboSIP -Group: Development/C -Requires: %{libname} = %{version}-%{release} -Provides: %{name}-devel = %{version}-%{release} - -%description -n %{libname_devel} -Developments files for %{libname} (oSIP Library). Needed to build -apps such as linphone and siproxd. +oSIP is an implementation of SIP. + +SIP stands for the Session Initiation Protocol and is described by the rfc3261 +(wich deprecates rfc2543). This library aims to provide multimedia and telecom +software developers an easy and powerful interface to initiate and control SIP +based sessions in their applications. SIP is a open standard replacement from +IETF for H.323. + +%package devel +Summary: Development libraries for oSIP +Requires: %{name}%{?_isa} = %{version}-%{release} + +%description devel +The GNU oSIP library is written in C and get no dependencies except the +standard C library. oSIP is thread safe and will generally be used in a +multi-threaded application. Nevertheless, this is optional. + +oSIP is little in size and code and thus could be use to implement IP +soft-phone as well as embedded SIP software. oSIP is not limited to endpoint +agents, and can also be used to implement "SIP proxy". + +oSIP does not intend to provide a high layer API for controlling "SIP Session" +at this step. Instead, it currently provides an API for the SIP message parser, +SDP message parser, and library to handle "SIP transactions" as defined by the +SIP document. %prep -%setup -q -%autopatch -p1 +%autosetup %build -autoreconf -fi -Iscripts +autoreconf -fi -I scripts %configure --disable-static %make_build %install %make_install +# Remove .la files. +find %{buildroot} -type f -name "*.la" -exec rm -f {} ';' + +# Rename and move manpage. mv %{buildroot}%{_mandir}/man1/osip.1 %{buildroot}%{_mandir}/man1/osip2.1 -# don't ship .a, .la -rm -f %{buildroot}%{_libdir}/*.la +%ldconfig_scriptlets -%files -n %{libname} -%doc AUTHORS BUGS ChangeLog NEWS README TODO -%{_libdir}/*.so.%{major}{,.*} -%{_mandir}/man1/* +%files +%doc AUTHORS BUGS COPYING ChangeLog FEATURES HISTORY NEWS README TODO +%{_libdir}/libosip2.so.15* +%{_libdir}/libosipparser2.so.15* -%files -n %{libname_devel} -%{_libdir}/*.so +%files devel %{_includedir}/osip2 %{_includedir}/osipparser2 -%{_libdir}/pkgconfig/*.pc - +%{_libdir}/libosip2.so +%{_libdir}/libosipparser2.so +%{_libdir}/pkgconfig/libosip2.pc +%{_mandir}/man1/osip2.1* %changelog -* Thu May 30 2024 Sergey Cherevko 5.3.1-1.inferit -- Rebuilt for MSVSphere 9.4 - -* Mon Oct 17 2022 ns80 5.3.1-1.mga9 -+ Revision: 1897212 -- new version 5.3.1 for CVE-2022-41550 (mga#30963) - -* Tue Mar 15 2022 umeabot 5.0.0-5.mga9 -+ Revision: 1792051 -- Mageia 9 Mass Rebuild - -* Thu Feb 13 2020 umeabot 5.0.0-4.mga8 -+ Revision: 1514349 -- Mageia 8 Mass Rebuild -+ wally -- replace deprecated %%configure2_5x - -* Sun Sep 23 2018 umeabot 5.0.0-3.mga7 -+ Revision: 1299075 -- Mageia 7 Mass Rebuild -+ kekepower -- Use new make macros - -* Sun Apr 30 2017 neoclust 5.0.0-2.mga6 -+ Revision: 1098124 -- Add P0 - Fix upstream bugreport 109265 - -* Sun Apr 30 2017 neoclust 5.0.0-1.mga6 -+ Revision: 1098111 -- New version - Fixes CVE-2016-1032[4-6] and CVE-2017-7853 (mga#20758) - -* Tue Feb 02 2016 umeabot 4.0.0-5.mga6 -+ Revision: 932144 -- Mageia 6 Mass Rebuild - -* Wed Oct 15 2014 umeabot 4.0.0-4.mga5 -+ Revision: 742196 -- Second Mageia 5 Mass Rebuild - -* Tue Sep 16 2014 umeabot 4.0.0-3.mga5 -+ Revision: 681692 -- Mageia 5 Mass Rebuild - -* Sat Oct 19 2013 umeabot 4.0.0-2.mga4 -+ Revision: 528842 -- Mageia 4 Mass Rebuild - -* Fri Jun 28 2013 fwang 4.0.0-1.mga4 -+ Revision: 447670 -- new version 4.0.0 - -* Sat Jan 12 2013 umeabot 3.6.0-2.mga3 -+ Revision: 357939 -- Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild - -* Mon Dec 26 2011 fwang 3.6.0-1.mga2 -+ Revision: 187827 -- new version 3.6.0 -- new version 3.5.0 - -* Thu Jan 20 2011 ahmad 3.3.0-3.mga1 -+ Revision: 26953 -- don't ship .a, .la -- drop old/unneeded scriptlets -- imported package libosip2 - - -* Sun Nov 28 2010 Oden Eriksson 3.3.0-2mdv2011.0 -+ Revision: 602593 -- rebuild - -* Mon Mar 22 2010 Emmanuel Andry 3.3.0-1mdv2010.1 -+ Revision: 526639 -- New version 3.3.0 - -* Tue Mar 16 2010 Oden Eriksson 3.2.0-3mdv2010.1 -+ Revision: 520895 -- rebuilt for 2010.1 - -* Wed Sep 02 2009 Christophe Fergeau 3.2.0-2mdv2010.0 -+ Revision: 425683 -- rebuild - -* Thu Feb 19 2009 Emmanuel Andry 3.2.0-1mdv2009.1 -+ Revision: 342736 -- New version 3.2.0 -- New major 4 -- diff P0 to fix str fmt - -* Wed Aug 06 2008 Thierry Vignaud 3.1.0-3mdv2009.0 -+ Revision: 264852 -- rebuild early 2009.0 package (before pixel changes) - - + Pixel - - do not call ldconfig in %%post/%%postun, it is now handled by filetriggers - -* Wed May 28 2008 Funda Wang 3.1.0-2mdv2009.0 -+ Revision: 212620 -- Obsoletes old wrong package name - -* Wed May 28 2008 Funda Wang 3.1.0-1mdv2009.0 -+ Revision: 212528 -- New version 3.1. - -* Mon Feb 18 2008 Thierry Vignaud 3.0.3-4mdv2008.1 -+ Revision: 170952 -- rebuild -- fix "foobar is blabla" summary (=> "blabla") so that it looks nice in rpmdrake - -* Thu Jan 24 2008 Colin Guthrie 3.0.3-3mdv2008.1 -+ Revision: 157636 -- Fix self obsoleting devel package - -* Thu Jan 24 2008 Colin Guthrie 3.0.3-2mdv2008.1 -+ Revision: 157486 -- Bump release for buildsystem lock. -- Conform to new library policy -- Update to 3.0.3 +* Fri May 31 2024 Arkady L. Shane - 5.3.1-1.inferit.1 +- Copy spec from EPEL9 + +* Thu Mar 09 2023 Phil Wyett - 5.3.1-1 +- New upstream version 5.3.1. + +* Thu Jan 19 2023 Fedora Release Engineering - 3.6.0-25 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Thu Jul 21 2022 Fedora Release Engineering - 3.6.0-24 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Fri Apr 22 2022 Petr Pisar - 3.6.0-23 +- Regenerate autotools scripts (bug #1987654) + +* Thu Jan 20 2022 Fedora Release Engineering - 3.6.0-22 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Thu Jul 22 2021 Fedora Release Engineering - 3.6.0-21 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Tue Jan 26 2021 Fedora Release Engineering - 3.6.0-20 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Tue Jul 28 2020 Fedora Release Engineering - 3.6.0-19 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Wed Jan 29 2020 Fedora Release Engineering - 3.6.0-18 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Thu Jul 25 2019 Fedora Release Engineering - 3.6.0-17 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild - + Thierry Vignaud - - rebuild - - kill re-definition of %%buildroot on Pixel's request +* Fri Feb 01 2019 Fedora Release Engineering - 3.6.0-16 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild - + Olivier Blin - - restore BuildRoot +* Fri Jul 13 2018 Fedora Release Engineering - 3.6.0-15 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild +* Wed Feb 07 2018 Fedora Release Engineering - 3.6.0-14 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild -* Tue Mar 27 2007 Oden Eriksson 2.2.2-3mdv2007.1 -+ Revision: 148965 -- fix #28156 ;) +* Thu Aug 03 2017 Fedora Release Engineering - 3.6.0-13 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild -* Mon Dec 11 2006 Oden Eriksson 2.2.2-2mdv2007.1 -+ Revision: 94967 -- rebuild -- fix deps +* Wed Jul 26 2017 Fedora Release Engineering - 3.6.0-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Fri Feb 10 2017 Fedora Release Engineering - 3.6.0-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Thu Feb 04 2016 Fedora Release Engineering - 3.6.0-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Wed Jun 17 2015 Fedora Release Engineering - 3.6.0-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Sun Aug 17 2014 Fedora Release Engineering - 3.6.0-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + +* Sat Jun 07 2014 Fedora Release Engineering - 3.6.0-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Sat Aug 03 2013 Fedora Release Engineering - 3.6.0-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Sat Mar 23 2013 Alexey Kurov - 3.6.0-5 +- add aarch64 patch (#925852) + +* Thu Feb 14 2013 Fedora Release Engineering - 3.6.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Thu Jul 19 2012 Fedora Release Engineering - 3.6.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Fri Jan 13 2012 Fedora Release Engineering - 3.6.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Mon Dec 26 2011 Alexey Kurov - 3.6.0-1 +- libosip2-3.6.0 + +* Fri Sep 2 2011 Alexey Kurov - 3.5.0-1 +- libosip2-3.5.0 + +* Tue Feb 08 2011 Fedora Release Engineering - 3.1.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Fri Jul 24 2009 Fedora Release Engineering - 3.1.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Wed Feb 25 2009 Fedora Release Engineering - 3.1.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Thu Feb 14 2008 Jeffrey C. Ollie - 3.1.0-1 +- Update to 3.1.0. + +* Fri Jan 25 2008 Jeffrey C. Ollie - 3.0.3-3 +- Update to new patchlevel release. + +* Tue Aug 28 2007 Jeffrey C. Ollie - 3.0.3-2 +- Bump release. + +* Tue Aug 28 2007 Jeffrey C. Ollie - 3.0.3-1 +- Update to 3.0.3 +- Update license tag. -* Mon Dec 11 2006 Oden Eriksson 2.2.2-1mdv2007.1 -+ Revision: 94759 -- Import libosip2 +* Wed Nov 22 2006 Jeffrey C. Ollie - 3.0.1-2 +- Bump release and rebuild -* Sat Dec 03 2005 Austin Acton 2.2.2-1mdk -- New release 2.2.2 +* Sat Nov 11 2006 Jeffrey C. Ollie - 3.0.1-1 +- Update to 3.0.1 and remove unnecessary patch. -* Thu Mar 31 2005 Oden Eriksson 2.2.0-3mdk -- make it lib64 friendly +* Wed Aug 30 2006 Jeffrey C. Ollie - 2.2.2-4 +- Bump release and rebuild. -* Tue Mar 22 2005 Frederic Lepied 2.2.0-2mdk -- final 2.2.0 +* Thu Feb 23 2006 Ignacio Vazquez-Abrams 2.2.2-3 +- Fix for AMD64 -* Wed Feb 09 2005 Austin Acton 2.2.0-1mdk -- 2.2.0 -- fix source URL -- remove build hacks +* Mon Feb 13 2006 Ignacio Vazquez-Abrams 2.2.2-2 +- Rebuild for Fedora Extras 5 -* Fri Dec 24 2004 Oden Eriksson 2.0.9-2mdk -- fix man page file clash +* Thu Dec 22 2005 Ignacio Vazquez-Abrams 2.2.2-1 +- Upstream update -* Fri Dec 24 2004 Oden Eriksson 2.0.9-1mdk -- 2.0.9 -- used the libosip spec file +* Sat Oct 15 2005 Ignacio Vazquez-Abrams 2.2.1-1 +- Upstream update +- Disable static library -* Tue Sep 21 2004 Lenny Cartier 0.9.7-5mdk -- back +* Thu Apr 7 2005 Michael Schwendt +- rebuilt -* Fri Aug 20 2004 Lenny Cartier 0.9.7-4mdk -- 0.9.7 +* Thu Mar 24 2005 Ignacio Vazquez-Abrams 2.2.0-2 +- Renamed osip.1 and moved to -devel +* Thu Mar 24 2005 Ignacio Vazquez-Abrams 2.2.0-1 +- Initial RPM release.