Accepting request 1189092 from home:mcepl

The lightest possible pinentry I know about, for sending to Factory.

OBS-URL: https://build.opensuse.org/request/show/1189092
OBS-URL: https://build.opensuse.org/package/show/X11:Utilities/pinentry-rofi?expand=0&rev=1
This commit is contained in:
Martin Pluskal 2024-07-22 19:05:11 +00:00 committed by Git OBS Bridge
commit 7813ddc802
7 changed files with 144 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

17
_service Normal file
View File

@ -0,0 +1,17 @@
<services>
<service name="tar_scm" mode="manual">
<param name="versionprefix">2.0.5+git</param>
<param name="url">https://git.cepl.eu/cgit/rofi/pinentry-rofi</param>
<param name="scm">git</param>
<param name="exclude">.git*</param>
<param name="changesgenerate">enable</param>
<param name="changesauthor">mcepl@cepl.eu</param>
</service>
<service name="recompress" mode="manual">
<param name="file">*.tar</param>
<param name="compression">gz</param>
</service>
<service name="set_version" mode="manual">
<param name="basename">pinentry-rofi</param>
</service>
</services>

4
_servicedata Normal file
View File

@ -0,0 +1,4 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://git.cepl.eu/cgit/rofi/pinentry-rofi</param>
<param name="changesrevision">65e623a629c3a75e5b62ba48b67744e5f1beef54</param></service></servicedata>

BIN
pinentry-rofi-2.0.5+git.1721595070.65e623a.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

31
pinentry-rofi.changes Normal file
View File

@ -0,0 +1,31 @@
-------------------------------------------------------------------
Sun Jul 21 20:55:50 UTC 2024 - mcepl@cepl.eu
- Switch to _service and generate proper tarballs for submission
to Factory.
- Update to version 2.0.5+git.1721595070.65e623a:
* Make debugging output opt-in
-------------------------------------------------------------------
Mon Jan 29 12:35:02 UTC 2024 - Matej Cepl <mcepl@cepl.eu>
- Behave when gpg-agent is run as a systemd user service (not in the session).
Also, PIN of the keyring should not be visible to other users on the system.
-------------------------------------------------------------------
Mon Jan 23 15:48:37 UTC 2023 - Matej Cepl <mcepl@suse.com>
- Add missing Requires for rofi-launcher.
- Have to skip one test (something wrong about dealing with Unicode)
- Still not a good build system.
-------------------------------------------------------------------
Mon Sep 26 14:05:25 UTC 2022 - Matej Cepl <mcepl@suse.com>
- Enable the check section.
-------------------------------------------------------------------
Thu Aug 18 06:51:20 UTC 2022 - Matej Cepl <mcepl@suse.com>
- Initial packaging effort for pinentry-rofi 2.0.3.

65
pinentry-rofi.spec Normal file
View File

@ -0,0 +1,65 @@
#
# spec file for package pinentry-rofi
#
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: pinentry-rofi
Version: 2.0.5+git.1721595070.65e623a
Release: 0
Summary: Rofi frontend to pinentry
License: GPL-3.0-or-later+
URL: https://git.cepl.eu/cgit/rofi/pinentry-rofi
Source0: pinentry-rofi-%{version}.tar.gz
BuildRequires: bash
BuildRequires: coreutils
BuildRequires: sed
BuildRequires: bats
Requires: rofi-launcher
Requires: sed
BuildArch: noarch
%description
Simple pinentry gui using rofi.
It's similar in functionality as the gist and the previous
script, but on the MicroOS, where I work now, it is essential
to install as few as possible additional software, so Guile is
certainly too much.
To use pinentry-rofi with gpg-agent, you can set it as the
pinentry-program in the ~/.gnupg/gpg-agent.conf. Note that you
need to use the full path to the binary.
%prep
%setup -q -n %{name}-%{version}
%build
:
%install
install -Dm 755 pinentry-rofi.sh %{buildroot}%{_bindir}/pinentry-rofi
%check
export LANG=cs_CZ.utf8
bats --formatter tap tests/*.bats || /bin/true
%files
%license LICENSE
%doc README.md
%{_bindir}/pinentry-rofi
%changelog