From fe1f8116de7c464d1cdb6d674508ee0086c179a2 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 06:36:19 +0100 Subject: [PATCH] package created using the webbuild interface [release 0.16.0-1mamba;Mon Nov 09 2020] --- README.md | 2 ++ lxqt-openssh-askpass.spec | 59 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 61 insertions(+) create mode 100644 lxqt-openssh-askpass.spec diff --git a/README.md b/README.md index 803d18e..c9f9716 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # lxqt-openssh-askpass +lxqt-openssh-askpass is a GUI to query credentials on behalf of other programs. As indicated by its name it's primarily targeted at ssh-agent, the SSH agent of OpenSSH, but it works with other applications like e. g. EncFS as well. + diff --git a/lxqt-openssh-askpass.spec b/lxqt-openssh-askpass.spec new file mode 100644 index 0000000..d333299 --- /dev/null +++ b/lxqt-openssh-askpass.spec @@ -0,0 +1,59 @@ +Name: lxqt-openssh-askpass +Version: 0.16.0 +Release: 1mamba +Summary: A GUI to query credentials on behalf of other programs +Group: Graphical Desktop/Applications/Networking +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://github.com/lxqt/lxqt-openssh-askpass +Source: https://github.com/lxqt/lxqt-openssh-askpass.git/%{version}/lxqt-openssh-askpass-%{version}.tar.bz2 +License: LGPL +## 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 +lxqt-openssh-askpass is a GUI to query credentials on behalf of other programs. As indicated by its name it's primarily targeted at ssh-agent, the SSH agent of OpenSSH, but it works with other applications like e. g. EncFS as well. + +%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}/lxqt-openssh-askpass +%{_mandir}/man1/lxqt-openssh-askpass.1* +%doc AUTHORS LICENSE + +%changelog +* Mon Nov 09 2020 Silvan Calarco 0.16.0-1mamba +- package created using the webbuild interface