mirror of
https://github.com/terrapkg/packages.git
synced 2026-05-31 09:01:55 +00:00
chore (arduino-lab-micropython-installer): add %check (#8618)
Signed-off-by: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com>
This commit is contained in:
@@ -11,8 +11,10 @@ Source1: micropython-installer.desktop
|
|||||||
Packager: Owen Zimmerman <owen@fyralabs.com>
|
Packager: Owen Zimmerman <owen@fyralabs.com>
|
||||||
Requires: libdrm libxcb
|
Requires: libdrm libxcb
|
||||||
BuildRequires: anda-srpm-macros
|
BuildRequires: anda-srpm-macros
|
||||||
|
BuildRequires: desktop-file-utils
|
||||||
BuildRequires: pnpm
|
BuildRequires: pnpm
|
||||||
Provides: arduino-lab-micropython-installer
|
Provides: arduino-lab-micropython-installer
|
||||||
|
|
||||||
%description
|
%description
|
||||||
MicroPython Installer for Arduino is a cross-platform tool that streamlines the process of downloading
|
MicroPython Installer for Arduino is a cross-platform tool that streamlines the process of downloading
|
||||||
and installing MicroPython firmware on compatible Arduino boards. It is compatible with macOS, Linux,
|
and installing MicroPython firmware on compatible Arduino boards. It is compatible with macOS, Linux,
|
||||||
@@ -26,7 +28,10 @@ and Windows and is built using the Electron framework.
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
%electron_install -i micropython-installer -s micropython-installer -d micropython-installer -b micropython-installer
|
%electron_install -i micropython-installer -s micropython-installer -d micropython-installer -b micropython-installer
|
||||||
install -Dm644 %{SOURCE1} %{buildroot}%{_datadir}/applications/micropython-installer.desktop
|
install -Dm644 %{SOURCE1} %{buildroot}%{_appsdir}/micropython-installer.desktop
|
||||||
|
|
||||||
|
%check
|
||||||
|
desktop-file-validate %{buildroot}%{_datadir}/applications/micropython-installer.desktop
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc README.md
|
%doc README.md
|
||||||
|
|||||||
Reference in New Issue
Block a user