@ -1,12 +1,9 @@
%global debug_package %{nil}
%{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}}
%{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}}
Name: lv2
Name: lv2
Version: 1.12 .0
Version: 1.14 .0
Release: 2 %{?dist}
Release: 1 %{?dist}
Summary: Audio Plugin Standard
Summary: Audio Plugin Standard
Group: System Environment/Libraries
# lv2specgen template.html is CC-AT-SA
# lv2specgen template.html is CC-AT-SA
License: ISC
License: ISC
@ -15,10 +12,8 @@ Source: http://lv2plug.in/spec/lv2-%{version}.tar.bz2
BuildRequires: doxygen graphviz python-rdflib
BuildRequires: doxygen graphviz python-rdflib
BuildRequires: libsndfile-devel
BuildRequires: libsndfile-devel
# TODO: it complains about missing this,
BuildRequires: gcc
# (Error importing pygments, syntax highlighting disabled)
BuildRequires: python-pygments
# but the syntax-highlighting in the generated docs looks strange
#BuildRequires: python-pygments
# this package replaces lv2core
# this package replaces lv2core
Provides: lv2core = 6.0-4
Provides: lv2core = 6.0-4
@ -42,7 +37,6 @@ LADSPA which many hosts have outgrown.
%package devel
%package devel
Summary: API for the LV2 Audio Plugin Standard
Summary: API for the LV2 Audio Plugin Standard
Group: Development/Libraries
Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: %{name}%{?_isa} = %{version}-%{release}
Provides: lv2core-devel = 6.0-4
Provides: lv2core-devel = 6.0-4
@ -52,7 +46,7 @@ Obsoletes: lv2-ui-devel < 2.4-5
%description devel
%description devel
lv2-devel contains the lv2.h header file and headers for all of the
lv2-devel contains the lv2.h header file and headers for all of the
LV@ specification extensions and bundles.
LV2 specification extensions and bundles.
Definitive technical documentation on LV2 plug-ins for both the host
Definitive technical documentation on LV2 plug-ins for both the host
and plug-in is contained within copious comments within the lv2.h
and plug-in is contained within copious comments within the lv2.h
@ -60,7 +54,6 @@ header file.
%package doc
%package doc
Summary: Documentation for the LV2 Audio Plugin Standard
Summary: Documentation for the LV2 Audio Plugin Standard
Group: Documentation
BuildArch: noarch
BuildArch: noarch
Obsoletes: %{name}-docs < 1.6.0-2
Obsoletes: %{name}-docs < 1.6.0-2
Provides: %{name}-docs = %{version}-%{release}
Provides: %{name}-docs = %{version}-%{release}
@ -70,7 +63,6 @@ Documentation for the LV2 plugin API.
%package example-plugins
%package example-plugins
Summary: Examples of the LV2 Audio Plugin Standard
Summary: Examples of the LV2 Audio Plugin Standard
Group: Audio/Multimedia
%description example-plugins
%description example-plugins
Example LV2 audio plugins
Example LV2 audio plugins
@ -80,6 +72,7 @@ Example LV2 audio plugins
%build
%build
export CFLAGS="%{optflags}"
export CFLAGS="%{optflags}"
export LDFLAGS="%{__global_ldflags}"
./waf configure -vv --prefix=%{_prefix} --libdir=%{_libdir} --debug \
./waf configure -vv --prefix=%{_prefix} --libdir=%{_libdir} --debug \
--docs --docdir=%{_pkgdocdir} --lv2dir=%{_libdir}/lv2
--docs --docdir=%{_pkgdocdir} --lv2dir=%{_libdir}/lv2
./waf -vv %{?_smp_mflags}
./waf -vv %{?_smp_mflags}
@ -105,21 +98,34 @@ rm -rf %buildroot
%{_libdir}/%{name}/
%{_libdir}/%{name}/
%exclude %{_libdir}/%{name}/*/*.[ch]
%exclude %{_libdir}/%{name}/*/*.[ch]
%exclude %{_libdir}/%{name}/eg-*
%files devel
%files devel
%{_bindir}/lv2specgen.py
%{_bindir}/lv2specgen.py
%{_datadir}/lv2specgen
%{_datadir}/lv2specgen
%{_includedir}/%{name}.h
%{_includedir}/%{name}.h
%{_includedir}/%{name}/
%{_includedir}/%{name}/
%{_libdir}/%{name}/eg-*
%{_libdir}/%{name}/*/*.[hc]
%{_libdir}/%{name}/*/*.[hc]
%{_libdir}/pkgconfig/lv2core.pc
%{_libdir}/pkgconfig/lv2core.pc
%{_libdir}/pkgconfig/%{name}.pc
%{_libdir}/pkgconfig/%{name}.pc
%exclude %{_libdir}/%{name}/eg-*
%files example-plugins
%{_libdir}/%{name}/eg-*
%files doc
%files doc
%{_pkgdocdir}/
%{_pkgdocdir}/
%changelog
%changelog
* Mon Mar 13 2017 Guido Aulisi <guido.aulisi@gmail.com> - 1.14.0-1
- Update to 1.14.0
- Move examples to the example-plugins subpackage
- Provide debuginfo for the examples
- Use hardened LDFLAGS
- Enable syntax highlighting in doc subpackage
- Remove deprecated Groups tags
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.12.0-2
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.12.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild