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
This commit is contained in:
Tomáš Chvátal 2017-11-02 13:00:04 +00:00 committed by Git OBS Bridge
parent 7c6bb35076
commit d99bdb8bfc
4 changed files with 34 additions and 19 deletions

View File

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

3
sratom-0.6.0.tar.bz2 Normal file
View File

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

View File

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

View File

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