2016-12-04 21:49:30 +01:00
|
|
|
#
|
|
|
|
# spec file for package keepass
|
|
|
|
#
|
2020-02-08 14:20:37 +01:00
|
|
|
# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
|
2016-12-04 21:49:30 +01:00
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
|
Accepting request 710983 from home:theMarix:branches:Mono
- 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
2019-09-02 12:10:52 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2016-12-04 21:49:30 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
%define _name KeePass
|
|
|
|
|
|
|
|
Name: keepass
|
2020-02-08 14:20:37 +01:00
|
|
|
Version: 2.44
|
2016-12-04 21:49:30 +01:00
|
|
|
Release: 0
|
|
|
|
Summary: Password Manager
|
2018-05-07 12:12:12 +02:00
|
|
|
License: GPL-2.0-or-later
|
2016-12-04 21:49:30 +01:00
|
|
|
Group: Productivity/Other
|
2018-01-10 15:43:11 +01:00
|
|
|
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
|
2016-12-04 21:49:30 +01:00
|
|
|
# http://keepass.info/integrity/Dominik_Reichl.asc
|
|
|
|
Source2: keepass.keyring
|
|
|
|
BuildRequires: dos2unix
|
2017-05-19 12:38:51 +02:00
|
|
|
BuildRequires: mono-devel
|
2016-12-04 21:49:30 +01:00
|
|
|
BuildRequires: unzip
|
|
|
|
BuildRequires: xdotool-devel
|
|
|
|
BuildRequires: xorg-x11-fonts-core
|
|
|
|
BuildRequires: xsel
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
BuildArch: noarch
|
2019-06-18 23:25:33 +02:00
|
|
|
Recommends: xdotool
|
2016-12-04 21:49:30 +01:00
|
|
|
|
|
|
|
%description
|
2016-12-15 11:21:05 +01:00
|
|
|
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.
|
2016-12-04 21:49:30 +01:00
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -c %{name}-%{version}
|
|
|
|
dos2unix Docs/License.txt Docs/History.txt
|
2017-05-19 12:38:51 +02:00
|
|
|
|
2016-12-04 21:49:30 +01:00
|
|
|
sed -i '1s/ 10.00/ 11.00/' KeePass.sln
|
|
|
|
find . -name "*.csproj" -exec sed -i '1s/"3.5"/"4.0"/' {} +
|
2017-05-19 12:38:51 +02:00
|
|
|
|
2016-12-04 21:49:30 +01:00
|
|
|
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}/
|
2017-06-05 09:54:44 +02:00
|
|
|
install -m 644 Build/%{_name}/Release/%{_name}.exe* %{buildroot}%{_prefix}/lib/%{name}/
|
2016-12-04 21:49:30 +01:00
|
|
|
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
|