Name: rtmpdump Version: 20160712git Release: 1mamba Summary: rtmpdump is a toolkit for RTMP streams Group: Applications/Networking Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://rtmpdump.mplayerhq.hu/ Source: https://git.ffmpeg.org/rtmpdump.git/master/rtmpdump-%{version}.tar.bz2 #Source: http://rtmpdump.mplayerhq.hu/download/rtmpdump-%{version}.tgz License: GPL, LGPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libopenssl-devel BuildRequires: libz-devel ## AUTOBUILDREQ-END Requires: librtmp = %{?epoch:%epoch:}%{version}-%{release} BuildRoot: %{_tmppath}/%{name}-%{version}-root %description rtmpdump is a toolkit for RTMP streams. All forms of RTMP are supported, including rtmp://, rtmpt://, rtmpe://, rtmpte://, and rtmps://. %package -n librtmp Group: System/Libraries Summary: RTMP implementation Libraries %description -n librtmp rtmpdump is a toolkit for RTMP streams. This package contains RTMP implementation Libraries. %package -n librtmp-devel Group: Development/Libraries Summary: Static libraries and headers for the RTMP implementation Libraries Requires: librtmp = %{?epoch:%epoch:}%{version}-%{release} %description -n librtmp-devel rtmpdump is a toolkit for RTMP streams. This package contains static libraries and header files need for development. %prep %setup -q sed -i "s|/include|/include/librtmp|" librtmp/librtmp.pc.in %build %make all %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall \ prefix=%{_prefix} \ libdir=%{_libdir} \ mandir=%{_mandir} \ %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %post -n librtmp -p /sbin/ldconfig %postun -n librtmp -p /sbin/ldconfig %files %defattr(-,root,root) %{_bindir}/rtmpdump %{_sbindir}/rtmpgw %{_sbindir}/rtmpsrv %{_sbindir}/rtmpsuck %{_mandir}/man1/rtmpdump.1* %{_mandir}/man8/rtmpgw.8* %files -n librtmp %defattr(-,root,root) %{_libdir}/librtmp.so.* %doc COPYING %files -n librtmp-devel %defattr(-,root,root) %dir %{_includedir}/librtmp/ %{_includedir}/librtmp/*.h %{_libdir}/librtmp.a %{_libdir}/librtmp.so %{_libdir}/pkgconfig/librtmp.pc %{_mandir}/man3/librtmp.3.gz %doc ChangeLog README %changelog * Tue Jul 12 2016 Silvan Calarco 20160712git-1mamba - update to 20160712git * Tue Sep 23 2014 Automatic Build System 20140918-1mamba - automatic version update by autodist * Mon Mar 03 2014 Silvan Calarco 20140303git-1mamba - update to 20140303git * Mon Aug 26 2013 Automatic Build System 2.3-3mamba - perodic rebuild * Fri Jan 13 2012 Silvan Calarco 2.3-2mamba - rebuilt in devel * Thu Feb 17 2011 gil 2.3-1mamba - package created by autospec