package created using the webbuild interface [release 1.4.4-1mamba;Sun Feb 06 2022]
This commit is contained in:
parent
b44e87cf3e
commit
02e7001a13
89
srt.spec
Normal file
89
srt.spec
Normal file
@ -0,0 +1,89 @@
|
||||
Name: srt
|
||||
Version: 1.4.4
|
||||
Release: 1mamba
|
||||
Summary: Secure Reliable Transport (SRT) Protocol
|
||||
Group: Networking/Tools
|
||||
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}
|
||||
## note: you can add this requirement if .pc files are provided by this package
|
||||
#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
|
||||
|
||||
%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
|
||||
* Sun Feb 06 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4.4-1mamba
|
||||
- package created using the webbuild interface
|
Loading…
Reference in New Issue
Block a user