Update to 1.18.8, clean up SPEC file

epel9
Simone Caronni 2 years ago
parent 5617bb94a5
commit 0977145ca9

1
.gitignore vendored

@ -10,3 +10,4 @@
/lv2-1.18.0.tar.bz2 /lv2-1.18.0.tar.bz2
/lv2-1.18.2.tar.bz2 /lv2-1.18.2.tar.bz2
/lv2-1.18.4.tar.bz2 /lv2-1.18.4.tar.bz2
/lv2-1.18.8.tar.xz

@ -1,27 +1,27 @@
%{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}} %{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}}
Name: lv2 Name: lv2
Version: 1.18.4 Version: 1.18.8
Release: 2%{?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
License: ISC License: ISC
URL: https://lv2plug.in URL: https://lv2plug.in
Source: https://lv2plug.in/spec/lv2-%{version}.tar.bz2 Source: https://lv2plug.in/spec/lv2-%{version}.tar.xz
BuildRequires: asciidoc
Buildrequires: cairo-devel >= 1.8.10
BuildRequires: doxygen BuildRequires: doxygen
BuildRequires: gcc-c++
BuildRequires: graphviz BuildRequires: graphviz
BuildRequires: libsndfile-devel BuildRequires: libsndfile-devel
BuildRequires: gcc BuildRequires: meson
BuildRequires: gcc-c++ BuildRequires: pkgconfig(samplerate)
BuildRequires: python3-devel
BuildRequires: python3-pygments BuildRequires: python3-pygments
Buildrequires: python3-rdflib Buildrequires: python3-rdflib
Buildrequires: python3-markdown Buildrequires: python3-markdown
Buildrequires: python3-lxml Buildrequires: python3-lxml
Buildrequires: asciidoc
Buildrequires: cairo-devel >= 1.8.10
# this package replaces lv2core # this package replaces lv2core
Provides: lv2core = 6.0-4 Provides: lv2core = 6.0-4
@ -75,56 +75,53 @@ Documentation for the LV2 plugin API.
Summary: Examples of the LV2 Audio Plugin Standard Summary: Examples of the LV2 Audio Plugin Standard
%description example-plugins %description example-plugins
Example LV2 audio plugins Example plugins for the LV2 Audio Plugin Standard.
%prep %prep
%setup -q %autosetup -p1
# Fix wrong interpreter in lv2specgen.py # Fix wrong interpreter in lv2specgen.py
sed -i '1s|^#!.*|#!%{__python3}|' lv2specgen/lv2specgen.py sed -i '1s|^#!.*|#!%{__python3}|' lv2specgen/lv2specgen.py
%build %build
%set_build_flags %meson \
%{__python3} waf configure -vv --prefix=%{_prefix} --libdir=%{_libdir} \ -D docs=enabled \
--docs --docdir=%{_pkgdocdir} --lv2dir=%{_libdir}/lv2 --no-check-links -D old_headers=false \
%{__python3} waf -vv %{?_smp_mflags} -D tests=disabled
%meson_build
%install %install
DESTDIR=%{buildroot} %{__python3} waf -vv install %meson_install
mv %{buildroot}%{_pkgdocdir}/%{name}/* %{buildroot}%{_pkgdocdir}
find %{buildroot}%{_pkgdocdir} -type d -empty | xargs rmdir # Let RPM pick docs in the files section
for f in COPYING NEWS README.md build/plugins/book.{txt,html} ; do rm -fr %{buildroot}%{_docdir}/%{name}
install -p -m0644 $f %{buildroot}%{_pkgdocdir}
done
%files %files
# don't include doc files via %%doc here (bz 913540) %license COPYING
%dir %{_pkgdocdir} %doc NEWS README.md
%{_pkgdocdir}/COPYING
%{_pkgdocdir}/NEWS
%{_pkgdocdir}/README.md
%{_libdir}/%{name}/ %{_libdir}/%{name}/
%exclude %{_libdir}/%{name}/*/*.[ch]
%exclude %{_libdir}/%{name}/eg-* %exclude %{_libdir}/%{name}/eg-*
%files devel %files devel
%{_bindir}/lv2specgen.py %{_bindir}/lv2specgen.py
%{_bindir}/lv2_validate %{_bindir}/lv2_validate
%{_datadir}/lv2specgen %{_datadir}/lv2specgen
%{_includedir}/%{name}.h
%{_includedir}/%{name}/ %{_includedir}/%{name}/
%{_libdir}/%{name}/*/*.[hc]
%{_libdir}/pkgconfig/%{name}.pc %{_libdir}/pkgconfig/%{name}.pc
%exclude %{_libdir}/%{name}/eg-* %exclude %{_libdir}/%{name}/eg-*
%files example-plugins %files example-plugins
%{_libdir}/%{name}/eg-* %{_libdir}/%{name}/eg-*
%files doc %files doc
%{_pkgdocdir}/ %doc %{_vpath_builddir}/doc/*
%changelog %changelog
* Tue Aug 30 2022 Simone Caronni <negativo17@gmail.com> - 1.18.8-1
- Update to 1.18.8, switch to Meson.
- Update docs installation.
- Drop gcc/python-devel build requirements.
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.18.4-2 * Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.18.4-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild

@ -1 +1 @@
SHA512 (lv2-1.18.4.tar.bz2) = 8095a1f3dcf70cf8cefff18c40b52c1dffeab0fe1f6bfb083c9f0e48a9617d3c8647b3f4db567ac1f5f33564399ffe1023774ad9bacb1bb0133f182422f22d6a SHA512 (lv2-1.18.8.tar.xz) = 9925290818bd683200bc738e3e9342b946fe82a04d983e89c240ae70b9053a7a59a8d505c522fe7af5b804adeba00fdf94403bd34844ce11e26cc1ff62c2f254

Loading…
Cancel
Save