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