diff --git a/rtmpdump-link-gcrypt.patch b/rtmpdump-link-gcrypt.patch new file mode 100644 index 0000000..9d3e898 --- /dev/null +++ b/rtmpdump-link-gcrypt.patch @@ -0,0 +1,28 @@ +Author: hyc +Date: Sun Apr 18 21:41:36 2010 +New Revision: 435 + +Log: +Windows GNUTLS needs explicit -lgcrypt + +Modified: + trunk/Makefile + +Modified: trunk/Makefile +============================================================================== +--- trunk/Makefile Sun Apr 18 21:32:42 2010 (r434) ++++ trunk/Makefile Sun Apr 18 21:41:36 2010 (r435) +@@ -5,7 +5,7 @@ LD=$(CROSS_COMPILE)ld + + CRYPTO=OPENSSL + #CRYPTO=GNUTLS +-LIB_GNUTLS=-lgnutls ++LIB_GNUTLS=-lgnutls -lgcrypt + LIB_OPENSSL=-lssl -lcrypto + CRYPTO_LIB=$(LIB_$(CRYPTO)) + DEF_=-DNO_CRYPTO +_______________________________________________ +rtmpdump mailing list +rtmpdump@mplayerhq.hu +https://lists.mplayerhq.hu/mailman/listinfo/rtmpdump + diff --git a/rtmpdump.spec b/rtmpdump.spec index b59e42f..aa2790e 100644 --- a/rtmpdump.spec +++ b/rtmpdump.spec @@ -1,6 +1,6 @@ Name: rtmpdump Version: 2.2c -Release: 1%{?dist} +Release: 2%{?dist} Summary: Toolkit for RTMP streams Group: Applications/Internet @@ -10,6 +10,7 @@ License: GPLv2+ # label its licence correctly. But the _tools_ are GPLv2. URL: http://rtmpdump.mplayerhq.hu/ Source0: http://rtmpdump.mplayerhq.hu/download/rtmpdump-%{version}.tar.gz +Patch1: rtmpdump-link-gcrypt.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: gnutls-devel zlib-devel @@ -20,6 +21,7 @@ including rtmp://, rtmpt://, rtmpe://, rtmpte://, and rtmps://. %prep %setup -q +%patch1 -p1 %build make CRYPTO=GNUTLS OPT="$RPM_OPT_FLAGS" progs @@ -54,5 +56,8 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Tue Apr 20 2010 David Woodhouse 2.2c-2 +- Link with libgcrypt explicitly since we call it directly + * Mon Apr 19 2010 David Woodhouse 2.2c-1 - Initial package