librist/librist.spec

83 lines
2.1 KiB
RPMSpec
Raw Permalink Normal View History

Name: librist
Version: 0.2.7
Release: 2mamba
Summary: A library that can be used to easily add the RIST protocol to your application
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://code.videolan.org/rist/librist
Source: https://code.videolan.org/rist/librist.git/v%{version}/librist-%{version}.tar.bz2
License: BSD
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libmbedtls-devel
## AUTOBUILDREQ-END
BuildRequires: libmbedtls-devel >= 3.2.1
%description
A library that can be used to easily add the RIST protocol to your application.
%package devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires: pkg-config
%description devel
This package contains libraries and header files for developing applications that use %{name}.
%package tools
Group: Applications/Communication
Summary: Utility applications for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description tools
This package contains utility applications for %{name}.
%debug_package
%prep
%setup -q
%build
%meson
%meson_build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%meson_install
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_libdir}/librist.so.*
%doc COPYING
%files devel
%defattr(-,root,root)
%dir %{_includedir}/librist
%{_includedir}/librist/*
%{_libdir}/librist.so
%{_libdir}/pkgconfig/librist.pc
%doc NEWS README.md
%files tools
%defattr(-,root,root)
%{_bindir}/rist2rist
%{_bindir}/ristreceiver
%{_bindir}/ristsender
%{_bindir}/ristsrppasswd
%changelog
* Sat Sep 17 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 0.2.7-2mamba
- rebuilt with libmbedtls 3.2.1
* Tue Sep 13 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 0.2.7-1mamba
- package created using the webbuild interface