forked from pool/keepass
a98d95ace5
- Update to 2.44 * New Features: + Added option 'Use file transactions for writing configuration settings' (turned on by default). + Added commands to find database files ('File' → 'Open' → 'Find Files' and 'Find Files (In Folder)'). + Added 'Edit' menu in the internal text editor (including new 'Select All' and 'Find' commands with keyboard shortcuts). + Added keyboard shortcuts for formatting commands in the internal text editor. + Added 'Cancel' button in the save confirmation dialog of the internal text editor. + Added {CLIPBOARD} and {CLIPBOARD-SET:/T/} placeholders, which get/set the clipboard content. + Added support for importing True Key 4 CSV files. + Added command line options for adding/removing scheme-specific URL overrides. + Added an auto-type event for plugins. + When loading a plugin on a Unix-like system fails, the error message now includes a hint that the 'mono-complete' package may be required. + In order to avoid a Windows Input Method Editor (IME) bug (resulting in a black screen and/or an IME/CTF process with high CPU usage), KeePass now disables the IME on secure desktops. * Improvements: + Auto-Type: improved compatibility with VMware Workstation. + Auto-Type into virtual machines: improved compatibility with certain guest systems. + The option to use the 'Clipboard Viewer Ignore' clipboard format is now turned on by default. + Improved menu/toolbar item state updating in the internal text editor. + Improved performance of Spr compilations. + Before writing a local configuration file whose path has been specified using the '-cfg-local:' command line parameter, KeePass now tries to create the parent directory, if it does not exist yet. + Improved conversion of file URIs to local file paths. + Improved compatibility of the list view dialog with plugins. + If ChaCha20 is selected as file encryption algorithm, the database is now saved in the KDBX 4 format (thanks to AMOSSYS). + Minor process memory protection improvements. + HTML export/printing: KeePass now generates HTML 5 documents (instead of XHTML 1.0 documents). + HTML export/printing: improved internal CSS. + HTML exports do not contain temporary content identifiers anymore. + XSL files: HTML output now conforms to HTML 5 instead of XHTML 1.0. + XSL files: improved internal CSS. + CHM pages are now rendered in the highest standards mode supported by Internet Explorer (EdgeHTML mode). OBS-URL: https://build.opensuse.org/request/show/766415 OBS-URL: https://build.opensuse.org/package/show/Mono/keepass?expand=0&rev=27
110 lines
3.5 KiB
RPMSpec
110 lines
3.5 KiB
RPMSpec
#
|
|
# spec file for package keepass
|
|
#
|
|
# Copyright (c) 2020 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.44
|
|
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
|