Hello community, here is the log from the commit of package bzrtp for openSUSE:Factory checked in at 2016-09-30 15:23:03 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/bzrtp (Old) and /work/SRC/openSUSE:Factory/.bzrtp.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "bzrtp" Changes: -------- --- /work/SRC/openSUSE:Factory/bzrtp/bzrtp.changes 2015-11-24 22:30:51.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.bzrtp.new/bzrtp.changes 2016-09-30 15:23:06.000000000 +0200 @@ -1,0 +2,19 @@ +Tue Sep 13 12:54:30 UTC 2016 - [email protected] + +- Switch to building with CMake. +- Add bzrtp-fix-pkgconfig.patch: Install libbzrtp.pc on CMake. + +------------------------------------------------------------------- +Mon Sep 12 12:32:34 UTC 2016 - [email protected] + +- Update to version 1.0.4: + * Build system fixes. + * Security fix. +- Remove mbedtls2.patch. + +------------------------------------------------------------------- +Fri Aug 12 10:12:26 UTC 2016 - [email protected] + +- Add mbedtls2.patch to fix building with mbedtls2 + +------------------------------------------------------------------- Old: ---- bzrtp-1.0.3.tar.gz New: ---- bzrtp-1.0.4.tar.gz bzrtp-fix-pkgconfig.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ bzrtp.spec ++++++ --- /var/tmp/diff_new_pack.fts6pQ/_old 2016-09-30 15:23:08.000000000 +0200 +++ /var/tmp/diff_new_pack.fts6pQ/_new 2016-09-30 15:23:08.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package bzrtp # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,16 +18,20 @@ %define lname libbzrtp0 Name: bzrtp -Version: 1.0.3 +Version: 1.0.4 Release: 0 Summary: ZRTP keys exchange protocol implementation License: GPL-2.0+ Group: System/Libraries -Url: https://linphone.org/ -Source0: http://download.savannah.gnu.org/releases/linphone/%{name}/%{name}-%{version}.tar.gz +Url: https://www.linphone.org/ +Source: https://linphone.org/releases/sources/%{name}/%{name}-%{version}.tar.gz Source1: baselibs.conf -BuildRequires: mbedtls-devel -BuildRequires: pkg-config +# PATCH-FIX-OPENSUSE bzrtp-fix-pkgconfig.patch [email protected] -- Install libbzrtp.pc. +Patch0: bzrtp-fix-pkgconfig.patch +BuildRequires: cmake +BuildRequires: gcc-c++ +BuildRequires: pkgconfig +BuildRequires: pkgconfig(bctoolbox) BuildRequires: pkgconfig(libxml-2.0) %description @@ -56,15 +60,16 @@ %prep %setup -q +%patch0 -p1 %build -%configure \ - --disable-strict -make %{?_smp_mflags} V=1 +%cmake \ + -DENABLE_STATIC=OFF \ + -DENABLE_STRICT=OFF +make %{?_smp_mflags} %install -%make_install -find %{buildroot} -type f -name "*.la" -delete -print +%cmake_install %post -n %{lname} -p /sbin/ldconfig @@ -78,6 +83,7 @@ %files devel %defattr(-,root,root) %{_includedir}/%{name}/ +%{_datadir}/%{name}/ %{_libdir}/lib%{name}.so %{_libdir}/pkgconfig/lib%{name}.pc ++++++ bzrtp-1.0.3.tar.gz -> bzrtp-1.0.4.tar.gz ++++++ ++++ 27624 lines of diff (skipped) ++++++ bzrtp-fix-pkgconfig.patch ++++++ --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -80,6 +80,16 @@ configure_file(${CMAKE_CURRENT_SOURCE_DI set_source_files_properties(${CMAKE_CURRENT_BINARY_DIR}/config.h PROPERTIES GENERATED ON) add_definitions("-DHAVE_CONFIG_H") + +set(PACKAGE_VERSION "${PROJECT_VERSION}") +set(prefix ${CMAKE_INSTALL_PREFIX}) +set(exec_prefix ${prefix}/bin) +set(libdir ${CMAKE_INSTALL_LIBDIR}) +set(includedir ${prefix}/include) +configure_file(${CMAKE_CURRENT_SOURCE_DIR}/libbzrtp.pc.in ${CMAKE_CURRENT_BINARY_DIR}/libbzrtp.pc) +install(FILES ${CMAKE_CURRENT_BINARY_DIR}/libbzrtp.pc DESTINATION "${CMAKE_INSTALL_LIBDIR}/pkgconfig") + + set(STRICT_OPTIONS_CPP ) if(NOT MSVC) list(APPEND STRICT_OPTIONS_CPP "-Wall")
