forked from pool/keepass
61ed913a36
- Update to 2.41 New Features: * Added option 'Do not store data in the Windows clipboard history and the cloud clipboard' (the option is turned on by default; for entry clipboard commands in the main window). * Added option 'Esc keypress in main window' (in 'Tools' → 'Options' → tab 'Interface'), which allows to specify the action of the Esc key (ignore, lock workspace, minimize, minimize to tray, exit). * Added option 'Ignore search settings of groups' in the 'Find' dialog. * Internal data viewer: added support for zooming images using the OEM + and - keys with Ctrl. * Added accelerator keys (especially for labels) in various dialogs. * Added UIFlags bit for disabling the 'Database Settings' menu item. * Added workarounds for Windows RTF character encoding bug. * Added workaround for Mono input focus restoration problem that occurs when a form gets activated. * Plugins: added method to provide menu items. * Plugins: added property to get the edit mode of an entry dialog. * TrlUtil: added tab 'Validation', which shows the results of all checks that TrlUtil performs. * TrlUtil: the tab in the preview form that contains the currently selected control is now selected automatically. * TrlUtil: the preview form now shows accelerator keys permanently. * TrlUtil: enhanced support for derived control classes. * TrlUtil: the current file name is now displayed in the title bar. * Enhanced installer (added user directory checks, added option to open the plugins web page, component/option names can be translated now, updated NGen size estimation, improved file associations update, ...). Improvements: * In order to avoid selection/Ctrl+A problems, the user name auto-completion now does not append suggestions anymore; it only shows a list of suggestions (in which a suggestion can be selected manually). * Improved accelerator keys in the 'Find' dialog. * The history list in the entry dialog now supports showing custom icons. * Mass entry modifications (colors/icons) now create history entries, if necessary. * Improved text rendering in dialog banners. * In the database settings dialog, the path of the database file is now shown in the dialog banner. * Improved selection/view preservation of the entry view. * While importing/synchronizing, a status dialog is displayed now if and only if the main window is not constructed completely yet (otherwise the status is displayed in the main window). * Improved reliability of clipboard operations. * Improved error reporting for the 'Paste Entries' command. * Renamed the automatic clipboard clearing option and added a tooltip in order to clarify the behavior of the option. * The commands 'Find Similar Passwords (Pairs)', 'Find Similar Passwords (Clusters)' and 'Password Quality Report' now ignore TAN entries. * The report of clusters of similar passwords now shows more clusters in certain cases. * In the 'Plugins' dialog, the plugins are now sorted alphabetically. * KeePass does not try to load satellite assemblies as plugins anymore. * Improved configuration saving when an enforced configuration file exists, but no global one. * Improved reading of KDBX XML documents with unknown elements. * The export module 'Customizable HTML File' now works fine on Unix-like systems, too. * On Unix-like systems: improved support for executing KeePass while no X server is running. * ShInstUtil: improved NGen detection on 64-bit systems. * TrlUtil: the preview form does not steal the input focus anymore. * TrlUtil: improved accelerator key check. * Various code optimizations. * Minor other improvements. Bugfixes: * Fixed a bug that caused KeePass to crash when trying to view certain password generator profiles. * The option 'Use monospace font for passwords' in the 'Print' / HTML export dialog now works for all translations. OBS-URL: https://build.opensuse.org/request/show/666666 OBS-URL: https://build.opensuse.org/package/show/Mono/keepass?expand=0&rev=21
109 lines
3.5 KiB
RPMSpec
109 lines
3.5 KiB
RPMSpec
#
|
|
# spec file for package keepass
|
|
#
|
|
# Copyright (c) 2018 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.41
|
|
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
|
|
|
|
%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
|