forked from pool/keepass
6c91404d00
- Update to 2.45 * New Features: + Added automatic assignment of mnemonics for 'Open with ...' commands in the 'URL(s)' menu. + The entry templates menu now supports showing templates that are stored in subgroups of the templates group; each subgroup is displayed as a submenu. + When adding a new entry based on a template that has an empty user name, the user name is now set to the default user name of the database, unless the new entry is stored in the templates group. + When adding a new entry based on a template that has an empty password, a random password is generated now (based on the password generator profile 'Automatically generated passwords for new entries'), unless the new entry is stored in the templates group. + When adding a new entry based on a template that does not expire, the expiry date is now set based on the option 'By default, new entries expire in the following number of days' (in 'Tools' → 'Options' → tab 'Security'), unless the new entry is stored in the templates group. + New icon recoloring (with high DPI support, by deconstructing an ICO, modifying BMP palettes and data, and assembling a new ICO); there are 24 database colors now. + Added {UUID} placeholder, which is replaced by the UUID of the current entry. + The UUID of a group is now displayed in the group editing dialog (tab 'General'). + When specifying a weak master password in the master key creation dialog, KeePass now shows a warning. + Triggers: added string comparison mode 'Matches regular expression'. + Enforced configuration: added support for attributes that allow to specify the desired merge behavior. + Enforced configuration: for most lists, node keys are now used to find corresponding list items. + Plugins: added I/O connection event for customizing web requests. + Added workaround for Mono pre-authenticated anonymous web request bug. * Improvements: + Auto-Type: improved compatibility with VMware Horizon Client and Kaseya Live Connect. + The 'Open with ...' commands in the 'URL(s)' menu are sorted now. + Improved performance of the entry templates menu; removed limitation to 30 templates. + Database descriptions are now displayed in file tab tooltips. + When editing an attachment directly from the main window, a history entry is created now. + UUIDs in the group and entry editing dialogs are now displayed both in hexadecimal and base 64 form. + Improved Bitwarden import module to support JSON files without groups. + If the trigger system is disabled using an enforced configuration file, most controls in the triggers dialog are disabled now, too. + Plugins: an I/O access event is now raised when checking the existence of a local database file. + In texts that are about to be displayed in a rich text box, U+FFFC characters are now replaced by question marks (in order to avoid the text being cut off at this point). + When running on Mono 5.10 or higher, a monospaced font is used in password text boxes by default again, as the Mono bug 5795 has been fixed. + Various code optimizations. + Minor other improvements. OBS-URL: https://build.opensuse.org/request/show/802525 OBS-URL: https://build.opensuse.org/package/show/Mono/keepass?expand=0&rev=29
110 lines
3.5 KiB
RPMSpec
110 lines
3.5 KiB
RPMSpec
#
|
|
# spec file for package keepass
|
|
#
|
|
# Copyright (c) 2020 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.45
|
|
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
|