|
|
@ -1,6 +1,9 @@
|
|
|
|
|
|
|
|
%define snapshot c58cfb3e
|
|
|
|
|
|
|
|
%define snapshot_date 20110811
|
|
|
|
|
|
|
|
|
|
|
|
Name: rtmpdump
|
|
|
|
Name: rtmpdump
|
|
|
|
Version: 2.3
|
|
|
|
Version: 2.4
|
|
|
|
Release: 2%{?dist}
|
|
|
|
Release: 0.1.%{snapshot_date}git%{snapshot}%{?dist}
|
|
|
|
Summary: Toolkit for RTMP streams
|
|
|
|
Summary: Toolkit for RTMP streams
|
|
|
|
|
|
|
|
|
|
|
|
Group: Applications/Internet
|
|
|
|
Group: Applications/Internet
|
|
|
@ -9,7 +12,7 @@ License: GPLv2+
|
|
|
|
# (for which you'd probably want to make it a dynamic library) you should
|
|
|
|
# (for which you'd probably want to make it a dynamic library) you should
|
|
|
|
# label its licence correctly. But the _tools_ are GPLv2.
|
|
|
|
# label its licence correctly. But the _tools_ are GPLv2.
|
|
|
|
URL: http://rtmpdump.mplayerhq.hu/
|
|
|
|
URL: http://rtmpdump.mplayerhq.hu/
|
|
|
|
Source0: http://rtmpdump.mplayerhq.hu/download/rtmpdump-%{version}.tgz
|
|
|
|
Source0: http://rtmpdump.mplayerhq.hu/download/rtmpdump-%{snapshot_date}-g%{snapshot}.tar.gz
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: gnutls-devel zlib-devel
|
|
|
|
BuildRequires: gnutls-devel zlib-devel
|
|
|
@ -38,12 +41,11 @@ librtmp is a suport library for RTMP streams. The librtmp-devel package
|
|
|
|
contains include files needed to develop applications using librtmp.
|
|
|
|
contains include files needed to develop applications using librtmp.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
%setup -q -n rtmpdump-%{snapshot_date}-g%{snapshot}
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
# The fact that we have to add -ldl for gnutls is Fedora bug #611318
|
|
|
|
# The fact that we have to add -ldl for gnutls is Fedora bug #611318
|
|
|
|
make CRYPTO=GNUTLS SHARED=yes OPT="$RPM_OPT_FLAGS" LIB_GNUTLS="-lgnutls -lgcrypt -ldl" LIBRTMP=librtmp/librtmp.so LIBS=
|
|
|
|
make CRYPTO=GNUTLS SHARED=yes OPT="$RPM_OPT_FLAGS" LIB_GNUTLS="-lgnutls -lgcrypt -ldl"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
@ -81,6 +83,9 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
|
%doc ChangeLog
|
|
|
|
%doc ChangeLog
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Mon Aug 29 2011 David Woodhouse <dwmw2@infradead.org> 2.4-0.1.20110811gitc58cfb3e
|
|
|
|
|
|
|
|
- Update to almost-2.4 snapshot
|
|
|
|
|
|
|
|
|
|
|
|
* Sun Jul 04 2010 Dominik Mierzejewski <rpm@greysector.net> 2.3-2
|
|
|
|
* Sun Jul 04 2010 Dominik Mierzejewski <rpm@greysector.net> 2.3-2
|
|
|
|
- call ldconfig in post(un) scripts for the shared library
|
|
|
|
- call ldconfig in post(un) scripts for the shared library
|
|
|
|
- add strict dependency on the library to -devel
|
|
|
|
- add strict dependency on the library to -devel
|
|
|
|