|
@@ -1,5 +1,8 @@
|
|
|
|
+%define srcver 2.4
|
|
|
|
+%define gitdate 20140606
|
|
|
|
+
|
|
Name: rtmpdump
|
|
Name: rtmpdump
|
|
-Version: 2.3
|
|
|
|
|
|
+Version: %{srcver}.git%{gitdate}
|
|
Release: 1%{?_dist_release}
|
|
Release: 1%{?_dist_release}
|
|
Summary: Toolkit for RTMP streams
|
|
Summary: Toolkit for RTMP streams
|
|
|
|
|
|
@@ -9,10 +12,10 @@ 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: rtmpdump-%{srcver}-git%{gitdate}.tar.xz
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
-BuildRequires: gnutls-devel zlib-devel
|
|
|
|
|
|
+BuildRequires: gmp-devel gnutls-devel zlib-devel
|
|
|
|
|
|
%description
|
|
%description
|
|
rtmpdump is a toolkit for RTMP streams. All forms of RTMP are supported,
|
|
rtmpdump is a toolkit for RTMP streams. All forms of RTMP are supported,
|
|
@@ -38,11 +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 -c -n rtmpdump
|
|
|
|
|
|
%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" LIBRTMP=librtmp/librtmp.so
|
|
|
|
|
|
|
|
|
|
%install
|
|
%install
|
|
@@ -71,7 +74,7 @@ contains include files needed to develop applications using librtmp.
|
|
|
|
|
|
%files -n librtmp
|
|
%files -n librtmp
|
|
%defattr(-,root,root,-)
|
|
%defattr(-,root,root,-)
|
|
-%{_libdir}/librtmp.so.0
|
|
|
|
|
|
+%{_libdir}/librtmp.so.*
|
|
%doc librtmp/COPYING
|
|
%doc librtmp/COPYING
|
|
|
|
|
|
%files -n librtmp-devel
|
|
%files -n librtmp-devel
|
|
@@ -84,6 +87,9 @@ contains include files needed to develop applications using librtmp.
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Thu Jun 5 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.4.git20140606-1
|
|
|
|
+- updated sources to git master.
|
|
|
|
+
|
|
* Sat Mar 26 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2.3-1
|
|
* Sat Mar 26 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2.3-1
|
|
- initial build for VineSeed based on RPM Fusion development
|
|
- initial build for VineSeed based on RPM Fusion development
|
|
|
|
|