bctoolbox/bctoolbox.spec

161 lines
5.2 KiB
RPMSpec

Name: bctoolbox
Version: 5.0.53
Release: 1mamba
Summary: Utilities library used by Belledonne Communications softwares like belle-sip, mediastreamer2 and linphone
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://linphone.org
Source: https://github.com/BelledonneCommunications/bctoolbox.git/%{version}/bctoolbox-%{version}.tar.bz2
Patch0: bctoolbox-0.6.0-ftbfs-arm.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libbcunit-devel
BuildRequires: libgcc
BuildRequires: libmbedtls-devel
BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END
BuildRequires: cmake
BuildRequires: libbcunit-devel >= 3.0.2.20200229git-2mamba
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
%description
Utilities library used by Belledonne Communications softwares like belle-sip, mediastreamer2 and linphone.
%package -n lib%{name}
Group: System/Libraries
Summary: Utilities library used by Belledonne Communications softwares like belle-sip, mediastreamer2 and linphone
%description -n lib%{name}
Utilities library used by Belledonne Communications softwares like belle-sip, mediastreamer2 and linphone.
%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
#%ifarch arm
#% patch0 -p1
#%endif
%build
export CC=/usr/bin/clang
export CXX=/usr/bin/clang++
%cmake -d build \
-DENABLE_STRICT=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}/libbctoolbox-tester.so.*
%{_libdir}/libbctoolbox.so.*
%doc LICENSE.txt
%files -n lib%{name}-devel
%defattr(-,root,root)
%dir %{_includedir}/bctoolbox
%{_includedir}/bctoolbox/*
%{_libdir}/libbctoolbox-tester.a
%{_libdir}/libbctoolbox-tester.so
%{_libdir}/libbctoolbox.a
%{_libdir}/libbctoolbox.so
%dir %{_datadir}/bctoolbox
%dir %{_datadir}/bctoolbox/cmake
%{_datadir}/bctoolbox/cmake/*.cmake
%{_datadir}/bctoolbox/cmake/gitversion.h.in
%{_libdir}/pkgconfig/bctoolbox-tester.pc
%{_libdir}/pkgconfig/bctoolbox.pc
%changelog
* Sun Nov 28 2021 Automatic Build System <autodist@mambasoft.it> 5.0.53-1mamba
- automatic version update by autodist
* Thu Oct 21 2021 Automatic Build System <autodist@mambasoft.it> 5.0.37-1mamba
- automatic version update by autodist
* Fri Oct 15 2021 Automatic Build System <autodist@mambasoft.it> 5.0.35-1mamba
- automatic version update by autodist
* Fri Oct 08 2021 Automatic Build System <autodist@mambasoft.it> 5.0.32-1mamba
- automatic version update by autodist
* Thu Sep 30 2021 Automatic Build System <autodist@mambasoft.it> 5.0.28-1mamba
- automatic version update by autodist
* Sat Sep 25 2021 Automatic Build System <autodist@mambasoft.it> 5.0.26-1mamba
- automatic version update by autodist
* Thu Sep 23 2021 Automatic Build System <autodist@mambasoft.it> 5.0.24-1mamba
- automatic version update by autodist
* Fri Sep 17 2021 Automatic Build System <autodist@mambasoft.it> 5.0.23-1mamba
- automatic version update by autodist
* Thu Sep 16 2021 Automatic Build System <autodist@mambasoft.it> 5.0.22-1mamba
- automatic version update by autodist
* Mon Sep 06 2021 Automatic Build System <autodist@mambasoft.it> 5.0.18-1mamba
- automatic version update by autodist
* Thu Sep 02 2021 Automatic Build System <autodist@mambasoft.it> 5.0.15-1mamba
- automatic version update by autodist
* Tue Aug 31 2021 Automatic Build System <autodist@mambasoft.it> 5.0.13-1mamba
- automatic version update by autodist
* Tue Aug 10 2021 Automatic Build System <autodist@mambasoft.it> 5.0.5-1mamba
- automatic version update by autodist
* Fri Jul 30 2021 Automatic Build System <autodist@mambasoft.it> 5.0.3-1mamba
- automatic version update by autodist
* Fri Jul 09 2021 Automatic Build System <autodist@mambasoft.it> 5.0.0-1mamba
- automatic version update by autodist
* Fri Jun 25 2021 Automatic Build System <autodist@mambasoft.it> 4.5.22-1mamba
- automatic version update by autodist
* Tue Jun 15 2021 Automatic Build System <autodist@mambasoft.it> 4.5.20-1mamba
- automatic version update by autodist
* Fri May 14 2021 Automatic Build System <autodist@mambasoft.it> 4.5.15-1mamba
- automatic version update by autodist
* Fri May 07 2021 Automatic Build System <autodist@mambasoft.it> 4.5.13-1mamba
- automatic version update by autodist
* Sat Feb 29 2020 Automatic Build System <autodist@mambasoft.it> 4.3.1-1mamba
- automatic version update by autodist
* Mon Oct 02 2017 Automatic Build System <autodist@mambasoft.it> 0.6.0-1mamba
- automatic version update by autodist
* Sat Mar 18 2017 Automatic Build System <autodist@mambasoft.it> 0.5.1-1mamba
- automatic version update by autodist
* Sat Dec 17 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4.0-1mamba
- package created using the webbuild interface