]> git.pld-linux.org Git - packages/bzrtp.git/blobdiff - bzrtp.spec
- updated to 4.4.0 (GPL v3+ now)
[packages/bzrtp.git] / bzrtp.spec
index 0a202d890db96dcfe712e5fbc2660c333e4d34b8..05f8f36151778ecd4cd4f44109a5c68a81372a55 100644 (file)
@@ -1,4 +1,3 @@
-# TODO: switch to mbledtls when 2.x is supported (mbed_ssl_init instead of ssl_init)
 #
 # Conditional build:
 %bcond_without static_libs     # static library
@@ -6,20 +5,25 @@
 Summary:       Open source implementation of ZRTP keys exchange protocol
 Summary(pl.UTF-8):     Mająca otwarte źródła implementacja protokołu wymiany kluczy ZRTP
 Name:          bzrtp
-Version:       1.0.6
+Version:       4.4.0
 Release:       1
-License:       GPL v2+
+License:       GPL v3+
 Group:         Libraries
-Source0:       http://linphone.org/releases/sources/bzrtp/%{name}-%{version}.tar.gz
-# Source0-md5: e77a6b074bb810a02cc77a1df776fb79
+#Source0Download: https://gitlab.linphone.org/BC/public/bzrtp/tags
+Source0:       https://gitlab.linphone.org/BC/public/bzrtp/-/archive/%{version}/%{name}-%{version}.tar.bz2
+# Source0-md5: 981738ec9161c2a4c5220605ed4cbb71
 URL:           http://www.linphone.org/
 BuildRequires: CUnit
 BuildRequires: autoconf >= 2.63
 BuildRequires: automake
+BuildRequires: bctoolbox-devel >= 4.4.0
 BuildRequires: libtool >= 2:2
 BuildRequires: libxml2-devel >= 2.0
-BuildRequires: polarssl-devel
 BuildRequires: pkgconfig
+BuildRequires: rpmbuild(macros) >= 1.748
+BuildRequires: sqlite3-devel >= 3.6.0
+Requires:      bctoolbox >= 4.4.0
+Requires:      sqlite3 >= 3.6.0
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -65,8 +69,10 @@ Statyczna biblioteka bzrtp.
 %{__aclocal} -I m4
 %{__autoconf}
 %{__automake}
+%if %{_ver_ge "%{cc_version}" "8.0"}
+CPPFLAGS="%{rpmcppflags} -Wno-error=cast-function-type"
+%endif
 %configure \
-       CPPFLAGS="%{rpmcppflags} -Wno-error=cast-function-type" \
        --disable-silent-rules \
        %{?with_static_libs:--enable-static}
 
@@ -89,7 +95,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc AUTHORS NEWS README.md
+%doc CHANGELOG.md README.md
 %attr(755,root,root) %{_libdir}/libbzrtp.so.*.*.*
 %attr(755,root,root) %ghost %{_libdir}/libbzrtp.so.0
 
This page took 0.096703 seconds and 4 git commands to generate.