SHA256
1
0
forked from pool/keepass
keepass/keepass.spec

110 lines
3.5 KiB
RPMSpec
Raw Normal View History

#
# spec file for package keepass
#
Accepting request 802525 from home:theMarix:branches:Mono - 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
2020-05-11 08:47:42 +02:00
# 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.
Accepting request 710983 from home:theMarix:branches:Mono - Update to 2.42.1 New Features: * Added main menu items 'Group', 'Entry' and 'Find', which contain all commands related to groups and entries (supersets of context menus); removed 'Edit' main menu item, because all of its commands are included in the three new main menu items. * Added support for a system-wide hot key to auto-type only the password of a matching entry; by default, the hot key is Ctrl+Alt+Shift+A, changeable in the options dialog. * When double-clicking the URL cell of an entry in the main entry list while holding down the Shift key, KeePass now copies the URL to the clipboard (a double-click without Shift continues to open the URL; the option 'Copy URLs to clipboard instead of opening them' reverses this behavior). * Added quick edit commands 'Expires: Now' and 'Expires: Never'. * There now are two commands for copying a whole entry to the clipboard: 'Copy Entry (Encrypted)' and 'Copy Entry (Unencrypted)'; the first one encrypts the data for the current user using the Windows DPAPI. * Added Ctrl+Shift+P shortcut for printing the currently selected group. * The creation time and the last modification time of an entry are now displayed on the 'History' tab of the entry editing dialog. * Added support for importing Steganos Password Manager 20 CSV files. * Added support for importing Bitwarden 1.12 JSON files. * Mozilla Bookmarks JSON import: added support for importing tags (new format, in addition to the old format) and keywords. * Enhanced the Enpass import module to support TXT files created by version 6.0.4. * The language selection dialog now also lists KeePass 1.x LNG files; when trying to select such a file, an informative error message is displayed. * Added 'Cancel' command in the context menu of KeePass' system tray icon, which can be used to abort opening and saving a database file. * Added '-cancel' command line option, which causes all other KeePass instances to cancel opening/saving a database file. * Added '-auto-type-password' command line option (other running KeePass instances auto-type only the password of a matching entry). * Added '-e1:' command line parameter, which works like '-e:', but is handled by only one other instance; '-e:' is handled by all other instances. * When compiling a PLGX plugin, KeePass now defines a 'KP_V_*_*_*' symbol, where the asterisks specify the KeePass version (for example, 'KP_V_2_42_0' for version 2.42). * Added workarounds for .NET Caps Lock warning tooltip bug. * Added workaround for Mono grid view default color bug. * Added workaround for OneDrive bug on Windows 1809. Improvements: * Auto-Type: improved sending of characters that are realized with the AltGr key. * Auto-Type: improved compatibility with VirtualBox 6 and VMware Player. * Improved user interface behavior while opening a database file. * Accelerator key improvements. * Replaced 4 and 8 weeks expiry date search commands by 1 and 2 months (taking the number of days in the months into account). * Improved hot key controls (better key combination handling and display). * The hot key controls in the options dialog now support entering hot keys that are already registered by KeePass. OBS-URL: https://build.opensuse.org/request/show/710983 OBS-URL: https://build.opensuse.org/package/show/Mono/keepass?expand=0&rev=25
2019-09-02 12:10:52 +02:00
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define _name KeePass
Name: keepass
Accepting request 802525 from home:theMarix:branches:Mono - 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
2020-05-11 08:47:42 +02:00
Version: 2.45
Release: 0
Summary: Password Manager
- Update to 2.39 New features * KeePass now uses Transactional NTFS (TxF) for writing database and configuration files, if possible; this improves the compatibility with other programs that are watching these files (e.g. file synchronization services). * Added command 'Edit' → 'Show Entries' → 'Large Entries'. * Added command 'Edit' → 'Show Entries' → 'Last Modified Entries'. * Added option 'Automatically save after modifying an entry using the entry editing dialog' (turned off by default). * Added option 'Minimize main window after performing auto-type' (turned off by default). * Added option 'Show lines between nodes in tree views' (turned off by default). * Added support for importing Google Chrome 66 password CSV files. * Added trigger event 'Time - Periodic', which is raised at user-defined intervals. * Links in the entry string editing dialog are clickable now. * Added UIFlags bit for disabling the 'XML Replace' menu item. * Added UIFlags bit for hiding auto-type obfuscation compatibility information dialogs. * Added workaround for .NET 'urtf' RTF round-trip bug. * Secure edit controls are now extensible by plugins. * KPScript: the 'AddEntry' command now supports the '-setx-Expires' and '-setx-ExpiryTime' parameters. Improvements * In printouts and HTML exports, expired entries now have a red 'X' icon (if the option 'Icon' is turned on). * Improved string normalization in the entry and string editing dialogs. OBS-URL: https://build.opensuse.org/package/show/Mono/keepass?expand=0&rev=17
2018-05-07 12:12:12 +02:00
License: GPL-2.0-or-later
Group: Productivity/Other
Accepting request 802525 from home:theMarix:branches:Mono - 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
2020-05-11 08:47:42 +02:00
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