Update to 1.16.0

Use python3
Some spec cleanup
epel9
Guido Aulisi 6 years ago
parent 9f53185d6c
commit 8d8c44315f

1
.gitignore vendored

@ -6,3 +6,4 @@
/lv2-1.10.0.tar.bz2
/lv2-1.12.0.tar.bz2
/lv2-1.14.0.tar.bz2
/lv2-1.16.0.tar.bz2

@ -1,8 +1,8 @@
%{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}}
Name: lv2
Version: 1.14.0
Release: 9%{?dist}
Version: 1.16.0
Release: 1%{?dist}
Summary: Audio Plugin Standard
# lv2specgen template.html is CC-AT-SA
@ -10,11 +10,14 @@ License: ISC
URL: http://lv2plug.in
Source: http://lv2plug.in/spec/lv2-%{version}.tar.bz2
BuildRequires: doxygen graphviz python2-rdflib
BuildRequires: doxygen
BuildRequires: graphviz
BuildRequires: libsndfile-devel
BuildRequires: gcc
BuildRequires: python2-pygments
BuildRequires: python2-devel
BuildRequires: python3-devel
BuildRequires: python3-pygments
Buildrequires: python3-rdflib
Buildrequires: asciidoc
# this package replaces lv2core
Provides: lv2core = 6.0-4
@ -40,7 +43,7 @@ LADSPA which many hosts have outgrown.
Summary: API for the LV2 Audio Plugin Standard
Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: python2-rdflib
Requires: python3-rdflib
Provides: lv2core-devel = 6.0-4
Obsoletes: lv2core-devel < 6.0-4
Provides: lv2-ui-devel = 2.4-5
@ -72,21 +75,19 @@ Example LV2 audio plugins
%prep
%setup -q
# Fix wrong interpreter in lv2specgen.py
sed -i '1s|^#!.*|#!%{__python2}|' lv2specgen/lv2specgen.py
sed -i '1s|^#!.*|#!%{__python3}|' lv2specgen/lv2specgen.py
%build
export CFLAGS="%{optflags}"
export LDFLAGS="%{__global_ldflags}"
%{__python2} waf configure -vv --prefix=%{_prefix} --libdir=%{_libdir} --debug \
%set_build_flags
%{__python3} waf configure -vv --prefix=%{_prefix} --libdir=%{_libdir} \
--docs --docdir=%{_pkgdocdir} --lv2dir=%{_libdir}/lv2
%{__python2} waf -vv %{?_smp_mflags}
%{__python3} waf -vv %{?_smp_mflags}
%install
rm -rf %buildroot
DESTDIR=%buildroot %{__python2} waf -vv install
DESTDIR=%buildroot %{__python3} waf -vv install
mv %{buildroot}%{_pkgdocdir}/%{name}/lv2plug.in/* %{buildroot}%{_pkgdocdir}
find %{buildroot}%{_pkgdocdir} -type d -empty | xargs rmdir
for f in COPYING NEWS README.md ; do
for f in COPYING NEWS README.md build/plugins/book.{txt,html} ; do
install -p -m0644 $f %{buildroot}%{_pkgdocdir}
done
@ -103,11 +104,11 @@ done
%files devel
%{_bindir}/lv2specgen.py
%{_bindir}/lv2_validate
%{_datadir}/lv2specgen
%{_includedir}/%{name}.h
%{_includedir}/%{name}/
%{_libdir}/%{name}/*/*.[hc]
%{_libdir}/pkgconfig/lv2core.pc
%{_libdir}/pkgconfig/%{name}.pc
%exclude %{_libdir}/%{name}/eg-*
@ -119,6 +120,11 @@ done
%{_pkgdocdir}/
%changelog
* Tue Apr 23 2019 Guido Aulisi <guido.aulisi@gmail.com> - 1.16.0-1
- Update to 1.16.0
- Use python3
- Some spec cleanup
* Tue Feb 19 2019 Guido Aulisi <guido.aulisi@gmail.com> - 1.14.0-9
- Add missing dependency in devel package

@ -1 +1 @@
SHA512 (lv2-1.14.0.tar.bz2) = 6991d848ed9f04a48ca3070efc15af83431f680aa8a8559a02b1666f7b8d43af8e089f78c3b14ad3345dac32fd1c8ad0faf3a3f56dddc07c6f0e0aeef4077498
SHA512 (lv2-1.16.0.tar.bz2) = ead6d590cded5dd7a548d6ffe0f2f9f8efadfa7bb9e8b4fa0aea6664ccdfbb3ca697514bddebe695a9442fba5b62714b5cd45c1bf7d0aaef12ffe50972c2d88c

Loading…
Cancel
Save