|
|
@ -2,13 +2,16 @@
|
|
|
|
%global maj 0
|
|
|
|
%global maj 0
|
|
|
|
|
|
|
|
|
|
|
|
Name: lilv
|
|
|
|
Name: lilv
|
|
|
|
Version: 0.24.8
|
|
|
|
Version: 0.24.10
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: An LV2 Resource Description Framework Library
|
|
|
|
Summary: An LV2 Resource Description Framework Library
|
|
|
|
|
|
|
|
|
|
|
|
License: MIT
|
|
|
|
License: MIT
|
|
|
|
URL: http://drobilla.net/software/lilv/
|
|
|
|
URL: http://drobilla.net/software/lilv/
|
|
|
|
Source0: http://download.drobilla.net/%{name}-%{version}.tar.bz2
|
|
|
|
Source0: http://download.drobilla.net/%{name}-%{version}.tar.bz2
|
|
|
|
|
|
|
|
# New test suite looks for unversioned python
|
|
|
|
|
|
|
|
Patch0: %{name}-test-python.patch
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: doxygen
|
|
|
|
BuildRequires: doxygen
|
|
|
|
BuildRequires: graphviz
|
|
|
|
BuildRequires: graphviz
|
|
|
|
BuildRequires: sord-devel >= 0.14.0
|
|
|
|
BuildRequires: sord-devel >= 0.14.0
|
|
|
@ -50,8 +53,8 @@ supports reading and writing Turtle and NTriples.
|
|
|
|
This package contains the python libraries for %{name}.
|
|
|
|
This package contains the python libraries for %{name}.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
%autosetup -p1
|
|
|
|
# we'll run ld config
|
|
|
|
# Do not run ld config
|
|
|
|
sed -i -e 's|bld.add_post_fun(autowaf.run_ldconfig)||' wscript
|
|
|
|
sed -i -e 's|bld.add_post_fun(autowaf.run_ldconfig)||' wscript
|
|
|
|
# for packagers sake, build the tests with debug symbols
|
|
|
|
# for packagers sake, build the tests with debug symbols
|
|
|
|
sed -i -e "s|'-ftest-coverage'\]|\
|
|
|
|
sed -i -e "s|'-ftest-coverage'\]|\
|
|
|
@ -60,18 +63,18 @@ sed -i -e "s|'-ftest-coverage'\]|\
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
%set_build_flags
|
|
|
|
%set_build_flags
|
|
|
|
export LINKFLAGS="%{__global_ldflags}"
|
|
|
|
export LINKFLAGS="%{__global_ldflags}"
|
|
|
|
python3 waf configure -v --prefix=%{_prefix} \
|
|
|
|
%{python3} waf configure -v --prefix=%{_prefix} \
|
|
|
|
--libdir=%{_libdir} --configdir=%{_sysconfdir} --mandir=%{_mandir} \
|
|
|
|
--libdir=%{_libdir} --configdir=%{_sysconfdir} --mandir=%{_mandir} \
|
|
|
|
--docdir=%{_pkgdocdir} \
|
|
|
|
--docdir=%{_pkgdocdir} \
|
|
|
|
--docs --test --dyn-manifest
|
|
|
|
--docs --test --dyn-manifest
|
|
|
|
python3 waf -v build %{?_smp_mflags}
|
|
|
|
%{python3} waf -v build %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
python3 waf -v install --destdir=%{buildroot}
|
|
|
|
%{python3} waf -v install --destdir=%{buildroot}
|
|
|
|
chmod +x %{buildroot}%{_libdir}/lib%{name}-0.so.*
|
|
|
|
chmod +x %{buildroot}%{_libdir}/lib%{name}-0.so.*
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
%check
|
|
|
|
./build/test/lilv_test
|
|
|
|
%{python3} waf test
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%files
|
|
|
|
%doc AUTHORS NEWS README.md
|
|
|
|
%doc AUTHORS NEWS README.md
|
|
|
@ -98,6 +101,10 @@ chmod +x %{buildroot}%{_libdir}/lib%{name}-0.so.*
|
|
|
|
%{python3_sitelib}/__pycache__/*
|
|
|
|
%{python3_sitelib}/__pycache__/*
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Sun Oct 04 2020 Guido Aulisi <guido.aulisi@gmail.com> - 0.24.10-1
|
|
|
|
|
|
|
|
- Update to 0.24.10
|
|
|
|
|
|
|
|
- Run new test suite
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Aug 19 2020 Guido Aulisi <guido.aulisi@gmail.com> - 0.24.8-1
|
|
|
|
* Wed Aug 19 2020 Guido Aulisi <guido.aulisi@gmail.com> - 0.24.8-1
|
|
|
|
- Update to 0.24.8
|
|
|
|
- Update to 0.24.8
|
|
|
|
|
|
|
|
|
|
|
|