[packages/gnu-pw-mgr] - new - info patch to adjust direntry to PLD formatting
qboosh
qboosh at pld-linux.org
Sun Dec 6 18:41:28 CET 2020
commit 2ef06152f93cd05e6eac5def23bfee0c8b501960
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sun Dec 6 18:41:45 2020 +0100
- new
- info patch to adjust direntry to PLD formatting
gnu-pw-mgr-info.patch | 14 ++++++++++++
gnu-pw-mgr.spec | 63 +++++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 77 insertions(+)
---
diff --git a/gnu-pw-mgr.spec b/gnu-pw-mgr.spec
new file mode 100644
index 0000000..161a77f
--- /dev/null
+++ b/gnu-pw-mgr.spec
@@ -0,0 +1,63 @@
+Summary: GNU Password and Security Questions Manager
+Summary(pl.UTF-8): GNU Password Manager - zarządca haseł i pytań bezpieczeństwa
+Name: gnu-pw-mgr
+Version: 2.7.4
+Release: 1
+License: GPL v3+
+Group: Development/Tools
+Source0: https://ftp.gnu.org/gnu/gnu-pw-mgr/%{name}-%{version}.tar.xz
+# Source0-md5: 62c9e10e5b9b6226c7be9b1587dc2145
+Patch0: %{name}-info.patch
+URL: http://www.gnu.org/software/gnu-pw-mgr/
+BuildRequires: tar >= 1:1.22
+BuildRequires: texinfo >= 4.8
+BuildRequires: xz
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This program is designed to make it easy to reconstruct difficult
+passwords when they are needed while limiting the risk of attack. The
+user of this program inputs a self-defined transformation of a web
+site URL and obtains the password and user name hint for that web
+site. You must, however, be able to remember this password id, or the
+password is lost forever.
+
+%description -l pl.UTF-8
+Ten program jest zaprojektowany, aby ułatwić rekonstrukcję trudnych
+haseł, gdy są potrzebne, ograniczając ryzyko ataku. Użytkownik
+programu wprowadza zdefiniowane przez siebie przekształcenie adresu
+URL strony WWW i otrzymuje podpowiedź hasła i nazwy użytkownika dla
+tej strony. Trzeba jednak być w stanie zapamiętać ten identyfikator
+hasła, albo hasło zostanie utracone na zawsze.
+
+%prep
+%setup -q
+%patch0 -p1
+
+%build
+%configure
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post -p /sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
+
+%postun -p /sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS ChangeLog NEWS
+%attr(755,root,root) %{_bindir}/gnu-pw-mgr
+%attr(755,root,root) %{_bindir}/sort-pw-cfg
+%{_infodir}/gnu-pw-mgr.info*
+%{_mandir}/man1/gnu-pw-mgr.1*
+%{_mandir}/man1/sort-pw-cfg.1*
diff --git a/gnu-pw-mgr-info.patch b/gnu-pw-mgr-info.patch
new file mode 100644
index 0000000..c5bf762
--- /dev/null
+++ b/gnu-pw-mgr-info.patch
@@ -0,0 +1,14 @@
+--- gnu-pw-mgr-2.7.4/doc/gnu-pw-mgr.texi.orig 2020-10-01 01:02:16.000000000 +0200
++++ gnu-pw-mgr-2.7.4/doc/gnu-pw-mgr.texi 2020-12-06 17:10:40.349856738 +0100
+@@ -7,9 +7,9 @@
+
+ @setfilename gnu-pw-mgr.info
+ @settitle gnu-pw-mgr - derive a password from an id
+- at dircategory Miscellenaeous tools
++ at dircategory Miscellenaeous:
+ @direntry
+-* gnu-pw-mgr: (gnu-pw-mgr). GNU Password and Security Questions Manager
++* gnu-pw-mgr: (gnu-pw-mgr). GNU Password and Security Questions Manager
+ @end direntry
+ @setchapternewpage off
+ @syncodeindex pg cp
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/gnu-pw-mgr.git/commitdiff/2ef06152f93cd05e6eac5def23bfee0c8b501960
More information about the pld-cvs-commit
mailing list