From cfa5aeaf310906f8f7f2bc134bd722a62028758088b5a9b1512df2c97d18c0b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Thu, 2 Nov 2017 11:36:33 +0000 Subject: [PATCH] Accepting request 538327 from home:pluskalm:branches:multimedia:libs - Update to version 0.28.0: - Use python3 - Run spec-cleaner - Rename devel subpackage - Run tests during build OBS-URL: https://build.opensuse.org/request/show/538327 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/serd?expand=0&rev=9 --- serd-0.22.0.tar.bz2 | 3 --- serd-0.28.0.tar.bz2 | 3 +++ serd.changes | 25 +++++++++++++++++++++++++ serd.spec | 36 +++++++++++++++++++----------------- 4 files changed, 47 insertions(+), 20 deletions(-) delete mode 100644 serd-0.22.0.tar.bz2 create mode 100644 serd-0.28.0.tar.bz2 diff --git a/serd-0.22.0.tar.bz2 b/serd-0.22.0.tar.bz2 deleted file mode 100644 index 0fe1493..0000000 --- a/serd-0.22.0.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:7b030287b4b75f35e6212b145648bec0be6580cc5434caa6d2fe64a38562afd2 -size 340371 diff --git a/serd-0.28.0.tar.bz2 b/serd-0.28.0.tar.bz2 new file mode 100644 index 0000000..34af0b6 --- /dev/null +++ b/serd-0.28.0.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1df21a8874d256a9f3d51a18b8c6e2539e8092b62cc2674b110307e93f898aec +size 371592 diff --git a/serd.changes b/serd.changes index 28128ec..4d7e9b9 100644 --- a/serd.changes +++ b/serd.changes @@ -1,3 +1,28 @@ +------------------------------------------------------------------- +Thu Nov 2 11:24:42 UTC 2017 - mpluskal@suse.com + +- Update to version 0.28.0: + * Add support for reading from a user provided callback + * Add serd_node_from_substring() + * Fix strict parsing of abolute URI schemes + * Fix parsing of hex escapes in file URIs (thanks Johannes Mueller) + * Gracefully handle applications that write corrupt UTF-8 + * Fix hangs when reading corrupt UTF-8 + * Add support for TriG and NQuads + * Add support for braindead SPARQL PREFIX and BASE directives + * Add serd_node_new_relative_uri() + * Fix construction and comparison of URIs with UTF-8 characters + * Report I/O errors with message and return appropriate status code + * Report missing statement separator errors + * Fix potential out of bounds read + * Fix unaligned memory access, undefined behaviour which breaks on ARM + * Fix documentation generation + * Update serdi man page +- Use python3 +- Run spec-cleaner +- Rename devel subpackage +- Run tests during build + ------------------------------------------------------------------- Mon Jan 30 22:06:32 UTC 2017 - jengelh@inai.de diff --git a/serd.spec b/serd.spec index 721dd04..ca39621 100644 --- a/serd.spec +++ b/serd.spec @@ -17,9 +17,8 @@ %define sover 0 - Name: serd -Version: 0.22.0 +Version: 0.28.0 Release: 0 Summary: A lightweight C library for RDF syntax License: ISC @@ -27,17 +26,18 @@ Group: Development/Libraries/C and C++ Url: http://drobilla.net/software/serd/ Source0: http://download.drobilla.net/serd-%{version}.tar.bz2 Source1: baselibs.conf -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: doxygen BuildRequires: graphviz -BuildRequires: pkg-config +BuildRequires: pkgconfig BuildRequires: python-base +BuildRequires: python3 %description A lightweight C library for RDF syntax which supports reading and writing Turtle and NTriples. %package -n serdi Summary: Read and write RDF syntax +# FIXME: use correct group, see "https://en.opensuse.org/openSUSE:Package_group_guidelines" Group: Productivity/Editors/Other %description -n serdi @@ -50,12 +50,14 @@ Group: System/Libraries %description -n libserd-0-%{sover} A lightweight C library for RDF syntax which supports reading and writing Turtle and NTriples. -%package -n libserd-0-devel +%package devel Summary: Development files for libserd Group: Development/Libraries/C and C++ Requires: libserd-0-%{sover} = %{version} +Provides: libserd-0-devel = %{version} +Obsoletes: libserd-0-devel < %{version} -%description -n libserd-0-devel +%description devel Development files for libserd. %prep @@ -64,37 +66,37 @@ Development files for libserd. %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} +rm -rf %{buildroot}%{_docdir}/serd-0/html + +%check +python3 ./waf test %post -n libserd-0-%{sover} -p /sbin/ldconfig - %postun -n libserd-0-%{sover} -p /sbin/ldconfig %files -n serdi -%defattr(0644,root,root,0755) %attr(0755,root,root) %{_bindir}/serdi %{_mandir}/man1/serdi.1* %files -n libserd-0-%{sover} -%defattr(0644,root,root,0755) -%doc AUTHORS COPYING NEWS README +%doc AUTHORS COPYING NEWS README.md %{_libdir}/libserd-0.so.%{sover}* -%files -n libserd-0-devel -%defattr(0644,root,root,0755) +%files devel %{_libdir}/libserd-0.so %{_includedir}/serd-0/ %{_libdir}/pkgconfig/serd-0.pc -#%{_defaultdocdir}/serd-0/ -#%{_mandir}/man3/* +%{_mandir}/man3/serd.3%{ext_man} %changelog