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
This commit is contained in:
Takashi Iwai 2023-05-01 07:07:54 +00:00 committed by Git OBS Bridge
parent 2ccebe96de
commit a13ffc1f34
4 changed files with 21 additions and 19 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e5951c0d7f0618672628295536a271d61c55ef0dab33ba9fc5767ed4db0a634d
size 327047

BIN
sratom-0.6.14.tar.xz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Mon Dec 26 13:05:20 UTC 2022 - Konstantin Voinov <kv@kott.no-ip.biz>
- 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 <dmueller@suse.com>

View File

@ -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