diff --git a/libsrtp.spec b/libsrtp.spec index 6a74dc6dfedecc42be1f4c7f9fc309ee9e3a4ac2..ba1fddfc4b9a9e4cb6aabeb060ba7f19746d3301 100644 --- a/libsrtp.spec +++ b/libsrtp.spec @@ -1,4 +1,4 @@ -%define anolis_release 1 +%define anolis_release 2 %global shortname srtp Name: libsrtp @@ -16,9 +16,17 @@ This package provides an implementation of the Secure Real-time Transport Protocol (SRTP), the Universal Security Transform (UST), and a supporting cryptographic kernel. +%package doc +Summary: Documentation files for %{name} +Requires: %{name} = %{version}-%{release} +BuildArch: noarch + +%description doc +The %{name}-doc package contains documentation files for %{name}. + %package devel Summary: Development files for %{name} -Requires: %{name}%{?_isa} = %{version}-%{release} +Requires: %{name} = %{version}-%{release} Requires: pkgconfig %description devel @@ -27,7 +35,7 @@ developing applications that use %{name}. %package tools Summary: Tools for testing and decoding SRTP -Requires: %{name}%{?_isa} = %{version}-%{release} +Requires: %{name} = %{version}-%{release} %description tools Tools for testing and decoding SRTP @@ -54,12 +62,18 @@ install -D -p -m 0755 test/rtpw %{buildroot}%{_bindir}/rtpw install -D -p -m 0755 test/srtp_driver %{buildroot}%{_bindir}/srtp_driver install -D -p -m 0755 test/test_srtp %{buildroot}%{_bindir}/test_srtp +%generate_compatibility_deps + %ldconfig_scriptlets %files +%dir %{abidir} %license LICENSE -%doc CHANGES README.md %{_libdir}/*.so.* +%{abidir}/*.dump + +%files doc +%doc CHANGES README.md %files devel %{_includedir}/%{shortname}2/ @@ -68,8 +82,12 @@ install -D -p -m 0755 test/test_srtp %{buildroot}%{_bindir}/test_srtp %files tools %{_bindir}/* +%{abidir}/*-option.list %changelog +* Thu Oct 20 2022 mgb01105731 - 2.4.2-2 +- optimise spec file & add doc package + * Fri Apr 08 2022 mgb01105731 - 2.4.2-1 - Init from upstream version 2.4.2