SHA256
1
0
forked from pool/keepass
keepass/keepass.spec
Ismail Dönmez f19c378a44 - 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 10:12:12 +00:00

109 lines
3.5 KiB
RPMSpec

#
# 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.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
%define _name KeePass
Name: keepass
Version: 2.39
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
%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