From 94b217c1ca89d49def49765cc90d0ae762cfebf5 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 17:18:17 +0100 Subject: [PATCH] package created using the webbuild interface [release 0.15.0-1mamba;Fri Oct 02 2020] --- README.md | 2 ++ qterminal.spec | 60 ++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 62 insertions(+) create mode 100644 qterminal.spec diff --git a/README.md b/README.md index 74f9ed3..f02eb17 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # qterminal +QTerminal is a lightweight Qt terminal emulator based on QTermWidget. + diff --git a/qterminal.spec b/qterminal.spec new file mode 100644 index 0000000..42fb261 --- /dev/null +++ b/qterminal.spec @@ -0,0 +1,60 @@ +Name: qterminal +Version: 0.15.0 +Release: 1mamba +Summary: A lightweight Qt terminal emulator based on QTermWidget +Group: Graphical Desktop/Applications/Utilities +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://github.com/lxqt/qterminal +Source: https://github.com/lxqt/qterminal.git/%{version}/qterminal-%{version}.tar.bz2 +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: ldconfig +BuildRequires: libX11-devel +BuildRequires: libgcc +BuildRequires: libqt5-devel +BuildRequires: libqtermwidget-devel +BuildRequires: libstdc++6-devel +## AUTOBUILDREQ-END +BuildRequires: cmake +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +QTerminal is a lightweight Qt terminal emulator based on QTermWidget. + +%debug_package + +%prep +%setup -q + +%build +%cmake -d build +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall -C build + +find %{buildroot}/usr/share/*/translations/ -name *.qm | \ +while read line; do + bn=`echo ${line}|cut -d_ -f2-3` + echo "%lang(${bn/.*}) ${line/*-root}" >> %{name}.lang +done + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files -f %{name}.lang +%defattr(-,root,root) +%{_bindir}/qterminal +%{_datadir}/appdata/qterminal.appdata.xml +%{_datadir}/applications/qterminal.desktop +%{_datadir}/applications/qterminal_drop.desktop +%{_datadir}/icons/hicolor/64x64/apps/qterminal.png +%doc AUTHORS LICENSE + +%changelog +* Fri Oct 02 2020 Silvan Calarco 0.15.0-1mamba +- package created using the webbuild interface