|
|
@ -1,17 +1,16 @@
|
|
|
|
%global commit f1b83c10d8beb43fcc70a6e88cf4325499f25857
|
|
|
|
%global commit 6f6bb1353fc84f4cc37138baa99f586750028a01
|
|
|
|
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
|
|
|
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
|
|
|
%global gitdate 20210219
|
|
|
|
%global gitdate 20240301
|
|
|
|
|
|
|
|
|
|
|
|
Name: rtmpdump
|
|
|
|
Name: rtmpdump
|
|
|
|
Version: 2.4
|
|
|
|
Version: 2.6
|
|
|
|
Release: 24.%{gitdate}.git%{shortcommit}%{?dist}
|
|
|
|
Release: 1.%{gitdate}.git%{shortcommit}%{?dist}
|
|
|
|
Summary: Toolkit for RTMP streams
|
|
|
|
Summary: Toolkit for RTMP streams
|
|
|
|
|
|
|
|
|
|
|
|
# The tools are GPLv2+. The library is LGPLv2+, see below.
|
|
|
|
# The tools are GPLv2+. The library is LGPLv2+, see below.
|
|
|
|
License: GPLv2+
|
|
|
|
License: GPLv2+
|
|
|
|
URL: https://rtmpdump.mplayerhq.hu/
|
|
|
|
URL: https://rtmpdump.mplayerhq.hu/
|
|
|
|
Source0: https://git.ffmpeg.org/gitweb/rtmpdump.git/snapshot/%{commit}.tar.gz#/rtmpdump-%{shortcommit}.tar.gz
|
|
|
|
Source0: https://git.ffmpeg.org/gitweb/rtmpdump.git/snapshot/%{commit}.tar.gz#/rtmpdump-%{shortcommit}.tar.gz
|
|
|
|
Patch0: gcc14_buildfix.patch
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: gcc
|
|
|
|
BuildRequires: gcc
|
|
|
|
BuildRequires: gnutls-devel
|
|
|
|
BuildRequires: gnutls-devel
|
|
|
@ -48,7 +47,7 @@ contains include files needed to develop applications using librtmp.
|
|
|
|
|
|
|
|
|
|
|
|
%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 SYS=posix CRYPTO=GNUTLS SHARED=yes OPT="%{optflags}" LIB_GNUTLS="-lgnutls -lgcrypt -ldl -lz"
|
|
|
|
make SYS=posix CRYPTO=GNUTLS SHARED=yes OPT="%{optflags}" LIB_GNUTLS="-lgnutls -lgcrypt -ldl -lz -lgmp -lnettle -lhogweed"
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
make CRYPTO=GNUTLS SHARED=yes DESTDIR=%{buildroot} prefix=%{_prefix} mandir=%{_mandir} libdir=%{_libdir} install
|
|
|
|
make CRYPTO=GNUTLS SHARED=yes DESTDIR=%{buildroot} prefix=%{_prefix} mandir=%{_mandir} libdir=%{_libdir} install
|
|
|
@ -78,6 +77,10 @@ rm -f %{buildroot}%{_libdir}/librtmp.a
|
|
|
|
%{_mandir}/man3/librtmp.3*
|
|
|
|
%{_mandir}/man3/librtmp.3*
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Mon Dec 30 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 2.6-1.20240301.git6f6bb13
|
|
|
|
|
|
|
|
- Update to 2.6 20240301.git6f6bb13
|
|
|
|
|
|
|
|
- Added -lnettle -lhogweed to linker
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Dec 23 2024 Dmitriy Samoylik <samoylikdv@msvsphere-os.ru> - 2.4-24.20210219.gitf1b83c1
|
|
|
|
* Mon Dec 23 2024 Dmitriy Samoylik <samoylikdv@msvsphere-os.ru> - 2.4-24.20210219.gitf1b83c1
|
|
|
|
- Rebuilt for MSVSphere 10
|
|
|
|
- Rebuilt for MSVSphere 10
|
|
|
|
|
|
|
|
|
|
|
|