qterminal/qterminal.spec

68 lines
1.9 KiB
RPMSpec
Raw Normal View History

Name: qterminal
Version: 0.17.0
Release: 1mamba
Summary: A lightweight Qt terminal emulator based on QTermWidget
Group: Graphical Desktop/Applications/Utilities
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
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: libX11-devel
BuildRequires: libgcc
BuildRequires: libqt5-devel
BuildRequires: libqtermwidget-devel
BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END
BuildRequires: cmake
%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
* Sat Apr 24 2021 Automatic Build System <autodist@mambasoft.it> 0.17.0-1mamba
- automatic version update by autodist
* Sun Nov 15 2020 Automatic Build System <autodist@mambasoft.it> 0.16.1-1mamba
- automatic version update by autodist
* Mon Nov 09 2020 Automatic Build System <autodist@mambasoft.it> 0.16.0-1mamba
- automatic version update by autodist
* Fri Oct 02 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.15.0-1mamba
- package created using the webbuild interface