Browse Source

update version

Signed-off-by: Toshaan Bharvani <toshaan@powerel.org>
master
Toshaan Bharvani 2 weeks ago
parent
commit
8fce06527d
  1. 11
      SOURCES/gcc14_buildfix.patch
  2. 26
      SPECS/rtmpdump.spec

11
SOURCES/gcc14_buildfix.patch

@ -0,0 +1,11 @@
--- a/librtmp/hashswf.c
+++ b/librtmp/hashswf.c
@@ -25,6 +25,7 @@
#include <string.h>
#include <ctype.h>
#include <time.h>
+#include <limits.h>
#include "rtmp_sys.h"
#include "log.h"

26
SPECS/rtmpdump.spec

@ -1,16 +1,17 @@
%global commit c5f04a58fc2aeea6296ca7c44ee4734c18401aa3 %global commit f1b83c10d8beb43fcc70a6e88cf4325499f25857
%global shortcommit %(c=%{commit}; echo ${c:0:7}) %global shortcommit %(c=%{commit}; echo ${c:0:7})
%global gitdate 20190330 %global gitdate 20210219


Name: rtmpdump Name: rtmpdump
Version: 2.4 Version: 2.4
Release: 21.%{gitdate}.git%{shortcommit}%{?dist} Release: 25.%{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: http://rtmpdump.mplayerhq.hu/ URL: https://rtmpdump.mplayerhq.hu/
Source0: http://repo.or.cz/w/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
@ -43,7 +44,7 @@ librtmp is a support 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 -n %{name}-%{shortcommit} %autosetup -p1 -n %{name}-%{shortcommit}


%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
@ -77,6 +78,19 @@ rm -f %{buildroot}%{_libdir}/librtmp.a
%{_mandir}/man3/librtmp.3* %{_mandir}/man3/librtmp.3*


%changelog %changelog
* Fri Aug 02 2024 RPM Fusion Release Engineering <sergiomb@rpmfusion.org> - 2.4-25.20210219.gitf1b83c1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild

* 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 * 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 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild



Loading…
Cancel
Save