|
|
@ -1,18 +1,15 @@
|
|
|
|
|
|
|
|
%undefine __cmake_in_source_build
|
|
|
|
# EPEL7 not possible because libgcrypt version is 1.5
|
|
|
|
# EPEL7 not possible because libgcrypt version is 1.5
|
|
|
|
|
|
|
|
|
|
|
|
Name: keepassxc
|
|
|
|
Name: keepassxc
|
|
|
|
Version: 2.5.1
|
|
|
|
Version: 2.6.0
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: Cross-platform password manager
|
|
|
|
Summary: Cross-platform password manager
|
|
|
|
License: Boost and BSD and CC0 and GPLv3 and LGPLv2 and LGPLv2+ and LGPLv3+ and Public Domain
|
|
|
|
License: Boost and BSD and CC0 and GPLv3 and LGPLv2 and LGPLv2+ and LGPLv3+ and Public Domain
|
|
|
|
URL: http://www.keepassxc.org/
|
|
|
|
URL: http://www.keepassxc.org/
|
|
|
|
Source0: https://github.com/keepassxreboot/keepassxc/releases/download/%{version}/keepassxc-%{version}-src.tar.xz
|
|
|
|
Source0: https://github.com/keepassxreboot/keepassxc/releases/download/%{version}/keepassxc-%{version}-src.tar.xz
|
|
|
|
|
|
|
|
|
|
|
|
%if 0%{?el7}
|
|
|
|
|
|
|
|
BuildRequires: cmake3 >= 3.1
|
|
|
|
|
|
|
|
%else
|
|
|
|
|
|
|
|
BuildRequires: cmake >= 3.1
|
|
|
|
BuildRequires: cmake >= 3.1
|
|
|
|
%endif
|
|
|
|
|
|
|
|
BuildRequires: desktop-file-utils
|
|
|
|
BuildRequires: desktop-file-utils
|
|
|
|
BuildRequires: gcc-c++ >= 4.7
|
|
|
|
BuildRequires: gcc-c++ >= 4.7
|
|
|
|
BuildRequires: qt5-qtbase-devel >= 5.2
|
|
|
|
BuildRequires: qt5-qtbase-devel >= 5.2
|
|
|
@ -37,6 +34,9 @@ BuildRequires: quazip-qt5-devel
|
|
|
|
BuildRequires: ykpers-devel
|
|
|
|
BuildRequires: ykpers-devel
|
|
|
|
BuildRequires: zlib-devel
|
|
|
|
BuildRequires: zlib-devel
|
|
|
|
BuildRequires: libappstream-glib
|
|
|
|
BuildRequires: libappstream-glib
|
|
|
|
|
|
|
|
BuildRequires: qt5-qtbase-private-devel
|
|
|
|
|
|
|
|
BuildRequires: readline-devel
|
|
|
|
|
|
|
|
BuildRequires: rubygem-asciidoctor
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%description
|
|
|
|
KeePassXC is a community fork of KeePassX
|
|
|
|
KeePassXC is a community fork of KeePassX
|
|
|
@ -61,21 +61,22 @@ information can be considered as quite safe.
|
|
|
|
%autosetup
|
|
|
|
%autosetup
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
mkdir build
|
|
|
|
# This package fails to build with LTO due to undefined symbols. LTO
|
|
|
|
cd build
|
|
|
|
# was disabled in OpenSuSE as well, but with no real explanation why
|
|
|
|
|
|
|
|
# beyond the undefined symbols. It really shold be investigated further.
|
|
|
|
|
|
|
|
# Disable LTO
|
|
|
|
|
|
|
|
%define _lto_cflags %{nil}
|
|
|
|
|
|
|
|
|
|
|
|
%cmake .. \
|
|
|
|
%cmake \
|
|
|
|
-DWITH_TESTS=OFF \
|
|
|
|
-DWITH_TESTS=OFF \
|
|
|
|
-DWITH_XC_ALL=ON \
|
|
|
|
-DWITH_XC_ALL=ON \
|
|
|
|
-DWITH_XC_KEESHARE_SECURE=ON \
|
|
|
|
-DWITH_XC_KEESHARE_SECURE=ON \
|
|
|
|
-WITH_XC_UPDATECHECK=OFF \
|
|
|
|
-WITH_XC_UPDATECHECK=OFF \
|
|
|
|
-DCMAKE_BUILD_TYPE=Release
|
|
|
|
-DCMAKE_BUILD_TYPE=Release
|
|
|
|
|
|
|
|
%cmake_build
|
|
|
|
%make_build
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
cd build
|
|
|
|
%cmake_install
|
|
|
|
%make_install
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
desktop-file-install \
|
|
|
|
desktop-file-install \
|
|
|
|
--dir %{buildroot}%{_datadir}/applications \
|
|
|
|
--dir %{buildroot}%{_datadir}/applications \
|
|
|
@ -101,7 +102,7 @@ install -D -m 644 -p x-keepassxc.desktop \
|
|
|
|
%find_lang keepassx --with-qt
|
|
|
|
%find_lang keepassx --with-qt
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
%check
|
|
|
|
ctest -V %{?_smp_mflags}
|
|
|
|
%ctest
|
|
|
|
desktop-file-validate %{buildroot}%{_datadir}/applications/org.%{name}.KeePassXC.desktop
|
|
|
|
desktop-file-validate %{buildroot}%{_datadir}/applications/org.%{name}.KeePassXC.desktop
|
|
|
|
appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/org.%{name}.KeePassXC.appdata.xml
|
|
|
|
appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/org.%{name}.KeePassXC.appdata.xml
|
|
|
|
|
|
|
|
|
|
|
@ -122,6 +123,24 @@ appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/org.%{nam
|
|
|
|
%{_mandir}/man1/%{name}.1*
|
|
|
|
%{_mandir}/man1/%{name}.1*
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Tue Jul 07 2020 Mukundan Ragavan <nonamedotc@fedoraproject.org> - 2.6.0-1
|
|
|
|
|
|
|
|
- Update to 2.6.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jul 01 2020 Jeff Law <law@redhat.com> - 2.5.4-2
|
|
|
|
|
|
|
|
- Diable LTO
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Apr 09 2020 Mukundan Ragavan <nonamedotc@fedoraproject.org> - 2.5.4-1
|
|
|
|
|
|
|
|
- Update to 2.5.4
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.5.3-2
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Jan 20 2020 Mukundan Ragavan <nonamedotc@fedoraproject.org> - 2.5.3-1
|
|
|
|
|
|
|
|
- Update to 2.5.3
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sun Jan 05 2020 Mukundan Ragavan <nonamedotc@fedoraproject.org> - 2.5.2-1
|
|
|
|
|
|
|
|
- Update to 2.5.2
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Nov 12 2019 Germano Massullo <germano.massullo@gmail.com> - 2.5.1-1
|
|
|
|
* Tue Nov 12 2019 Germano Massullo <germano.massullo@gmail.com> - 2.5.1-1
|
|
|
|
- 2.5.1 release
|
|
|
|
- 2.5.1 release
|
|
|
|
|
|
|
|
|
|
|
|