belle-sip/belle-sip.spec

125 lines
3.8 KiB
RPMSpec

Name: belle-sip
Version: 5.2.111
Release: 1mamba
Summary: A SIP (RFC3261) implementation written in C, with an object oriented API.
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://www.linphone.org
Source: https://github.com/BelledonneCommunications/belle-sip.git/%{version}/%{name}-%{version}.tar.bz2
Patch0: belle-sip-1.5.0-fix-internal-includes.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libbctoolbox-devel
BuildRequires: libbelr-devel
BuildRequires: libgcc
BuildRequires: libstdc++6-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
BuildRequires: libbelr-devel
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
%description
Belle-sip is a SIP (RFC3261) implementation written in C, with an object oriented API.
%package -n lib%{name}
Group: System/Libraries
Summary: Shared libraries for %{name}
%description -n lib%{name}
This package contains shared libraries for %{name}.
%package -n lib%{name}-devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires: pkg-config
%description -n lib%{name}-devel
This package contains libraries and header files for developing applications that use %{name}.
%debug_package
%prep
%setup -q
%build
export CC=/usr/bin/clang
export CXX=/usr/bin/clang++
%cmake -d build \
-DENABLE_TESTS=OFF
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -n lib%{name} -p /sbin/ldconfig
%postun -n lib%{name} -p /sbin/ldconfig
%files -n lib%{name}
%defattr(-,root,root)
%{_libdir}/libbellesip.so.*
%dir %{_datadir}/belr
%dir %{_datadir}/belr/grammars
%{_datadir}/belr/grammars/sdp_grammar
%doc LICENSE.txt
%files -n lib%{name}-devel
%defattr(-,root,root)
%dir %{_includedir}/belle-sip
%{_includedir}/belle-sip/*.h
%{_includedir}/belle-sip/*.hh
%{_libdir}/libbellesip.so
%{_libdir}/libbellesip.a
%dir %{_libdir}/cmake/BelleSIP
%{_libdir}/cmake/BelleSIP/BelleSIP*.cmake
%{_libdir}/pkgconfig/belle-sip.pc
%changelog
* Wed Nov 29 2023 Automatic Build System <autodist@mambasoft.it> 5.2.111-1mamba
- automatic version update by autodist
* Mon Jun 28 2021 Automatic Build System <autodist@mambasoft.it> 4.5.22-1mamba
- automatic version update by autodist
* Thu Jun 17 2021 Automatic Build System <autodist@mambasoft.it> 4.5.20-1mamba
- automatic version update by autodist
* Sat May 15 2021 Automatic Build System <autodist@mambasoft.it> 4.5.15-1mamba
- automatic version update by autodist
* Tue May 11 2021 Automatic Build System <autodist@mambasoft.it> 4.5.14-1mamba
- automatic version update by autodist
* Fri May 07 2021 Automatic Build System <autodist@mambasoft.it> 4.5.10-1mamba
- automatic version update by autodist
* Tue Sep 05 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 1.6.3-1mamba
- update to 1.6.3
* Sun Dec 18 2016 Automatic Build System <autodist@mambasoft.it> 1.5.0-1mamba
- automatic version update by autodist
* Tue Nov 03 2015 Automatic Build System <autodist@mambasoft.it> 1.4.2-1mamba
- automatic version update by autodist
* Mon Jun 08 2015 Automatic Build System <autodist@mambasoft.it> 1.4.1-1mamba
- automatic update by autodist
* Wed Mar 18 2015 Automatic Build System <autodist@mambasoft.it> 1.4.0-1mamba
- automatic version update by autodist
* Sun Jul 13 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.0-2mamba
- rebuilt by autoport with build requirements: libpolarssl-devel>=1.3.8-1mamba
* Sat Mar 08 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.0-1mamba
- package created using the webbuild interface