diff --git a/README.md b/README.md index 9b92141..edf5dab 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # lxqt-runner +lxqt-runner provides a GUI that comes up on the desktop and allows for launching applications or shutting down the system. + diff --git a/lxqt-runner.spec b/lxqt-runner.spec new file mode 100644 index 0000000..6b3cbef --- /dev/null +++ b/lxqt-runner.spec @@ -0,0 +1,62 @@ +Name: lxqt-runner +Version: 0.16.0 +Release: 1mamba +Summary: A GUI that comes up on the desktop and allows for launching applications or shutting down the system +Group: Graphical Desktop/Applications/Environment +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://github.com/lxqt/lxqt-runner +Source: https://github.com/lxqt/lxqt-runner.git/%{version}/lxqt-runner-%{version}.tar.bz2 +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: ldconfig +BuildRequires: libgcc +BuildRequires: libglib-devel +BuildRequires: libkwindowsystem-devel +BuildRequires: liblxqt-devel +BuildRequires: liblxqt-globalkeys-devel +BuildRequires: libmuparser-devel +BuildRequires: libqt5-devel +BuildRequires: libqtxdg-devel +BuildRequires: libstdc++6-devel +## AUTOBUILDREQ-END +BuildRequires: cmake +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +lxqt-runner provides a GUI that comes up on the desktop and allows for launching applications or shutting down the system. + +%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) +%{_sysconfdir}/xdg/autostart/lxqt-runner.desktop +%{_bindir}/lxqt-runner +%{_mandir}/man1/lxqt-runner.1* +%doc AUTHORS LICENSE + +%changelog +* Sun Nov 08 2020 Silvan Calarco 0.16.0-1mamba +- package created using the webbuild interface