From 37855e3da15d31f1f98d9734d9d8648512acb76255dee1c9b6d4d7c0503eafa8 Mon Sep 17 00:00:00 2001 From: Dave Plater Date: Sun, 24 Apr 2022 04:48:38 +0000 Subject: [PATCH] Accepting request 972326 from home:susnux:branches:multimedia:libs - Update to 0.24.12: * Allow connecting ports to structures in Python * Fix potential memory error when joining filesystem paths * Fix unlikely undefined behavior when saving state * Remove the need for a generated configuration header OBS-URL: https://build.opensuse.org/request/show/972326 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/lilv?expand=0&rev=41 --- lilv-0.24.10.tar.bz2 | 3 --- lilv-0.24.12.tar.bz2 | 3 +++ lilv-rpmlintrc | 2 +- lilv.changes | 9 +++++++++ lilv.spec | 29 +++++++++++++++++++++-------- 5 files changed, 34 insertions(+), 12 deletions(-) delete mode 100644 lilv-0.24.10.tar.bz2 create mode 100644 lilv-0.24.12.tar.bz2 diff --git a/lilv-0.24.10.tar.bz2 b/lilv-0.24.10.tar.bz2 deleted file mode 100644 index f8b1471..0000000 --- a/lilv-0.24.10.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d1bba93d6ddacadb5e742fd10ad732727edb743524de229c70cc90ef81ffc594 -size 443795 diff --git a/lilv-0.24.12.tar.bz2 b/lilv-0.24.12.tar.bz2 new file mode 100644 index 0000000..8c2842d --- /dev/null +++ b/lilv-0.24.12.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:26a37790890c9c1f838203b47f5b2320334fe92c02a4d26ebbe2669dbd769061 +size 427404 diff --git a/lilv-rpmlintrc b/lilv-rpmlintrc index 374ef5d..2f44c23 100644 --- a/lilv-rpmlintrc +++ b/lilv-rpmlintrc @@ -1 +1 @@ -addFilter("non-conffile-in-etc /etc/bash_completion.d/lilv") +addFilter("shlib-fixed-dependency .*libs.rd.*") diff --git a/lilv.changes b/lilv.changes index 449ca6a..7be6b0d 100644 --- a/lilv.changes +++ b/lilv.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Sat Apr 23 22:17:23 UTC 2022 - Ferdinand Thiessen + +- Update to 0.24.12: + * Allow connecting ports to structures in Python + * Fix potential memory error when joining filesystem paths + * Fix unlikely undefined behavior when saving state + * Remove the need for a generated configuration header + ------------------------------------------------------------------- Tue Jan 5 09:48:11 UTC 2021 - Dirk Müller diff --git a/lilv.spec b/lilv.spec index 2aa7a49..47fa95f 100644 --- a/lilv.spec +++ b/lilv.spec @@ -1,7 +1,7 @@ # # spec file for package lilv # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,23 +16,28 @@ # +%bcond_with docs %define sover 0 %define sordversion %(pkg-config --modversion sord-0) %define serdversion %(pkg-config --modversion serd-0) Name: lilv -Version: 0.24.10 +Version: 0.24.12 Release: 0 Summary: C library to make use of LV2 plugins License: ISC Group: Development/Libraries/C and C++ -URL: https://drobilla.net/software/lilv +URL: https://drobilla.net/software/lilv.html Source0: https://download.drobilla.net/lilv-%{version}.tar.bz2 -Source98: baselibs.conf Source99: lilv-rpmlintrc +Source98: baselibs.conf BuildRequires: doxygen BuildRequires: gcc-c++ BuildRequires: graphviz BuildRequires: pkgconfig +%if %{with docs} +BuildRequires: python3-Sphinx +BuildRequires: python3-sphinx_lv2_theme +%endif BuildRequires: python3-devel BuildRequires: python3-numpy-devel BuildRequires: swig @@ -89,8 +94,10 @@ python3 ./waf configure \ --libdir=%{_libdir} \ --docdir=%{_defaultdocdir} \ --configdir=%{_sysconfdir} \ - --test \ - --docs +%if %{with docs} + --docs \ +%endif + --test # waf only understands -j, so do not use smp_mflags python3 ./waf build -v %{?_smp_mflags} @@ -100,6 +107,10 @@ if [ %{python3_sitelib} != %{python3_sitearch} ]; then mkdir -p %{buildroot}%{python3_sitearch} mv %{buildroot}%{python3_sitelib}/lilv.py %{buildroot}%{python3_sitearch}/ fi +# Fix E: filelist-forbidden-bashcomp-userdirs /etc/bash_completion.d/lilv +mkdir -p %{buildroot}%{_datadir}/bash-completion/completions/ +mv %{buildroot}%{_sysconfdir}/bash_completion.d/lilv %{buildroot}%{_datadir}/bash-completion/completions/ +rmdir %{buildroot}%{_sysconfdir}/bash_completion.d %post -n liblilv-0-%{sover} -p /sbin/ldconfig %postun -n liblilv-0-%{sover} -p /sbin/ldconfig @@ -114,18 +125,20 @@ fi %{_mandir}/man1/lv2info.1%{?ext_man} %{_mandir}/man1/lv2ls.1%{?ext_man} %{_mandir}/man1/lv2apply.1%{?ext_man} -%{_sysconfdir}/bash_completion.d/lilv +%{_datadir}/bash-completion/completions/%{name} %files -n liblilv-0-%{sover} %license COPYING %{_libdir}/liblilv-0.so.%{sover}* %files -n liblilv-0-devel +%{_libdir}/pkgconfig/lilv-0.pc %{_libdir}/liblilv-0.so %{_includedir}/lilv-0/ -%{_libdir}/pkgconfig/lilv-0.pc +%if %{with docs} %{_defaultdocdir}/lilv-0/ %{_mandir}/man3/* +%endif %files -n python3-lilv %{python3_sitearch}/lilv.py