legacy package [release 1.4.4-2mamba;Wed Sep 21 2022]

This commit is contained in:
Silvan Calarco 2024-01-05 18:06:33 +01:00
parent 81ee8babc3
commit 1afb9725a5
2 changed files with 93 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# srt14
Secure Reliable Transport (SRT) Protocol.

91
srt14.spec Normal file
View File

@ -0,0 +1,91 @@
Name: srt14
Version: 1.4.4
Release: 2mamba
Summary: Secure Reliable Transport (SRT) Protocol
Group: Applications/Networking
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://www.srtalliance.org/
Source: https://github.com/Haivision/srt.git/v%{version}/srt-%{version}.tar.bz2
License: MPL 1.1
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libatomic-devel
BuildRequires: libgcc
BuildRequires: libopenssl-devel
BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END
BuildRequires: cmake
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
%description
Secure Reliable Transport (SRT) Protocol.
%package -n lib%{name}
Group: System/Libraries
Summary: Shared libraries for %{name}
%description -n lib%{name}
This package contains shared libraries for %{name}.
%package -n lib%{name}-devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires: pkg-config
%description -n lib%{name}-devel
This package contains libraries and header files for developing applications that use %{name}.
%debug_package
%prep
%setup -q -n srt-%{version}
%build
%cmake -d build \
-DCMAKE_INSTALL_BINDIR=bin \
-DCMAKE_INSTALL_INCLUDEDIR=include
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -n lib%{name} -p /sbin/ldconfig
%postun -n lib%{name} -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_bindir}/srt-ffplay
%{_bindir}/srt-file-transmit
%{_bindir}/srt-live-transmit
%{_bindir}/srt-tunnel
%files -n lib%{name}
%defattr(-,root,root)
%{_libdir}/libsrt.so.*
%doc LICENSE
%files -n lib%{name}-devel
%defattr(-,root,root)
%dir %{_includedir}/srt
%{_includedir}/srt/*
%{_libdir}/libsrt.a
%{_libdir}/libsrt.so
%{_libdir}/pkgconfig/haisrt.pc
%{_libdir}/pkgconfig/srt.pc
%doc README.md
%changelog
* Wed Sep 21 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4.4-2mamba
- legacy package
* Sun Feb 06 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4.4-1mamba
- package created using the webbuild interface