From a13ffc1f341db8ea4990b1039846287805ecd10288ebe6923e196e3bf4127f48 Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Mon, 1 May 2023 07:07:54 +0000 Subject: [PATCH] Accepting request 1083647 from home:kill_it:branches:multimedia:libs - Switch to meson - Update to 0.6.14 * Add project metadata * Adopt REUSE machine-readable licensing standard 0.6.12 changes: * Switch to meson build system OBS-URL: https://build.opensuse.org/request/show/1083647 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/sratom?expand=0&rev=26 --- sratom-0.6.10.tar.bz2 | 3 --- sratom-0.6.14.tar.xz | 3 +++ sratom.changes | 11 +++++++++++ sratom.spec | 23 +++++++---------------- 4 files changed, 21 insertions(+), 19 deletions(-) delete mode 100644 sratom-0.6.10.tar.bz2 create mode 100644 sratom-0.6.14.tar.xz diff --git a/sratom-0.6.10.tar.bz2 b/sratom-0.6.10.tar.bz2 deleted file mode 100644 index 5f7ac46..0000000 --- a/sratom-0.6.10.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e5951c0d7f0618672628295536a271d61c55ef0dab33ba9fc5767ed4db0a634d -size 327047 diff --git a/sratom-0.6.14.tar.xz b/sratom-0.6.14.tar.xz new file mode 100644 index 0000000..4915ca9 --- /dev/null +++ b/sratom-0.6.14.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9982faf40db83aedd9b3850e499fecd6852b8b4ba6dede514013655cffaca1e6 +size 24252 diff --git a/sratom.changes b/sratom.changes index b96c713..46d9ab6 100644 --- a/sratom.changes +++ b/sratom.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Mon Dec 26 13:05:20 UTC 2022 - Konstantin Voinov + +- Switch to meson +- Update to 0.6.14 + * Add project metadata + * Adopt REUSE machine-readable licensing standard + + 0.6.12 changes: + * Switch to meson build system + ------------------------------------------------------------------- Sat Jun 18 14:29:31 UTC 2022 - Dirk Müller diff --git a/sratom.spec b/sratom.spec index 156704c..37a2e53 100644 --- a/sratom.spec +++ b/sratom.spec @@ -1,7 +1,7 @@ # # spec file for package sratom # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,18 +18,18 @@ %define sover 0 Name: sratom -Version: 0.6.10 +Version: 0.6.14 Release: 0 Summary: A library for serialising LV2 atoms to/from RDF License: ISC Group: Development/Libraries/C and C++ URL: https://drobilla.net/software/sratom.html -Source0: https://download.drobilla.net/sratom-%{version}.tar.bz2 +Source0: https://download.drobilla.net/sratom-%{version}.tar.xz Source1: baselibs.conf BuildRequires: doxygen BuildRequires: graphviz +BuildRequires: meson BuildRequires: pkgconfig -BuildRequires: python3 BuildRequires: pkgconfig(lv2) >= 1.10.0 BuildRequires: pkgconfig(serd-0) >= 0.30.0 BuildRequires: pkgconfig(sord-0) >= 0.12.0 @@ -58,20 +58,11 @@ Development files for libsratom. %autosetup -p1 %build -export CFLAGS='%{optflags} -std=gnu99' -export CXXFLAGS='%{optflags}' -python3 ./waf configure \ - --prefix=%{_prefix} \ - --libdir=%{_libdir} \ - --docdir=%{_defaultdocdir} \ - --test -python3 ./waf build -v %{?_smp_mflags} +%meson -Ddocs=disabled +%meson_build %install -python3 ./waf install --destdir=%{?buildroot} - -%check -python3 ./waf test +%meson_install %post -n libsratom-0-%{sover} -p /sbin/ldconfig %postun -n libsratom-0-%{sover} -p /sbin/ldconfig