1581b34
%{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}}
1581b34
4b1f61f
Name:           lv2
44f0804
Version:        1.14.0
95469d1
Release:        8%{?dist}
4b1f61f
Summary:        Audio Plugin Standard
4b1f61f
4b1f61f
# lv2specgen template.html is CC-AT-SA
4b1f61f
License:        ISC
4b1f61f
URL:            http://lv2plug.in
4b1f61f
Source:         http://lv2plug.in/spec/lv2-%{version}.tar.bz2
4b1f61f
1e4caf6
BuildRequires:  doxygen graphviz python2-rdflib
8e87d9e
BuildRequires:  libsndfile-devel
44f0804
BuildRequires:  gcc
1e4caf6
BuildRequires:  python2-pygments
93b4adf
BuildRequires:  python2-devel
1581b34
4b1f61f
# this package replaces lv2core 
4b1f61f
Provides:       lv2core = 6.0-4
4b1f61f
Obsoletes:      lv2core < 6.0-4
4b1f61f
Provides:       lv2-ui = 2.4-5
4b1f61f
Obsoletes:      lv2-ui < 2.4-5
4b1f61f
4b1f61f
%description
4b1f61f
LV2 is a standard for plugins and matching host applications, mainly
4b1f61f
targeted at audio processing and generation.  
4b1f61f
4b1f61f
There are a large number of open source and free software synthesis
4b1f61f
packages in use or development at this time. This API ('LV2') attempts
4b1f61f
to give programmers the ability to write simple 'plugin' audio
4b1f61f
processors in C/C++ and link them dynamically ('plug') into a range of
4b1f61f
these packages ('hosts').  It should be possible for any host and any
4b1f61f
plugin to communicate completely through this interface.
4b1f61f
4b1f61f
LV2 is a successor to LADSPA, created to address the limitations of
4b1f61f
LADSPA which many hosts have outgrown.
4b1f61f
4b1f61f
%package        devel
4b1f61f
Summary:        API for the LV2 Audio Plugin Standard
4b1f61f
4b1f61f
Requires:       %{name}%{?_isa} = %{version}-%{release}
4b1f61f
Provides:       lv2core-devel = 6.0-4
4b1f61f
Obsoletes:      lv2core-devel < 6.0-4
4b1f61f
Provides:       lv2-ui-devel = 2.4-5
4b1f61f
Obsoletes:      lv2-ui-devel < 2.4-5
4b1f61f
4b1f61f
%description    devel
4b1f61f
lv2-devel contains the lv2.h header file and headers for all of the
44f0804
LV2 specification extensions and bundles.
4b1f61f
4b1f61f
Definitive technical documentation on LV2 plug-ins for both the host
4b1f61f
and plug-in is contained within copious comments within the lv2.h
4b1f61f
header file.
4b1f61f
1581b34
%package        doc
5186754
Summary:        Documentation for the LV2 Audio Plugin Standard
5186754
BuildArch:      noarch
1581b34
Obsoletes:      %{name}-docs < 1.6.0-2
1581b34
Provides:       %{name}-docs = %{version}-%{release}
5186754
1581b34
%description    doc
5186754
Documentation for the LV2 plugin API.
5186754
5929969
%package        example-plugins
5929969
Summary:        Examples of the LV2 Audio Plugin Standard
5929969
5929969
%description    example-plugins
5929969
Example LV2 audio plugins
5929969
4b1f61f
%prep
4b1f61f
%setup -q
93b4adf
# Fix wrong interpreter in lv2specgen.py
93b4adf
sed -i '1s|^#!.*|#!%{__python2}|' lv2specgen/lv2specgen.py
4b1f61f
4b1f61f
%build
5929969
export CFLAGS="%{optflags}"
44f0804
export LDFLAGS="%{__global_ldflags}"
e5b6ef0
%{__python2} waf configure -vv --prefix=%{_prefix} --libdir=%{_libdir} --debug \
094e710
  --docs --docdir=%{_pkgdocdir} --lv2dir=%{_libdir}/lv2
e5b6ef0
%{__python2} waf -vv %{?_smp_mflags}
4b1f61f
4b1f61f
%install
4b1f61f
rm -rf %buildroot
e5b6ef0
DESTDIR=%buildroot %{__python2} waf -vv install
1581b34
mv %{buildroot}%{_pkgdocdir}/%{name}/lv2plug.in/* %{buildroot}%{_pkgdocdir}
1581b34
find %{buildroot}%{_pkgdocdir} -type d -empty | xargs rmdir
094e710
for f in COPYING NEWS README.md ; do
1581b34
    install -p -m0644 $f %{buildroot}%{_pkgdocdir}
1581b34
done
4b1f61f
4b1f61f
%files
1581b34
# don't include doc files via %%doc here (bz 913540)
1581b34
%dir %{_pkgdocdir}
1581b34
%{_pkgdocdir}/COPYING
1581b34
%{_pkgdocdir}/NEWS
094e710
%{_pkgdocdir}/README.md
4b1f61f
%{_libdir}/%{name}/
5929969
4b1f61f
%exclude %{_libdir}/%{name}/*/*.[ch]
44f0804
%exclude %{_libdir}/%{name}/eg-*
4b1f61f
4b1f61f
%files devel
5929969
%{_bindir}/lv2specgen.py
5929969
%{_datadir}/lv2specgen
4b1f61f
%{_includedir}/%{name}.h
4b1f61f
%{_includedir}/%{name}/
4b1f61f
%{_libdir}/%{name}/*/*.[hc]
4b1f61f
%{_libdir}/pkgconfig/lv2core.pc
4b1f61f
%{_libdir}/pkgconfig/%{name}.pc
4b1f61f
44f0804
%exclude %{_libdir}/%{name}/eg-*
44f0804
44f0804
%files example-plugins
44f0804
%{_libdir}/%{name}/eg-*
44f0804
1581b34
%files doc
1581b34
%{_pkgdocdir}/
5186754
4b1f61f
%changelog
95469d1
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.14.0-8
95469d1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
95469d1
e5b6ef0
* Sun Jul 15 2018 Guido Aulisi <guido.aulisi@gmail.com> - 1.14.0-7
e5b6ef0
- Fix FTBFS due to the move of /usr/bin/python into a separate package
e5b6ef0
ef6257a
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.14.0-6
ef6257a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
ef6257a
1e4caf6
* Wed Feb 07 2018 Iryna Shcherbina <ishcherb@redhat.com> - 1.14.0-5
1e4caf6
- Update Python 2 dependency declarations to new packaging standards
1e4caf6
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
1e4caf6
22d7637
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.14.0-4
22d7637
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
22d7637
589d8a8
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.14.0-3
589d8a8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
589d8a8
93b4adf
* Mon Mar 27 2017 Guido Aulisi <guido.aulisi@gmail.com> - 1.14.0-2
93b4adf
- Fix wrong interpreter in lv2specgen.py
93b4adf
44f0804
* Mon Mar 13 2017 Guido Aulisi <guido.aulisi@gmail.com> - 1.14.0-1
44f0804
- Update to 1.14.0
44f0804
- Move examples to the example-plugins subpackage
44f0804
- Provide debuginfo for the examples
44f0804
- Use hardened LDFLAGS
44f0804
- Enable syntax highlighting in doc subpackage
44f0804
- Remove deprecated Groups tags
44f0804
8f9f70e
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.12.0-2
8f9f70e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
8f9f70e
094e710
* Fri Sep 16 2016 Brendan Jones <brendan.jones.it@gmail.com> - 1.12.0-1
094e710
- Update to 1.12.0
094e710
9588ace
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.10.0-4
9588ace
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
9588ace
5f64968
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.10.0-3
5f64968
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
5f64968
8e87d9e
* Tue Aug 19 2014 Brendan Jones <brendan.jones.it@gmail.com> 1.10.0-2
8e87d9e
- Ad miising libsndfile
8e87d9e
65876ad
* Tue Aug 19 2014 Brendan Jones <brendan.jones.it@gmail.com> 1.10.0-1
65876ad
- Update to 1.10.0
65876ad
16ed020
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8.0-3
16ed020
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
16ed020
44eaf65
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8.0-2
44eaf65
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
44eaf65
5929969
* Thu Jan 09 2014 Brendan Jones <brendan.jones.it@gmail.com> 1.8.0-1
5929969
- Upstream maintenance release
5929969
- Add example plugins
5929969
1581b34
* Sun Sep 22 2013 Michael Schwendt <mschwendt@fedoraproject.org> - 1.6.0-2
1581b34
- Don't duplicate -doc package contents in base package (#913540).
1581b34
- Define and use %%_pkgdocdir as suggested by the Unversioned Docdirs
1581b34
  change for Fedora 20 (#993908).
1581b34
- Pass --docdir= to waf.
1581b34
- Use Group Documentation in -doc subpackage.
1581b34
- Rename -docs package to -doc as recommended in the guidelines.
1581b34
- The documentation subpackage does not need the base package.
1581b34
f94e609
* Fri Aug 23 2013 Brendan Jones <brendan.jones.it@gmail.com> 1.6.0-1
f94e609
- Update to 1.6.0
f94e609
af91b51
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.0-2
af91b51
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
af91b51
afd9e3b
* Tue May 21 2013 Brendan Jones <brendan.jones.it@gmail.com> 1.4.0-1
afd9e3b
- New upstream release 
afd9e3b
4399457
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0-2
4399457
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
4399457
5186754
* Sat Oct 20 2012 Brendan Jones <brendan.jones.it@gmail.com> 1.2.0-1
5186754
- New upstream release
5186754
67ea0e6
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.0-8
67ea0e6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
67ea0e6
22be706
* Wed Jun 13 2012 Brendan Jones <brendan.jones.it@gmail.com> 1.0.0-7
22be706
- Remove date from doxygen footers
22be706
bf6ee90
* Sat Apr 21 2012 Brendan Jones <brendan.jones.it@gmail.com> - 1.0.0-6
bf6ee90
- Re-suppress debuginfo
bf6ee90
bdff18c
* Sat Apr 21 2012 Brendan Jones <brendan.jones.it@gmail.com> - 1.0.0-5
bdff18c
- libsndfile no longer required
bdff18c
e588990
* Sat Apr 21 2012 Brendan Jones <brendan.jones.it@gmail.com> - 1.0.0-4
e588990
- remove examples 
e588990
2ec53e6
* Fri Apr 20 2012 Brendan Jones <brendan.jones.it@gmail.com> - 1.0.0-3
2ec53e6
- dd libsndfile BR
2ec53e6
4b1f61f
* Fri Apr 20 2012 Brendan Jones <brendan.jones.it@gmail.com> - 1.0.0-2
4b1f61f
- Remove debuginfo supression, correct changelog
4b1f61f
4b1f61f
* Fri Apr 20 2012 Brendan Jones <brendan.jones.it@gmail.com> - 1.0.0-1
4b1f61f
- Created
4b1f61f