diff --git a/README.md b/README.md index 2e69517..22d945f 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # qps +Qt Process Manager. + diff --git a/qps.spec b/qps.spec new file mode 100644 index 0000000..7eb57b9 --- /dev/null +++ b/qps.spec @@ -0,0 +1,61 @@ +Name: qps +Version: 2.2.0 +Release: 1mamba +Summary: Qt Process Manager +Group: Graphical Desktop/Applications/Utilities +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://github.com/lxqt/qps +Source: https://github.com/lxqt/qps.git/%{version}/qps-%{version}.tar.bz2 +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: ldconfig +BuildRequires: libgcc +BuildRequires: libglib-devel +BuildRequires: libkwindowsystem-devel +BuildRequires: liblxqt-devel +BuildRequires: libqt5-devel +BuildRequires: libqtxdg-devel +BuildRequires: libstdc++6-devel +## AUTOBUILDREQ-END +BuildRequires: cmake +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +Qt Process Manager. + +%debug_package + +%prep +%setup -q + +%build +%cmake -d build +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall -C build + +find %{buildroot}%{_datadir}/*/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}/qps +%{_datadir}/applications/qps.desktop +%{_datadir}/icons/hicolor/48x48/apps/qps.png +%{_mandir}/man1/qps.1* +%doc COPYING + +%changelog +* Mon Nov 09 2020 Silvan Calarco 2.2.0-1mamba +- package created using the webbuild interface