SHA256
1
0
forked from pool/keepass
keepass/keepass.spec
Matthias Bach 6305e8d1cb Accepting request 976932 from home:theMarix:branches:Mono
- Update to 2.51.1
  * New Features:
    + Most dialogs with fixed size now detect whether they fit onto the current screen, and when a dialog does not fit (e.g. due to a very high DPI factor), its size is reduced and scroll bars are displayed.
    + Added plural entry command names in the main window (e.g. the command for editing the currently selected entry/entries is now called either 'Edit Entry' or 'Edit Entries', depending on the number of selected entries).
    + Added tooltip for the main part of the status bar of the main window.
    + Enhanced color buttons (tooltips, accessible names, ...) in the entry dialog, in the database settings dialog and in the options dialog.
    + Added 'Interface (2)' tab page in the options dialog, renamed the existing 'Interface' tab page to 'Interface (1)', moved some controls from 'Interface (1)' to 'Interface (2)'.
    + Enhanced font selection controls (with a checkbox that allows to return to the default, the button shows the currently selected font, tooltip, improved accessibility, ...) in the options dialog.
    + Added help links 'Dark theme' and 'Main font (size)' in the options dialog.
    + The options 'Custom alt. item color' and 'Esc keypress in main window' are now disabled if they are enforced (by an enforced configuration file).
    + Added support for opening URLs with Waterfox in private mode.
    + Added dialog for editing (HMAC-based and time-based) one-time password generator settings (can be opened using the 'OTP Generator Settings' commands in the entry dialog or in the 'Edit Entry (Quick)' menu of the main window).
    + Added entry commands 'Copy HMAC-Based OTP', 'Show HMAC-Based OTP', 'Copy Time-Based OTP' and 'Show Time-Based OTP' (in the 'Other Data' menu).
    + Added entry commands 'Copy Title' and 'Copy Notes' (in the 'Other Data' menu).
    + When switching to the 'Generate' tab page of the password generator dialog (no database open), the entropy collection dialog is displayed now, if the option 'Show dialog for collecting user input as additional entropy' is turned on.
    + Added option 'Colorize password characters' in the HTML export/print dialog; the colors are customizable.
    + Added options 'Custom main font' and 'Custom password font' in the HTML export/print dialog.
    + Added horizontal entry separator lines in tabular HTML exports/printouts.
    + In the plugins dialog, the 'Delete old files from cache automatically' option and the 'Clear' button are now disabled if they are enforced (by an enforced configuration file).
    + Plugins can now change the expiry date of an entry more easily.
  * Improvements:
    + Improved main window initialization performance.
    + Improved initial emergence of a minimized or maximized main window (less flickering, improved performance, ...).
    + Improved names/tooltips of the database toolbar buttons in the main window.
    + Improved handling of bold/italic list fonts.
    + Improved entry list update performance in certain situations.
    + Improved dynamic menu deconstruction performance.
    + Fields starting with 'HmacOtp-' or 'TimeOtp-' are not shown in the entry string copy menu anymore.
    + Improved tooltips and accessibility of password repetition text boxes.
    + When a dark theme is active, the error background color of text boxes is darker now.

OBS-URL: https://build.opensuse.org/request/show/976932
OBS-URL: https://build.opensuse.org/package/show/Mono/keepass?expand=0&rev=42
2022-05-15 19:17:28 +00:00

110 lines
3.5 KiB
RPMSpec

#
# spec file for package keepass
#
# Copyright (c) 2022 SUSE LLC
#
# 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.51.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
Recommends: libargon2-1
Recommends: libgcrypt20
Recommends: xdotool
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
%license Docs/License.txt
%doc Docs/History.txt
%attr(755,root,root) %{_bindir}/%{name}
%{_datadir}/applications/%{name}.desktop
%{_datadir}/pixmaps/%{name}.png
%{_prefix}/lib/keepass
%changelog