diff --git a/README.md b/README.md index ca2f821..4db7476 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # librist +A library that can be used to easily add the RIST protocol to your application. + diff --git a/librist.spec b/librist.spec new file mode 100644 index 0000000..80c846c --- /dev/null +++ b/librist.spec @@ -0,0 +1,82 @@ +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 +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 0.2.7-2mamba +- rebuilt with libmbedtls 3.2.1 + +* Tue Sep 13 2022 Silvan Calarco 0.2.7-1mamba +- package created using the webbuild interface