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 766415 from home:theMarix:branches:openSUSE:Factory - Update to 2.44 * New Features: + Added option 'Use file transactions for writing configuration settings' (turned on by default). + Added commands to find database files ('File' → 'Open' → 'Find Files' and 'Find Files (In Folder)'). + Added 'Edit' menu in the internal text editor (including new 'Select All' and 'Find' commands with keyboard shortcuts). + Added keyboard shortcuts for formatting commands in the internal text editor. + Added 'Cancel' button in the save confirmation dialog of the internal text editor. + Added {CLIPBOARD} and {CLIPBOARD-SET:/T/} placeholders, which get/set the clipboard content. + Added support for importing True Key 4 CSV files. + Added command line options for adding/removing scheme-specific URL overrides. + Added an auto-type event for plugins. + When loading a plugin on a Unix-like system fails, the error message now includes a hint that the 'mono-complete' package may be required. + In order to avoid a Windows Input Method Editor (IME) bug (resulting in a black screen and/or an IME/CTF process with high CPU usage), KeePass now disables the IME on secure desktops. * Improvements: + Auto-Type: improved compatibility with VMware Workstation. + Auto-Type into virtual machines: improved compatibility with certain guest systems. + The option to use the 'Clipboard Viewer Ignore' clipboard format is now turned on by default. + Improved menu/toolbar item state updating in the internal text editor. + Improved performance of Spr compilations. + Before writing a local configuration file whose path has been specified using the '-cfg-local:' command line parameter, KeePass now tries to create the parent directory, if it does not exist yet. + Improved conversion of file URIs to local file paths. + Improved compatibility of the list view dialog with plugins. + If ChaCha20 is selected as file encryption algorithm, the database is now saved in the KDBX 4 format (thanks to AMOSSYS). + Minor process memory protection improvements. + HTML export/printing: KeePass now generates HTML 5 documents (instead of XHTML 1.0 documents). + HTML export/printing: improved internal CSS. + HTML exports do not contain temporary content identifiers anymore. + XSL files: HTML output now conforms to HTML 5 instead of XHTML 1.0. + XSL files: improved internal CSS. + CHM pages are now rendered in the highest standards mode supported by Internet Explorer (EdgeHTML mode). OBS-URL: https://build.opensuse.org/request/show/766415 OBS-URL: https://build.opensuse.org/package/show/Mono/keepass?expand=0&rev=27
2020-02-08 14:20:37 +01:00
# Copyright (c) 2020 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.
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 766415 from home:theMarix:branches:openSUSE:Factory - Update to 2.44 * New Features: + Added option 'Use file transactions for writing configuration settings' (turned on by default). + Added commands to find database files ('File' → 'Open' → 'Find Files' and 'Find Files (In Folder)'). + Added 'Edit' menu in the internal text editor (including new 'Select All' and 'Find' commands with keyboard shortcuts). + Added keyboard shortcuts for formatting commands in the internal text editor. + Added 'Cancel' button in the save confirmation dialog of the internal text editor. + Added {CLIPBOARD} and {CLIPBOARD-SET:/T/} placeholders, which get/set the clipboard content. + Added support for importing True Key 4 CSV files. + Added command line options for adding/removing scheme-specific URL overrides. + Added an auto-type event for plugins. + When loading a plugin on a Unix-like system fails, the error message now includes a hint that the 'mono-complete' package may be required. + In order to avoid a Windows Input Method Editor (IME) bug (resulting in a black screen and/or an IME/CTF process with high CPU usage), KeePass now disables the IME on secure desktops. * Improvements: + Auto-Type: improved compatibility with VMware Workstation. + Auto-Type into virtual machines: improved compatibility with certain guest systems. + The option to use the 'Clipboard Viewer Ignore' clipboard format is now turned on by default. + Improved menu/toolbar item state updating in the internal text editor. + Improved performance of Spr compilations. + Before writing a local configuration file whose path has been specified using the '-cfg-local:' command line parameter, KeePass now tries to create the parent directory, if it does not exist yet. + Improved conversion of file URIs to local file paths. + Improved compatibility of the list view dialog with plugins. + If ChaCha20 is selected as file encryption algorithm, the database is now saved in the KDBX 4 format (thanks to AMOSSYS). + Minor process memory protection improvements. + HTML export/printing: KeePass now generates HTML 5 documents (instead of XHTML 1.0 documents). + HTML export/printing: improved internal CSS. + HTML exports do not contain temporary content identifiers anymore. + XSL files: HTML output now conforms to HTML 5 instead of XHTML 1.0. + XSL files: improved internal CSS. + CHM pages are now rendered in the highest standards mode supported by Internet Explorer (EdgeHTML mode). OBS-URL: https://build.opensuse.org/request/show/766415 OBS-URL: https://build.opensuse.org/package/show/Mono/keepass?expand=0&rev=27
2020-02-08 14:20:37 +01:00
Version: 2.44
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
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