forked from pool/keepass
fa53b2b581
- Update to 2.42.1 New Features: * Added main menu items 'Group', 'Entry' and 'Find', which contain all commands related to groups and entries (supersets of context menus); removed 'Edit' main menu item, because all of its commands are included in the three new main menu items. * Added support for a system-wide hot key to auto-type only the password of a matching entry; by default, the hot key is Ctrl+Alt+Shift+A, changeable in the options dialog. * When double-clicking the URL cell of an entry in the main entry list while holding down the Shift key, KeePass now copies the URL to the clipboard (a double-click without Shift continues to open the URL; the option 'Copy URLs to clipboard instead of opening them' reverses this behavior). * Added quick edit commands 'Expires: Now' and 'Expires: Never'. * There now are two commands for copying a whole entry to the clipboard: 'Copy Entry (Encrypted)' and 'Copy Entry (Unencrypted)'; the first one encrypts the data for the current user using the Windows DPAPI. * Added Ctrl+Shift+P shortcut for printing the currently selected group. * The creation time and the last modification time of an entry are now displayed on the 'History' tab of the entry editing dialog. * Added support for importing Steganos Password Manager 20 CSV files. * Added support for importing Bitwarden 1.12 JSON files. * Mozilla Bookmarks JSON import: added support for importing tags (new format, in addition to the old format) and keywords. * Enhanced the Enpass import module to support TXT files created by version 6.0.4. * The language selection dialog now also lists KeePass 1.x LNG files; when trying to select such a file, an informative error message is displayed. * Added 'Cancel' command in the context menu of KeePass' system tray icon, which can be used to abort opening and saving a database file. * Added '-cancel' command line option, which causes all other KeePass instances to cancel opening/saving a database file. * Added '-auto-type-password' command line option (other running KeePass instances auto-type only the password of a matching entry). * Added '-e1:' command line parameter, which works like '-e:', but is handled by only one other instance; '-e:' is handled by all other instances. * When compiling a PLGX plugin, KeePass now defines a 'KP_V_*_*_*' symbol, where the asterisks specify the KeePass version (for example, 'KP_V_2_42_0' for version 2.42). * Added workarounds for .NET Caps Lock warning tooltip bug. * Added workaround for Mono grid view default color bug. * Added workaround for OneDrive bug on Windows 1809. Improvements: * Auto-Type: improved sending of characters that are realized with the AltGr key. * Auto-Type: improved compatibility with VirtualBox 6 and VMware Player. * Improved user interface behavior while opening a database file. * Accelerator key improvements. * Replaced 4 and 8 weeks expiry date search commands by 1 and 2 months (taking the number of days in the months into account). * Improved hot key controls (better key combination handling and display). * The hot key controls in the options dialog now support entering hot keys that are already registered by KeePass. OBS-URL: https://build.opensuse.org/request/show/710983 OBS-URL: https://build.opensuse.org/package/show/Mono/keepass?expand=0&rev=25
110 lines
3.5 KiB
RPMSpec
110 lines
3.5 KiB
RPMSpec
#
|
|
# spec file for package keepass
|
|
#
|
|
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
|
#
|
|
# 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/
|
|
#
|
|
|
|
|
|
%define _name KeePass
|
|
|
|
Name: keepass
|
|
Version: 2.42.1
|
|
Release: 0
|
|
Summary: Password Manager
|
|
License: GPL-2.0-or-later
|
|
Group: Productivity/Other
|
|
Url: https://keepass.info/
|
|
Source0: https://netcologne.dl.sourceforge.net/project/keepass/KeePass%202.x/%{version}/KeePass-%{version}-Source.zip
|
|
Source1: https://keepass.info/integrity/v2/KeePass-%{version}-Source.zip.asc
|
|
# http://keepass.info/integrity/Dominik_Reichl.asc
|
|
Source2: keepass.keyring
|
|
BuildRequires: dos2unix
|
|
BuildRequires: mono-devel
|
|
BuildRequires: unzip
|
|
BuildRequires: xdotool-devel
|
|
BuildRequires: xorg-x11-fonts-core
|
|
BuildRequires: xsel
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
BuildArch: noarch
|
|
Recommends: xdotool
|
|
|
|
%description
|
|
KeePass is a password manager, which helps you to manage your
|
|
passwords. You can put all your passwords in one database, which is
|
|
locked with one master key or a key file, so that you only have to
|
|
remember one single master password or select the key file to unlock
|
|
the whole database. The databases are encrypted using AES and
|
|
Twofish.
|
|
|
|
%prep
|
|
%setup -q -c %{name}-%{version}
|
|
dos2unix Docs/License.txt Docs/History.txt
|
|
|
|
sed -i '1s/ 10.00/ 11.00/' KeePass.sln
|
|
find . -name "*.csproj" -exec sed -i '1s/"3.5"/"4.0"/' {} +
|
|
|
|
pushd Build &>/dev/null
|
|
bash PrepMonoDev.sh
|
|
sh PrepMonoDev.sh
|
|
popd &>/dev/null
|
|
|
|
%build
|
|
xbuild /target:KeePass /property:Configuration=Release
|
|
|
|
%install
|
|
install -d %{buildroot}%{_prefix}/lib/%{name}
|
|
install -d %{buildroot}%{_prefix}/lib/%{name}/XSL
|
|
install -m 644 Build/%{_name}Lib_Distrib/%{_name}Lib.dll %{buildroot}%{_prefix}/lib/%{name}/
|
|
install -m 644 Build/%{_name}/Release/%{_name}.exe* %{buildroot}%{_prefix}/lib/%{name}/
|
|
install -m 644 Ext/%{_name}.config.xml %{buildroot}%{_prefix}/lib/%{name}/
|
|
install -m 644 Ext/%{_name}.exe.config %{buildroot}%{_prefix}/lib/%{name}/
|
|
install -m 644 Ext/XSL/* %{buildroot}%{_prefix}/lib/%{name}/XSL
|
|
|
|
# Bin wrapper
|
|
install -d %{buildroot}%{_bindir}
|
|
cat << EOF > %{buildroot}%{_bindir}/%{name}
|
|
#!/bin/sh
|
|
exec mono %{_prefix}/lib/%{name}/%{_name}.exe "\$@"
|
|
EOF
|
|
|
|
# Desktop file
|
|
install -d %{buildroot}%{_datadir}/applications
|
|
cat << EOF > %{buildroot}%{_datadir}/applications/%{name}.desktop
|
|
[Desktop Entry]
|
|
Type=Application
|
|
Name=%{_name}
|
|
GenericName=Password Manager
|
|
Comment=Secure Password Management System
|
|
Icon=keepass
|
|
TryExec=%{_bindir}/keepass
|
|
Exec=keepass
|
|
Terminal=false
|
|
Categories=Utility;Security;
|
|
X-SuSE-translate=false
|
|
EOF
|
|
|
|
# Icon
|
|
install -d %{buildroot}%{_datadir}/pixmaps
|
|
install -m 644 Ext/Icons_04_CB/Finals/plock-blu.png %{buildroot}%{_datadir}/pixmaps/%{name}.png
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%doc Docs/License.txt Docs/History.txt
|
|
%attr(755,root,root) %{_bindir}/%{name}
|
|
%{_datadir}/applications/%{name}.desktop
|
|
%{_datadir}/pixmaps/%{name}.png
|
|
%{_prefix}/lib/keepass
|
|
|
|
%changelog
|