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

109 lines
3.5 KiB
RPMSpec
Raw Normal View History

#
# spec file for package keepass
#
# Copyright (c) 2018 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 637175 from home:daiaji:branches:openSUSE:Factory - Update to 2.40 New Features: * Added automatic completion support for the user name box in the entry editing dialog and the auto-type sequence boxes in the entry/group editing dialogs (suggesting user names and auto-type sequences that are used in other entries/groups). * Added automatic completion support for the URL and user name boxes in the 'Open From URL' dialog (suggesting URLs and user names of items in the list of most recently used database files). * Added option 'Group path' in the 'Find' dialog (enabled by default for quick searches). * Added read-only mode for the entry string dialog, which is used by the entry dialog when viewing a history entry. * The internal data viewer now supports zooming images using Ctrl+Add, Ctrl+Subtract and the mouse wheel with Ctrl; furthermore, there are now '+' and '-' buttons right of the zoom selection box in the toolbar. * Added option 'Remember master password (in encrypted form) of a database while it is open' (which is the default; turning off this option prevents the usage of certain features). * Enhanced compatibility check for DLL plugins. * Added URL opening event for plugins. * On Unix-like systems: added support for opening the local help file with KChmViewer. * Added workaround for initial input focus problem in the master key prompt dialog. * Added workaround for Mono not always raising the FormClosed event properly. * TrlUtil now remembers the last translation file directory. Improvements: * The 'Configure Columns' dialog now computes a display order for the new columns, taking the previous display order into account. * While importing/synchronizing, no status dialog is displayed anymore (the status is displayed in the main window). * Improved UI responsiveness during long operations. * When hiding/restoring the main window via the system tray icon fails, KeePass now shows a notification. * Improved Return key handling in text boxes. * Improved initial input focus in some dialogs. * Enhanced database file path unification. * The configuration system does not create a KeePass folder in the user's application data folder anymore when the target configuration file location is outside this folder. * Improved window text query method. * Improved Unicode environment detection. * Various improvements for right-to-left writing systems. * Improved support for case-sensitive command line parameter names (for plugins and KPScript). * If a plugin is available both as a DLL and as a PLGX (in the same folder), KeePass now loads either the DLL or the PLGX. * For plugins: most public definitions are now static. * KPScript: improved parsing of escape sequences. * Renamed native support library item in the installer. * Upgraded installer. * Various code optimizations. * Minor other improvements. Bugfixes: * (None). OBS-URL: https://build.opensuse.org/request/show/637175 OBS-URL: https://build.opensuse.org/package/show/Mono/keepass?expand=0&rev=19
2018-09-24 12:08:49 +02:00
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define _name KeePass
Name: keepass
Accepting request 666666 from home:Ground0:branches:Mono - Update to 2.41 New Features: * Added option 'Do not store data in the Windows clipboard history and the cloud clipboard' (the option is turned on by default; for entry clipboard commands in the main window). * Added option 'Esc keypress in main window' (in 'Tools' → 'Options' → tab 'Interface'), which allows to specify the action of the Esc key (ignore, lock workspace, minimize, minimize to tray, exit). * Added option 'Ignore search settings of groups' in the 'Find' dialog. * Internal data viewer: added support for zooming images using the OEM + and - keys with Ctrl. * Added accelerator keys (especially for labels) in various dialogs. * Added UIFlags bit for disabling the 'Database Settings' menu item. * Added workarounds for Windows RTF character encoding bug. * Added workaround for Mono input focus restoration problem that occurs when a form gets activated. * Plugins: added method to provide menu items. * Plugins: added property to get the edit mode of an entry dialog. * TrlUtil: added tab 'Validation', which shows the results of all checks that TrlUtil performs. * TrlUtil: the tab in the preview form that contains the currently selected control is now selected automatically. * TrlUtil: the preview form now shows accelerator keys permanently. * TrlUtil: enhanced support for derived control classes. * TrlUtil: the current file name is now displayed in the title bar. * Enhanced installer (added user directory checks, added option to open the plugins web page, component/option names can be translated now, updated NGen size estimation, improved file associations update, ...). Improvements: * In order to avoid selection/Ctrl+A problems, the user name auto-completion now does not append suggestions anymore; it only shows a list of suggestions (in which a suggestion can be selected manually). * Improved accelerator keys in the 'Find' dialog. * The history list in the entry dialog now supports showing custom icons. * Mass entry modifications (colors/icons) now create history entries, if necessary. * Improved text rendering in dialog banners. * In the database settings dialog, the path of the database file is now shown in the dialog banner. * Improved selection/view preservation of the entry view. * While importing/synchronizing, a status dialog is displayed now if and only if the main window is not constructed completely yet (otherwise the status is displayed in the main window). * Improved reliability of clipboard operations. * Improved error reporting for the 'Paste Entries' command. * Renamed the automatic clipboard clearing option and added a tooltip in order to clarify the behavior of the option. * The commands 'Find Similar Passwords (Pairs)', 'Find Similar Passwords (Clusters)' and 'Password Quality Report' now ignore TAN entries. * The report of clusters of similar passwords now shows more clusters in certain cases. * In the 'Plugins' dialog, the plugins are now sorted alphabetically. * KeePass does not try to load satellite assemblies as plugins anymore. * Improved configuration saving when an enforced configuration file exists, but no global one. * Improved reading of KDBX XML documents with unknown elements. * The export module 'Customizable HTML File' now works fine on Unix-like systems, too. * On Unix-like systems: improved support for executing KeePass while no X server is running. * ShInstUtil: improved NGen detection on 64-bit systems. * TrlUtil: the preview form does not steal the input focus anymore. * TrlUtil: improved accelerator key check. * Various code optimizations. * Minor other improvements. Bugfixes: * Fixed a bug that caused KeePass to crash when trying to view certain password generator profiles. * The option 'Use monospace font for passwords' in the 'Print' / HTML export dialog now works for all translations. OBS-URL: https://build.opensuse.org/request/show/666666 OBS-URL: https://build.opensuse.org/package/show/Mono/keepass?expand=0&rev=21
2019-01-25 10:05:25 +01:00
Version: 2.41
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
%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