Accepting request 538335 from home:pluskalm:branches:multimedia:libs
- Update to version 0.16.0: OBS-URL: https://build.opensuse.org/request/show/538335 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/sord?expand=0&rev=19
This commit is contained in:
parent
63b6308922
commit
477b24b198
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:7656d8ec56a43e0f0a168fe78670a7628a42d3a597b53c7a72ac243a74e0f19a
|
|
||||||
size 311442
|
|
3
sord-0.16.0.tar.bz2
Normal file
3
sord-0.16.0.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:9d3cb2c9966e93f537f37377171f162023cea6784ca069699be4a7770c8a035a
|
||||||
|
size 316331
|
21
sord.changes
21
sord.changes
@ -1,3 +1,24 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Nov 2 11:49:01 UTC 2017 - mpluskal@suse.com
|
||||||
|
|
||||||
|
- Update to version 0.16.0:
|
||||||
|
* Fix construction and comparison of URIs with UTF-8 characters
|
||||||
|
* Fix documentation generation
|
||||||
|
* Return error from sord_inserter_write_statement() if a node can
|
||||||
|
not be written (e.g. undefined prefix)
|
||||||
|
* Make sord_node_get_counted return byte count, and clarify
|
||||||
|
documentation
|
||||||
|
* Safely return NULL from sord_iter_get() for end iterators
|
||||||
|
* Add sord_node_get_string_measured() to get both byte and
|
||||||
|
character counts
|
||||||
|
* sord_validate: Do proper numeric comparison for propery bounds
|
||||||
|
checking
|
||||||
|
* sord_validate: Tolerate xsd:decimal literals for double and
|
||||||
|
float properties if literals match pattern
|
||||||
|
- Use python3
|
||||||
|
- Rename devel subpackage
|
||||||
|
- Run tests during building
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Jan 30 22:06:32 UTC 2017 - jengelh@inai.de
|
Mon Jan 30 22:06:32 UTC 2017 - jengelh@inai.de
|
||||||
|
|
||||||
|
40
sord.spec
40
sord.spec
@ -17,9 +17,8 @@
|
|||||||
|
|
||||||
|
|
||||||
%define sover 0
|
%define sover 0
|
||||||
|
|
||||||
Name: sord
|
Name: sord
|
||||||
Version: 0.14.0
|
Version: 0.16.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Utilities to work with RDF data
|
Summary: Utilities to work with RDF data
|
||||||
License: ISC
|
License: ISC
|
||||||
@ -27,13 +26,12 @@ Group: Productivity/File utilities
|
|||||||
Url: http://drobilla.net/software/sord/
|
Url: http://drobilla.net/software/sord/
|
||||||
Source0: http://download.drobilla.net/sord-%{version}.tar.bz2
|
Source0: http://download.drobilla.net/sord-%{version}.tar.bz2
|
||||||
Source1: baselibs.conf
|
Source1: baselibs.conf
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
BuildRequires: doxygen
|
BuildRequires: doxygen
|
||||||
BuildRequires: graphviz
|
BuildRequires: graphviz
|
||||||
BuildRequires: pcre-devel
|
BuildRequires: pcre-devel
|
||||||
BuildRequires: pkg-config
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: python-base
|
BuildRequires: python3
|
||||||
BuildRequires: pkgconfig(serd-0) >= 0.18.0
|
BuildRequires: pkgconfig(serd-0) >= 0.22.4
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Utilities to work with RDF data.
|
Utilities to work with RDF data.
|
||||||
@ -47,58 +45,54 @@ Group: System/Libraries
|
|||||||
A lightweight C library for storing RDF data in memory.
|
A lightweight C library for storing RDF data in memory.
|
||||||
http://drobilla.net/software/sord/
|
http://drobilla.net/software/sord/
|
||||||
|
|
||||||
%package -n libsord-0-devel
|
%package devel
|
||||||
Summary: Development files for libsord
|
Summary: Development files for libsord
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
|
Provides: libsord-0-devel = %{version}
|
||||||
|
Obsoletes: libsord-0-devel < %{version}
|
||||||
Requires: libsord-0-%{sover} = %{version}
|
Requires: libsord-0-%{sover} = %{version}
|
||||||
|
|
||||||
%description -n libsord-0-devel
|
%description devel
|
||||||
Development files for libsord.
|
Development files for libsord.
|
||||||
Sord is a lightweight C library for storing RDF data in memory.
|
Sord is a lightweight C library for storing RDF data in memory.
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export CFLAGS='%{optflags}'
|
export CFLAGS='%{optflags}'
|
||||||
export CXXFLAGS='%{optflags}'
|
export CXXFLAGS='%{optflags}'
|
||||||
./waf configure \
|
python3 ./waf configure \
|
||||||
--prefix=%{_prefix} \
|
--prefix=%{_prefix} \
|
||||||
--libdir=%{_libdir} \
|
--libdir=%{_libdir} \
|
||||||
--docdir=%{_defaultdocdir} \
|
--docdir=%{_defaultdocdir} \
|
||||||
|
--test \
|
||||||
--docs
|
--docs
|
||||||
# waf only understands -j, so do not use smp_mflags
|
# waf only understands -j, so do not use smp_mflags
|
||||||
./waf build -v %{?jobs:-j%jobs}
|
python3 ./waf build -v %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
./waf install --destdir=%{?buildroot}
|
python3 ./waf install --destdir=%{?buildroot}
|
||||||
|
rm -rf %{buildroot}%{_docdir}/sord-0/html
|
||||||
|
|
||||||
# http://dev.drobilla.net/ticket/852
|
%check
|
||||||
cp -p doc/sord_validate.1 %{buildroot}%{_mandir}/man1/sord_validate.1
|
python3 ./waf test
|
||||||
mkdir -p %{buildroot}%{_mandir}/man3
|
|
||||||
cp -pv build/doc/reference.doxygen.doxy/man/man3/sord.3 %{buildroot}%{_mandir}/man3/
|
|
||||||
|
|
||||||
%post -n libsord-0-%{sover} -p /sbin/ldconfig
|
%post -n libsord-0-%{sover} -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun -n libsord-0-%{sover} -p /sbin/ldconfig
|
%postun -n libsord-0-%{sover} -p /sbin/ldconfig
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(0644,root,root,0755)
|
|
||||||
%attr(0755,root,root) %{_bindir}/sordi
|
%attr(0755,root,root) %{_bindir}/sordi
|
||||||
%attr(0755,root,root) %{_bindir}/sord_validate
|
%attr(0755,root,root) %{_bindir}/sord_validate
|
||||||
%{_mandir}/man1/sordi.1*
|
%{_mandir}/man1/sordi.1*
|
||||||
%{_mandir}/man1/sord_validate.1*
|
%{_mandir}/man1/sord_validate.1*
|
||||||
|
|
||||||
%files -n libsord-0-%{sover}
|
%files -n libsord-0-%{sover}
|
||||||
%defattr(0644,root,root,0755)
|
|
||||||
%doc AUTHORS COPYING NEWS README
|
%doc AUTHORS COPYING NEWS README
|
||||||
%{_libdir}/libsord-0.so.%{sover}*
|
%{_libdir}/libsord-0.so.%{sover}*
|
||||||
|
|
||||||
%files -n libsord-0-devel
|
%files devel
|
||||||
%defattr(0644,root,root,0755)
|
%{_mandir}/man3/sord.3%{ext_man}
|
||||||
%doc build/doc/reference.doxygen.doxy/html
|
|
||||||
%{_mandir}/man3/sord.3.gz
|
|
||||||
%{_libdir}/libsord-0.so
|
%{_libdir}/libsord-0.so
|
||||||
%{_includedir}/sord-0/
|
%{_includedir}/sord-0/
|
||||||
%{_libdir}/pkgconfig/sord-0.pc
|
%{_libdir}/pkgconfig/sord-0.pc
|
||||||
|
Loading…
Reference in New Issue
Block a user