Update to 0.24.6

Add python3 bindings
epel9
Guido Aulisi 5 years ago
parent 8f8494f908
commit 5c2377580f

1
.gitignore vendored

@ -7,3 +7,4 @@
/lilv-0.20.0.tar.bz2
/lilv-0.24.2.tar.bz2
/lilv-0.24.4.tar.bz2
/lilv-0.24.6.tar.bz2

@ -2,8 +2,8 @@
%global maj 0
Name: lilv
Version: 0.24.4
Release: 7%{?dist}
Version: 0.24.6
Release: 1%{?dist}
Summary: An LV2 Resource Description Framework Library
License: MIT
@ -13,29 +13,41 @@ BuildRequires: doxygen
BuildRequires: graphviz
BuildRequires: sord-devel >= 0.14.0
BuildRequires: sratom-devel >= 0.4.4
BuildRequires: lv2-devel >= 1.14.0
BuildRequires: lv2-devel >= 1.16.0
BuildRequires: python3
BuildRequires: python3-devel
BuildRequires: swig
BuildRequires: python3-numpy
BuildRequires: serd-devel >= 0.18.0
BuildRequires: serd-devel >= 0.30.0
BuildRequires: gcc
BuildRequires: gcc-c++
BuildRequires: libsndfile-devel >= 1.0.0
%description
%{name} is a library to make the use of LV2 plugins as simple as possible
for applications. Lilv is the successor to SLV2, rewritten to be significantly
faster and have minimal dependencies.
%{name} is a library to make the use of LV2 plugins as simple as possible
for applications. Lilv is the successor to SLV2, rewritten to be significantly
faster and have minimal dependencies.
%package devel
Summary: Development libraries and headers for %{name}
Requires: %{name}%{_isa} = %{version}-%{release}
%description devel
%{name} is a lightweight C library for Resource Description Syntax which
%{name} is a lightweight C library for Resource Description Syntax which
supports reading and writing Turtle and NTriples.
This package contains the headers and development libraries for %{name}.
%package -n python3-%{name}
%{?python_provide:%python_provide python3-%{name}}
Summary: Python bindings for %{name}
Requires: %{name}%{_isa} = %{version}-%{release}
%description -n python3-%{name}
%{name} is a lightweight C library for Resource Description Syntax which
supports reading and writing Turtle and NTriples.
This package contains the python libraries for %{name}.
%prep
%setup -q
# we'll run ld config
@ -47,10 +59,11 @@ sed -i -e "s|'-ftest-coverage'\]|\
%build
%set_build_flags
export LINKFLAGS="%{__global_ldflags}"
python3 waf configure -v --prefix=%{_prefix}\
--libdir=%{_libdir} --configdir=%{_sysconfdir} --mandir=%{_mandir}\
--docdir=%{_pkgdocdir}\
--docs --test --dyn-manifest
python3 waf configure -v --prefix=%{_prefix} \
--libdir=%{_libdir} --configdir=%{_sysconfdir} --mandir=%{_mandir} \
--docdir=%{_pkgdocdir} \
--docs --test --dyn-manifest \
--default-lv2-path=%{_libdir}/lv2
python3 waf -v build %{?_smp_mflags}
%install
@ -61,7 +74,7 @@ chmod +x %{buildroot}%{_libdir}/lib%{name}-0.so.*
./build/test/lilv_test
%files
%doc AUTHORS NEWS README
%doc AUTHORS NEWS README.md
%license COPYING
%exclude %{_pkgdocdir}/%{name}-%{maj}/
%{_libdir}/lib%{name}-%{maj}.so.*
@ -69,6 +82,7 @@ chmod +x %{buildroot}%{_libdir}/lib%{name}-0.so.*
%{_bindir}/lv2info
%{_bindir}/lv2ls
%{_bindir}/lv2bench
%{_bindir}/lv2apply
%{_sysconfdir}/bash_completion.d/lilv
%{_mandir}/man1/*
@ -79,7 +93,15 @@ chmod +x %{buildroot}%{_libdir}/lib%{name}-0.so.*
%{_pkgdocdir}/%{name}-%{maj}/
%{_mandir}/man3/*
%files -n python3-%{name}
%{python3_sitelib}/%{name}.*
%{python3_sitelib}/__pycache__/*
%changelog
* Sat Dec 07 2019 Guido Aulisi <guido.aulisi@gmail.com> - 0.24.6-1
- Update to 0.24.6
- Add python3 bindings
* Wed Oct 30 2019 Guido Aulisi <guido.aulisi@gmail.com> - 0.24.4-7
- BR python3-numpy

@ -1 +1 @@
SHA512 (lilv-0.24.4.tar.bz2) = cb909c83dbac36b51a206fe508aec51e52ddf068f9a159d053888594402def8d140aae0d9e1e1866e722396f7ec8dea4b86d4c1b958f56eb3193b78307918a89
SHA512 (lilv-0.24.6.tar.bz2) = 0cf89d7dac97727e744579d3f4f4b330f56cf72f1a30bd03abfd645233aaf04e9bbf2abf460a0e4b963ed40e1ae78ed5f36127553bdab16e3e7dd3e93b70cdad

Loading…
Cancel
Save