SHA256
1
0
forked from pool/keepass
keepass/keepass.spec
Matthias Bach c4e9f1b8db - Update to 2.56
* New Features:
    + Added search box in the options dialog (keyboard shortcut Ctrl+F).
    + When pressing the Enter key in the group tree of the main window, the entries of the group are displayed now (this can be useful for instance when the entry list is displaying search results).
    + Added 'More' button on the 'History' tab page of the entry dialog, which shows a menu that provides the following two new commands: 'Select All Historic Entries' and 'Delete All Historic Entries'; the menu is also shown as context menu of the history entries list.
    + Added Ctrl+A keyboard shortcut for the 'Select All Historic Entries' command in the entry dialog (the history entries list must have the input focus).
    + Added workaround for Mono window size bug.
    + Added accessibility help page.
  * Improvements:
    + In the main window, the entry list is now updated when right-clicking onto a group in the group tree.
    + Expanding/collapsing a group in the group tree of the main window does not select it anymore.
    + The option 'Remember password hiding setting in the main window' is now turned off by default.
    + In the auto-type entry selection dialog, comments ({C:...} placeholders) are now removed from the values in the 'Sequence' column if the 'Sequence - Comments' column is displayed.
    + The view is now restored after syntax highlighting in the sequence box of the auto-type association dialog.
    + Reduced flickering in the sequence box of the auto-type association dialog.
    + Improved performance of Spr compilations of certain texts.
    + Minor process memory protection improvement for the password generator.
    + Minor process memory protection improvements for some report dialogs.
    + Improved thread safety of message box management.
    + Improved UUID object implementation.
    + Collection equality testing improvements (for plugins).
    + Various code optimizations.
    + Minor other improvements.
  * Bugfixes:
    + In the main window, the entry list is now updated correctly when performing overlapping keypresses into the group tree.
    + When cancelling a group drag&drop operation, the group selection is now restored correctly.

OBS-URL: https://build.opensuse.org/package/show/Mono/keepass?expand=0&rev=54
2024-02-04 15:39:47 +00:00

110 lines
3.5 KiB
RPMSpec

#
# spec file for package keepass
#
# Copyright (c) 2024 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.56
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