121 lines
3.5 KiB
RPMSpec
121 lines
3.5 KiB
RPMSpec
%define gittag %(echo %version | cut -d. -f4)
|
|
Name: rtmpdump
|
|
Epoch: 1
|
|
Version: 2.4.r99.f1b83c1
|
|
Release: 1mamba
|
|
Summary: rtmpdump is a toolkit for RTMP streams
|
|
Group: Applications/Networking
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: http://rtmpdump.mplayerhq.hu/
|
|
Source: https://git.ffmpeg.org/rtmpdump.git/master@%{gittag}/rtmpdump-%{version}.tar.bz2
|
|
License: GPL, LGPL
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: glibc-devel
|
|
BuildRequires: libgmp-devel
|
|
BuildRequires: libgnutls-devel
|
|
BuildRequires: libnettle-devel
|
|
BuildRequires: libz-devel
|
|
## AUTOBUILDREQ-END
|
|
Requires: librtmp = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
%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 needed for development.
|
|
|
|
%debug_package
|
|
|
|
%prep
|
|
%setup -q
|
|
sed -i "s|/include|/include/librtmp|" librtmp/librtmp.pc.in
|
|
sed -e 's/^CRYPTO=OPENSSL/#CRYPTO=OPENSSL/' -e 's/#CRYPTO=GNUTLS/CRYPTO=GNUTLS/' -i Makefile -i librtmp/Makefile
|
|
|
|
%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*
|
|
%doc ChangeLog README
|
|
|
|
%changelog
|
|
* Thu Jan 11 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 2.4.r99.f1b83c1-1mamba
|
|
- update to 2.4.r99.f1b83c1
|
|
|
|
* Fri Mar 22 2019 Automatic Build System <autodist@mambasoft.it> 2.4.r96.fa8646d-2mamba
|
|
- automatic version update by autodist
|
|
|
|
* Thu Mar 21 2019 Automatic Build System <autodist@mambasoft.it> 2.4.r96.fa8646d-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Thu Mar 21 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 2.4.20190321git-1mamba
|
|
- update to 2.4.20190321git
|
|
|
|
* Tue Jul 12 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 20160712git-1mamba
|
|
- update to 20160712git
|
|
|
|
* Tue Sep 23 2014 Automatic Build System <autodist@mambasoft.it> 20140918-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Mon Mar 03 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 20140303git-1mamba
|
|
- update to 20140303git
|
|
|
|
* Mon Aug 26 2013 Automatic Build System <autodist@mambasoft.it> 2.3-3mamba
|
|
- perodic rebuild
|
|
|
|
* Fri Jan 13 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 2.3-2mamba
|
|
- rebuilt in devel
|
|
|
|
* Thu Feb 17 2011 gil <puntogil@libero.it> 2.3-1mamba
|
|
- package created by autospec
|