From bfc4dd2f764b6c57d56a2465397bdac4b4071d56 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 06:35:44 +0100 Subject: [PATCH] package created using the webbuild interface [release 0.15.0-1mamba;Fri Oct 02 2020] --- README.md | 2 + lxqt-globalkeys.spec | 146 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 148 insertions(+) create mode 100644 lxqt-globalkeys.spec diff --git a/README.md b/README.md index 58253b7..8a803c7 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # lxqt-globalkeys +Tools to set global keyboard shortcuts in LXQt sessions, that is shortcuts which apply to the LXQt session as a whole and are not limited to distinct applications. + diff --git a/lxqt-globalkeys.spec b/lxqt-globalkeys.spec new file mode 100644 index 0000000..c0d0672 --- /dev/null +++ b/lxqt-globalkeys.spec @@ -0,0 +1,146 @@ +Name: lxqt-globalkeys +Version: 0.15.0 +Release: 1mamba +Summary: Tools to set global keyboard shortcuts in LXQt sessions +Group: Graphical Desktop/Applications/Environment +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://github.com/lxqt/lxqt-globalkeys +Source: https://github.com/lxqt/lxqt-globalkeys.git/%{version}/lxqt-globalkeys-%{version}.tar.bz2 +License: LGPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: ldconfig +BuildRequires: libICE-devel +BuildRequires: libSM-devel +BuildRequires: libX11-devel +BuildRequires: libXext-devel +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 +Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +Tools to set global keyboard shortcuts in LXQt sessions, that is shortcuts which apply to the LXQt session as a whole and are not limited to distinct applications. + +%package -n lib%{name} +Group: System/Libraries +Summary: Shared libraries for %{name} +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description -n lib%{name} +This package contains shared libraries for %{name}. + +%package -n lib%{name}-devel +Group: Development/Libraries +Summary: Development files for %{name} +Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} +Requires: pkg-config + +%description -n lib%{name}-devel +This package contains libraries and header files for developing applications that use %{name}. + + +%debug_package + +%prep +%setup -q + +%build +%cmake -d build +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall -C build + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -n lib%{name} -p /sbin/ldconfig +%postun -n lib%{name} -p /sbin/ldconfig + +%files +%defattr(-,root,root) +%{_sysconfdir}/xdg/autostart/lxqt-globalkeyshortcuts.desktop +%{_bindir}/lxqt-config-globalkeyshortcuts +%{_bindir}/lxqt-globalkeysd +%{_datadir}/applications/lxqt-config-globalkeyshortcuts.desktop +%{_datadir}/lxqt/globalkeyshortcuts.conf +%dir %{_datadir}/lxqt/translations/lxqt-config-globalkeyshortcuts +%lang(ar) %{_datadir}/lxqt/translations/lxqt-config-globalkeyshortcuts/lxqt-config-globalkeyshortcuts_ar.qm +%lang(arn) %{_datadir}/lxqt/translations/lxqt-config-globalkeyshortcuts/lxqt-config-globalkeyshortcuts_arn.qm +%lang(ast) %{_datadir}/lxqt/translations/lxqt-config-globalkeyshortcuts/lxqt-config-globalkeyshortcuts_ast.qm +%lang(ca) %{_datadir}/lxqt/translations/lxqt-config-globalkeyshortcuts/lxqt-config-globalkeyshortcuts_ca.qm +%lang(cs) %{_datadir}/lxqt/translations/lxqt-config-globalkeyshortcuts/lxqt-config-globalkeyshortcuts_cs.qm +%lang(cy) %{_datadir}/lxqt/translations/lxqt-config-globalkeyshortcuts/lxqt-config-globalkeyshortcuts_cy.qm +%lang(da) %{_datadir}/lxqt/translations/lxqt-config-globalkeyshortcuts/lxqt-config-globalkeyshortcuts_da.qm +%lang(de) %{_datadir}/lxqt/translations/lxqt-config-globalkeyshortcuts/lxqt-config-globalkeyshortcuts_de.qm +%lang(el) %{_datadir}/lxqt/translations/lxqt-config-globalkeyshortcuts/lxqt-config-globalkeyshortcuts_el.qm +%lang(en_GB) %{_datadir}/lxqt/translations/lxqt-config-globalkeyshortcuts/lxqt-config-globalkeyshortcuts_en_GB.qm +%lang(eo) %{_datadir}/lxqt/translations/lxqt-config-globalkeyshortcuts/lxqt-config-globalkeyshortcuts_eo.qm +%lang(es) %{_datadir}/lxqt/translations/lxqt-config-globalkeyshortcuts/lxqt-config-globalkeyshortcuts_es.qm +%lang(es_VE) %{_datadir}/lxqt/translations/lxqt-config-globalkeyshortcuts/lxqt-config-globalkeyshortcuts_es_VE.qm +%lang(eu) %{_datadir}/lxqt/translations/lxqt-config-globalkeyshortcuts/lxqt-config-globalkeyshortcuts_eu.qm +%lang(fi) %{_datadir}/lxqt/translations/lxqt-config-globalkeyshortcuts/lxqt-config-globalkeyshortcuts_fi.qm +%lang(fr) %{_datadir}/lxqt/translations/lxqt-config-globalkeyshortcuts/lxqt-config-globalkeyshortcuts_fr.qm +%lang(gl) %{_datadir}/lxqt/translations/lxqt-config-globalkeyshortcuts/lxqt-config-globalkeyshortcuts_gl.qm +%lang(he) %{_datadir}/lxqt/translations/lxqt-config-globalkeyshortcuts/lxqt-config-globalkeyshortcuts_he.qm +%lang(hu) %{_datadir}/lxqt/translations/lxqt-config-globalkeyshortcuts/lxqt-config-globalkeyshortcuts_hu.qm +%lang(id) %{_datadir}/lxqt/translations/lxqt-config-globalkeyshortcuts/lxqt-config-globalkeyshortcuts_id.qm +%lang(it) %{_datadir}/lxqt/translations/lxqt-config-globalkeyshortcuts/lxqt-config-globalkeyshortcuts_it.qm +%lang(ja) %{_datadir}/lxqt/translations/lxqt-config-globalkeyshortcuts/lxqt-config-globalkeyshortcuts_ja.qm +%lang(lt) %{_datadir}/lxqt/translations/lxqt-config-globalkeyshortcuts/lxqt-config-globalkeyshortcuts_lt.qm +%lang(lv) %{_datadir}/lxqt/translations/lxqt-config-globalkeyshortcuts/lxqt-config-globalkeyshortcuts_lv.qm +%lang(nb_NO) %{_datadir}/lxqt/translations/lxqt-config-globalkeyshortcuts/lxqt-config-globalkeyshortcuts_nb_NO.qm +%lang(nl) %{_datadir}/lxqt/translations/lxqt-config-globalkeyshortcuts/lxqt-config-globalkeyshortcuts_nl.qm +%lang(pl) %{_datadir}/lxqt/translations/lxqt-config-globalkeyshortcuts/lxqt-config-globalkeyshortcuts_pl.qm +%lang(pt) %{_datadir}/lxqt/translations/lxqt-config-globalkeyshortcuts/lxqt-config-globalkeyshortcuts_pt.qm +%lang(pt_BR) %{_datadir}/lxqt/translations/lxqt-config-globalkeyshortcuts/lxqt-config-globalkeyshortcuts_pt_BR.qm +%lang(ro_RO) %{_datadir}/lxqt/translations/lxqt-config-globalkeyshortcuts/lxqt-config-globalkeyshortcuts_ro_RO.qm +%lang(ru) %{_datadir}/lxqt/translations/lxqt-config-globalkeyshortcuts/lxqt-config-globalkeyshortcuts_ru.qm +%lang(sk_SK) %{_datadir}/lxqt/translations/lxqt-config-globalkeyshortcuts/lxqt-config-globalkeyshortcuts_sk_SK.qm +%lang(sl) %{_datadir}/lxqt/translations/lxqt-config-globalkeyshortcuts/lxqt-config-globalkeyshortcuts_sl.qm +%lang(th_TH) %{_datadir}/lxqt/translations/lxqt-config-globalkeyshortcuts/lxqt-config-globalkeyshortcuts_th_TH.qm +%lang(tr) %{_datadir}/lxqt/translations/lxqt-config-globalkeyshortcuts/lxqt-config-globalkeyshortcuts_tr.qm +%lang(uk) %{_datadir}/lxqt/translations/lxqt-config-globalkeyshortcuts/lxqt-config-globalkeyshortcuts_uk.qm +%lang(zh_CN) %{_datadir}/lxqt/translations/lxqt-config-globalkeyshortcuts/lxqt-config-globalkeyshortcuts_zh_CN.qm +%lang(zh_TW) %{_datadir}/lxqt/translations/lxqt-config-globalkeyshortcuts/lxqt-config-globalkeyshortcuts_zh_TW.qm +%doc AUTHORS LICENSE + +%files -n lib%{name} +%defattr(-,root,root) +%{_libdir}/liblxqt-globalkeys-ui.so.* +%{_libdir}/liblxqt-globalkeys.so.* + +%files -n lib%{name}-devel +%defattr(-,root,root) +%dir %{_includedir}/lxqt-globalkeys-ui +%dir %{_includedir}/lxqt-globalkeys-ui/LXQtGlobalKeysUi +%{_includedir}/lxqt-globalkeys-ui/LXQtGlobalKeysUi/ShortcutSelector +%{_includedir}/lxqt-globalkeys-ui/* +%dir %{_includedir}/lxqt-globalkeys/LXQtGlobalKeys +%{_includedir}/lxqt-globalkeys/LXQtGlobalKeys/* +%dir %{_includedir}/lxqt-globalkeys +%{_includedir}/lxqt-globalkeys/* +%{_libdir}/liblxqt-globalkeys-ui.so +%{_libdir}/liblxqt-globalkeys.so +%{_libdir}/pkgconfig/lxqt-globalkeys-ui.pc +%{_libdir}/pkgconfig/lxqt-globalkeys.pc +%dir %{_datadir}/cmake/lxqt-globalkeys-ui +%{_datadir}/cmake/lxqt-globalkeys-ui/lxqt-globalkeys-ui-*.cmake +%dir %{_datadir}/cmake/lxqt-globalkeys +%{_datadir}/cmake/lxqt-globalkeys/lxqt-globalkeys-*.cmake +%doc README.md + +%changelog +* Fri Oct 02 2020 Silvan Calarco 0.15.0-1mamba +- package created using the webbuild interface