package created using the webbuild interface [release 0.3.5-1mamba;Wed Jul 07 2021]

This commit is contained in:
Silvan Calarco 2024-01-06 07:21:10 +01:00
parent b876c0505c
commit f395b861de
3 changed files with 73 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# mqtt-explorer # mqtt-explorer
An all-round MQTT client that provides a structured topic overview.

11
mqtt-explorer.desktop Normal file
View File

@ -0,0 +1,11 @@
[Desktop Entry]
Name=MQTT Explorer
GenericName=MQTT Explorer
Comment=A comprehensive and easy-to-use MQTT Client.
Exec=yarn --cwd /usr/share/mqtt-explorer start
Icon=/usr/share/mqtt-explorer/icon
StartupNotify=false
Terminal=false
Type=Application
Categories=Utility;
Keywords=MQTT;Explorer;

60
mqtt-explorer.spec Normal file
View File

@ -0,0 +1,60 @@
Name: mqtt-explorer
Version: 0.3.5
Release: 1mamba
Summary: An all-round MQTT client that provides a structured topic overview
Group: Graphical Desktop/Applications/Networking
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://mqtt-explorer.com/
Source: https://github.com/thomasnordquist/MQTT-Explorer.git/v%{version}/MQTT-Explorer-%{version}.tar.bz2
Source1: mqtt-explorer.desktop
License: CCPL:by-nd
## AUTOBUILDREQ-BEGIN
## AUTOBUILDREQ-END
BuildRequires: yarn
Requires: yarn
%description
An all-round MQTT client that provides a structured topic overview.
%debug_package
%prep
%setup -q -n MQTT-Explorer-%{version}
%global __requires_exclude_from ^%{_datadir}/mqtt-explorer/.*$
%build
yarn
yarn build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
install -d -m0755 %{buildroot}%{_datadir}/mqtt-explorer
cp -r * %{buildroot}%{_datadir}/mqtt-explorer/
install -D -m0644 %{SOURCE1} %{buildroot}%{_datadir}/applications/mqtt-explorer.desktop
install -d -m0755 %{buildroot}%{_bindir}
cat > %{buildroot}%{_datadir}/mqtt-explorer/mqtt-explorer << _EOF
#!/bin/bash
yarn --cwd %{_datadir}/mqtt-explorer start
_EOF
chmod +x %{buildroot}%{_datadir}/mqtt-explorer/mqtt-explorer
ln -s ../share/mqtt-explorer/mqtt-explorer %{buildroot}%{_bindir}/mqtt-explorer
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_bindir}/mqtt-explorer
%{_datadir}/applications/mqtt-explorer.desktop
%dir %{_datadir}/mqtt-explorer
%{_datadir}/mqtt-explorer/*
%changelog
* Wed Jul 07 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 0.3.5-1mamba
- package created using the webbuild interface