|
|
|
@ -1,16 +1,16 @@
|
|
|
|
|
%global commit c5f04a58fc2aeea6296ca7c44ee4734c18401aa3
|
|
|
|
|
%global commit 6f6bb1353fc84f4cc37138baa99f586750028a01
|
|
|
|
|
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
|
|
|
|
%global gitdate 20190330
|
|
|
|
|
%global gitdate 20240301
|
|
|
|
|
|
|
|
|
|
Name: rtmpdump
|
|
|
|
|
Version: 2.4
|
|
|
|
|
Release: 21.%{gitdate}.git%{shortcommit}%{?dist}
|
|
|
|
|
Version: 2.6
|
|
|
|
|
Release: 1.%{gitdate}.git%{shortcommit}%{?dist}
|
|
|
|
|
Summary: Toolkit for RTMP streams
|
|
|
|
|
|
|
|
|
|
# The tools are GPLv2+. The library is LGPLv2+, see below.
|
|
|
|
|
License: GPLv2+
|
|
|
|
|
URL: http://rtmpdump.mplayerhq.hu/
|
|
|
|
|
Source0: http://repo.or.cz/w/rtmpdump.git/snapshot/%{commit}.tar.gz#/rtmpdump-%{shortcommit}.tar.gz
|
|
|
|
|
URL: https://rtmpdump.mplayerhq.hu/
|
|
|
|
|
Source0: https://git.ffmpeg.org/gitweb/rtmpdump.git/snapshot/%{commit}.tar.gz#/rtmpdump-%{shortcommit}.tar.gz
|
|
|
|
|
|
|
|
|
|
BuildRequires: gcc
|
|
|
|
|
BuildRequires: gnutls-devel
|
|
|
|
@ -43,11 +43,11 @@ librtmp is a support library for RTMP streams. The librtmp-devel package
|
|
|
|
|
contains include files needed to develop applications using librtmp.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q -n %{name}-%{shortcommit}
|
|
|
|
|
%autosetup -p1 -n %{name}-%{shortcommit}
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
# 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
|
|
|
|
|
make CRYPTO=GNUTLS SHARED=yes DESTDIR=%{buildroot} prefix=%{_prefix} mandir=%{_mandir} libdir=%{_libdir} install
|
|
|
|
@ -77,6 +77,23 @@ rm -f %{buildroot}%{_libdir}/librtmp.a
|
|
|
|
|
%{_mandir}/man3/librtmp.3*
|
|
|
|
|
|
|
|
|
|
%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
|
|
|
|
|
- Rebuilt for MSVSphere 10
|
|
|
|
|
|
|
|
|
|
* Sun Feb 04 2024 RPM Fusion Release Engineering <sergiomb@rpmfusion.org> - 2.4-24.20210219.gitf1b83c1
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Jul 28 2023 Nicolas Chauvet <kwizart@gmail.com> - 2.4-23.20210219.gitf1b83c1
|
|
|
|
|
- Switch git repo urls
|
|
|
|
|
|
|
|
|
|
* Sun Aug 07 2022 RPM Fusion Release Engineering <sergiomb@rpmfusion.org> - 2.4-22.20190330.gitc5f04a5
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild and ffmpeg
|
|
|
|
|
5.1
|
|
|
|
|
|
|
|
|
|
* Wed Feb 09 2022 RPM Fusion Release Engineering <sergiomb@rpmfusion.org> - 2.4-21.20190330.gitc5f04a5
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
|