Add carla.appdata.xml file
This commit is contained in:
parent
036cd894f4
commit
629d1bea0e
14
Carla.spec
14
Carla.spec
|
@ -2,7 +2,7 @@
|
|||
|
||||
Name: Carla
|
||||
Version: 2.3.0
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: Audio plugin host
|
||||
|
||||
# The entire source code is GPLv2+ except
|
||||
|
@ -51,6 +51,7 @@ Epoch: 1
|
|||
License: GPLv2+ and BSD and Boost and ISC and MIT and zlib
|
||||
URL: https://github.com/falkTX/Carla
|
||||
Source0: https://github.com/falkTX/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||
Source1: carla.appdata.xml
|
||||
Patch0: Carla-gcc11-include.patch
|
||||
|
||||
#ExcludeArch: ppc64le
|
||||
|
@ -73,6 +74,8 @@ BuildRequires: pkgconfig(liblo)
|
|||
BuildRequires: pkgconfig(zlib)
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: make
|
||||
BuildRequires: /usr/bin/appstream-util
|
||||
BuildRequires: /usr/bin/desktop-file-validate
|
||||
Requires: python3-qt5
|
||||
Requires: python3-pyliblo
|
||||
Requires: hicolor-icon-theme
|
||||
|
@ -171,8 +174,13 @@ chmod a+x %{buildroot}%{_datadir}/%{pname}/{carla,carla-control,carla-jack-multi
|
|||
# fix perm due rpmlint W: unstripped-binary-or-object /usr/lib64/carla/libcarla_interposer-jack-x11.so
|
||||
find %{buildroot}%{_libdir} -name '*.so' -exec chmod +x '{}' ';'
|
||||
|
||||
# Install appdata file
|
||||
mkdir -p %{buildroot}%{_datadir}/metainfo
|
||||
install -p -m 0644 %SOURCE1 %{buildroot}%{_datadir}/metainfo
|
||||
|
||||
%check
|
||||
desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop
|
||||
appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/%{pname}.appdata.xml
|
||||
|
||||
%files
|
||||
%doc README.md
|
||||
|
@ -199,6 +207,7 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop
|
|||
%{_datadir}/icons/hicolor/*/apps/%{pname}*.png
|
||||
%{_datadir}/icons/hicolor/*/apps/%{pname}*.svg
|
||||
%{_datadir}/mime/packages/%{pname}.xml
|
||||
%{_datadir}/metainfo/%{pname}.appdata.xml
|
||||
|
||||
%files vst
|
||||
%{_libdir}/vst/
|
||||
|
@ -215,6 +224,9 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop
|
|||
%{_libdir}/pkgconfig/%{pname}-host-plugin.pc
|
||||
|
||||
%changelog
|
||||
* Wed May 26 2021 Jan Beran <jaberan@redhat.com> - 1:2.3.0-2
|
||||
- Add carla.appdata.xml file
|
||||
|
||||
* Thu Apr 15 2021 Martin Gansser <martinkg@fedoraproject.org> - 1:2.3.0-1
|
||||
- Update to 2.3.0
|
||||
|
||||
|
|
Loading…
Reference in New Issue