Author: sparky                       Date: Sun Jul 25 17:15:05 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- updated to: 2.3
- added gnutls bcond
- build with gnutls by default, because curl uses it

---- Files affected:
packages/rtmpdump:
   rtmpdump.spec (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: packages/rtmpdump/rtmpdump.spec
diff -u packages/rtmpdump/rtmpdump.spec:1.3 packages/rtmpdump/rtmpdump.spec:1.4
--- packages/rtmpdump/rtmpdump.spec:1.3 Sun Jun 27 17:07:34 2010
+++ packages/rtmpdump/rtmpdump.spec     Sun Jul 25 19:15:00 2010
@@ -1,17 +1,23 @@
 # $Revision$, $Date$
 #
+%bcond_without gnutls          # build with GNU TLS instead of OpenSSL (use 
same as curl)
+#
 Summary:       A utility for getting files from RTMP servers
 Name:          rtmpdump
-Version:       2.2e
+Version:       2.3
 Release:       1
 License:       GPL v2
 Group:         Applications/Networking
-Source0:       http://rtmpdump.mplayerhq.hu/download/%{name}-%{version}.tar.gz
-# Source0-md5: 10681c2fe41194a97d508d0e6bbfe74f
+Source0:       http://rtmpdump.mplayerhq.hu/download/%{name}-%{version}.tgz
+# Source0-md5: eb961f31cd55f0acf5aad1a7b900ef59
 Patch0:                %{name}-libtool.patch
 URL:           http://rtmpdump.mplayerhq.hu/
-BuildRequires: libtool
+%if %{with gnutls}
+BuildRequires: gnutls-devel
+%else
 BuildRequires: openssl-devel
+%endif
+BuildRequires: libtool
 BuildRequires: zlib-devel
 Requires:      librtmp = %{version}-%{release}
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -52,6 +58,7 @@
 
 %build
 %{__make} \
+       CRYPTO=%{?with_gnutls:GNUTLS}%{!?with_gnutls:OPENSSL} \
        libdir=%{_libdir} \
        CC="%{__cc}" \
        OPT="%{rpmcppflags} %{rpmcflags}" \
@@ -105,6 +112,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.4  2010/07/25 17:15:00  sparky
+- updated to: 2.3
+- added gnutls bcond
+- build with gnutls by default, because curl uses it
+
 Revision 1.3  2010/06/27 15:07:34  sparky
 - works, release: 1
 
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/rtmpdump/rtmpdump.spec?r1=1.3&r2=1.4&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to