From d99bdb8bfc112e0517fcf6efb30086c919465db25374f065fb23fe0cca444c23 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Thu, 2 Nov 2017 13:00:04 +0000 Subject: [PATCH] Accepting request 538340 from home:pluskalm:branches:multimedia:libs - Update to version 0.6.0: - Run spec-cleaner - Use python3 - Run tests during build OBS-URL: https://build.opensuse.org/request/show/538340 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/sratom?expand=0&rev=7 --- sratom-0.4.6.tar.bz2 | 3 --- sratom-0.6.0.tar.bz2 | 3 +++ sratom.changes | 14 ++++++++++++++ sratom.spec | 33 +++++++++++++++++---------------- 4 files changed, 34 insertions(+), 19 deletions(-) delete mode 100644 sratom-0.4.6.tar.bz2 create mode 100644 sratom-0.6.0.tar.bz2 diff --git a/sratom-0.4.6.tar.bz2 b/sratom-0.4.6.tar.bz2 deleted file mode 100644 index c033a02..0000000 --- a/sratom-0.4.6.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a4b9beaeaedc4f651beb15cd1cfedff905b0726a9010548483475ad97d941220 -size 138165 diff --git a/sratom-0.6.0.tar.bz2 b/sratom-0.6.0.tar.bz2 new file mode 100644 index 0000000..afe7753 --- /dev/null +++ b/sratom-0.6.0.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:440ac2b1f4f0b7878f8b95698faa1e8f8c50929a498f68ec5d066863626a3d43 +size 149340 diff --git a/sratom.changes b/sratom.changes index d5146fa..025179e 100644 --- a/sratom.changes +++ b/sratom.changes @@ -1,3 +1,17 @@ +------------------------------------------------------------------- +Thu Nov 2 11:19:54 UTC 2017 - mpluskal@suse.com + +- Update to version 0.6.0: + * Add sratom_set_env() for setting prefixes + * Fix padding of constructed vectors (thanks Hanspeter Portner) + * Support round-trip serialisation of relative paths + * Support sequences with beat time stamps + * Fix warnings when building with ISO C++ compilers + * Upgrade to waf 1.8.14 +- Run spec-cleaner +- Use python3 +- Run tests during build + ------------------------------------------------------------------- Mon Jan 30 22:06:32 UTC 2017 - jengelh@inai.de diff --git a/sratom.spec b/sratom.spec index dbc499d..c81a9d7 100644 --- a/sratom.spec +++ b/sratom.spec @@ -17,9 +17,8 @@ %define sover 0 - Name: sratom -Version: 0.4.6 +Version: 0.6.0 Release: 0 Summary: A library for serialising LV2 atoms to/from RDF License: ISC @@ -29,10 +28,10 @@ Source0: http://download.drobilla.net/sratom-%{version}.tar.bz2 Source1: baselibs.conf BuildRequires: doxygen BuildRequires: graphviz -BuildRequires: pkg-config -BuildRequires: python-base -BuildRequires: pkgconfig(lv2) >= 1.0.0 -BuildRequires: pkgconfig(serd-0) >= 0.14.0 +BuildRequires: pkgconfig +BuildRequires: python3 +BuildRequires: pkgconfig(lv2) >= 1.10.0 +BuildRequires: pkgconfig(serd-0) >= 0.23.0 BuildRequires: pkgconfig(sord-0) >= 0.12.0 %description @@ -45,12 +44,14 @@ Group: System/Libraries %description -n libsratom-0-%{sover} A library for serialising LV2 atoms to/from RDF, particularly the Turtle syntax. -%package -n libsratom-0-devel +%package devel Summary: Development files for libsratom Group: Development/Libraries/C and C++ Requires: libsratom-0-%{sover} = %{version} +Provides: libsratom-0-devel = %{version} +Obsoletes: libsratom-0-devel < %{version} -%description -n libsratom-0-devel +%description devel Development files for libsratom. %prep @@ -59,28 +60,28 @@ Development files for libsratom. %build export CFLAGS='%{optflags}' export CXXFLAGS='%{optflags}' -./waf configure \ +python3 ./waf configure \ --prefix=%{_prefix} \ --libdir=%{_libdir} \ --docdir=%{_defaultdocdir} \ + --test \ --docs -# waf only understands -j, so do not use smp_mflags -./waf build -v %{?jobs:-j%jobs} +python3 ./waf build -v %{?_smp_mflags} %install -./waf install --destdir=%{?buildroot} +python3 ./waf install --destdir=%{?buildroot} + +%check +python3 ./waf test %post -n libsratom-0-%{sover} -p /sbin/ldconfig - %postun -n libsratom-0-%{sover} -p /sbin/ldconfig %files -n libsratom-0-%{sover} -%defattr(0644,root,root,0755) %doc COPYING NEWS README %{_libdir}/libsratom-0.so.%{sover}* -%files -n libsratom-0-devel -%defattr(0644,root,root,0755) +%files devel %{_libdir}/libsratom-0.so %{_includedir}/sratom-0/ %{_libdir}/pkgconfig/sratom-0.pc