diff --git a/libgssdp.spec b/libgssdp.spec index 0363858..c012229 100644 --- a/libgssdp.spec +++ b/libgssdp.spec @@ -1,6 +1,6 @@ %define majver %(echo %version | cut -d. -f1-2) Name: libgssdp -Version: 1.6.1 +Version: 1.6.2 Release: 1mamba Summary: A library that implements resource discovery and announcement over SSDP. Group: System/Libraries @@ -16,6 +16,9 @@ BuildRequires: libglib-devel BuildRequires: libgtk-devel BuildRequires: libsoup-devel ## AUTOBUILDREQ-END +%ifarch %{ix86} x86_64 +BuildRequires: pandoc +%endif %description GSSDP implements resource discovery and announcement over SSDP. @@ -27,15 +30,30 @@ Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} %description devel GSSDP implements resource discovery and announcement over SSDP. +This package contains static libraries and header files needed for development. -This package contains static libraries and header files need for development. +%package tools +Summary: Tools provided with %{name} +Group: Applications/Networking +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description tools +GSSDP implements resource discovery and announcement over SSDP. +This package contains the tools provided with %{name}. + +%debug_package %prep %setup -q -n gssdp-%{version} %build %meson \ +%ifarch %{ix86} x86_64 -Dgtk_doc=true +%endif +%ifarch arm aarch64 + -Dmanpages=false +%endif %meson_build @@ -47,30 +65,41 @@ This package contains static libraries and header files need for development. [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %post -p /sbin/ldconfig - %postun -p /sbin/ldconfig %files %defattr(-,root,root) -%{_bindir}/gssdp-device-sniffer %{_libdir}/libgssdp-*.so.* -#%{_datadir}/gssdp/gssdp-device-sniffer.ui +%{_libdir}/girepository-1.0/GSSDP-*.typelib %doc AUTHORS COPYING %files devel %defattr(-,root,root) +%dir %{_includedir}/gssdp-* +%dir %{_includedir}/gssdp-*/libgssdp %{_includedir}/gssdp-*/libgssdp/gssdp*.h %{_libdir}/libgssdp-*.so -%{_libdir}/girepository-1.0/GSSDP-*.typelib %{_datadir}/gir-1.0/GSSDP-*.gir %{_datadir}/vala/vapi/gssdp-*.deps %{_datadir}/vala/vapi/gssdp-*.vapi %{_libdir}/pkgconfig/*.pc +%ifnarch arm aarch64 %dir %{_docdir}/gssdp-* %{_docdir}/gssdp-*/* +%endif %doc NEWS +%files tools +%defattr(-,root,root) +%{_bindir}/gssdp-device-sniffer +%ifnarch arm aarch64 +%{_mandir}/man1/gssdp-device-sniffer.1* +%endif + %changelog +* Wed Nov 23 2022 Automatic Build System 1.6.2-1mamba +- automatic version update by autodist + * Wed Nov 09 2022 Automatic Build System 1.6.1-1mamba - automatic version update by autodist