Package keepassxc: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 | Name: keepassxc Version: 2.7.1 Release: alt1 Summary: KeePassXC Password Safe - light-weight cross-platform password manager License: GPLv2+ Group: File tools Url: http://www.keepassxc.org/ #Source: https://github.com/keepassxreboot/keepassxc/releases/download/%version/%name-%version-src.tar.xz Source: %name-%version.tar # to update the translation (may require creating an account on transifex and joining the project): # - either go to https://www.transifex.com/keepassxc/keepassxc/language/ru/ and "download for use", category "master" # - or use transifex client `tx pull` accordingly Source1: keepassx_ru.ts %def_without yubikey # requires asciidoctor %def_enable docs BuildRequires(pre): rpm-build-licenses BuildRequires(pre): rpm-macros-cmake BuildRequires: cmake ctest gcc-c++ BuildRequires: qt5-base-devel >= 5.9.5 qt5-tools-devel >= 5.9.5 qt5-svg-devel BuildRequires: libbotan-devel >= 2.12 BuildRequires: libargon2-devel BuildRequires: libsodium-devel >= 1.0.12 BuildRequires: zlib-devel >= 1.2.0 BuildRequires: libqrencode4-devel BuildRequires: libreadline-devel BuildRequires: libminizip-devel # Optional for Auto-Type on X11/Linux: BuildRequires: libXi-devel, libXtst-devel, qt5-x11extras-devel # Optional for YubiKey support %if_with yubikey BuildRequires: libyubikey-devel, ykpers-devel %endif %if_enabled docs BuildRequires: asciidoctor %endif %description KeePassXC is a community fork of KeePassX, a native cross-platform port of KeePass Password Safe, with the goal to extend and improve it with new features and bugfixes to provide a feature-rich, fully cross-platform and modern open-source password manager. %prep %setup %ifarch %e2k # strip UTF-8 BOM for lcc < 1.24 find -name '*.cpp' -o -name '*.h' | xargs sed -ri 's,^\xEF\xBB\xBF,,' %endif # install fresh translation cp -v %SOURCE1 share/translations/keepassx_ru.ts %build # LTO is not supported yet, see https://github.com/keepassxreboot/keepassxc/issues/5801 %define optflags_lto %{nil} %cmake \ -DWITH_TESTS=ON \ -DWITH_XC_BROWSER=ON \ -DWITH_XC_NETWORKING=ON \ -DWITH_XC_AUTOTYPE=ON \ -DWITH_XC_SSHAGENT=ON \ -DWITH_XC_KEESHARE=ON \ -DWITH_XC_UPDATECHECK=OFF \ -DWITH_XC_FDOSECRETS=ON \ %if_enabled docs -DWITH_XC_DOCS=ON \ %else -DWITH_XC_DOCS=OFF \ %endif %if_with yubikey -DWITH_XC_YUBIKEY=ON %endif %cmake_build %check pushd %_target_platform make -j%__nprocs test ARGS+="-E test\(cli\|gui\) --output-on-failure" %install %cmake_install %files %_bindir/* %_libdir/%name %_desktopdir/org.%name.KeePassXC.desktop %_datadir/metainfo/org.%name.KeePassXC.appdata.xml %_datadir/mime/packages/%name.xml %_iconsdir/hicolor/*/*/* %_datadir/%name %if_enabled docs %_mandir/man?/* %endif %changelog * Sun Apr 10 2022 Pavel Nakonechnyi <zorg@altlinux.org> 2.7.1-alt1 - updated to v2.7.1 * Thu Mar 24 2022 Pavel Nakonechnyi <zorg@altlinux.org> 2.7.0-alt1 - updated to v2.7.0 - updated Russian translation from https://www.transifex.com/keepassxc/keepassxc/language/ru/ - added libbotan-devel build dependency, quazip-qt5-devel removed - added libreadline-devel and libminizip-devel build dependencies - tests were enabled - minor cleanup of cmake build flags * Thu Nov 11 2021 Sergey V Turchin <zerg@altlinux.org> 2.6.6-alt4 - update build requires * Sat Aug 28 2021 Pavel Nakonechnyi <zorg@altlinux.org> 2.6.6-alt3 - LTO explicitly disabled as it is not supported yet - disable building tests: we don't run them anyway * Mon Jul 19 2021 Pavel Nakonechnyi <zorg@altlinux.org> 2.6.6-alt2 - Updated Russian translation from https://www.transifex.com/keepassxc/keepassxc/language/ru/ last updated: May 30th 2021, fixes #40503 * Mon Jun 14 2021 Pavel Nakonechnyi <zorg@altlinux.org> 2.6.6-alt1 - Updated to v2.6.6. * Mon May 31 2021 Arseny Maslennikov <arseny@altlinux.org> 2.6.4-alt1.1 - NMU: spec: adapted to new cmake macros. * Mon Feb 01 2021 Pavel Nakonechnyi <zorg@altlinux.org> 2.6.4-alt1 - Updated to v2.6.4. * Sun Jan 17 2021 Pavel Nakonechnyi <zorg@altlinux.org> 2.6.3-alt1 - Updated to v2.6.3. * Thu Oct 22 2020 Pavel Nakonechnyi <zorg@altlinux.org> 2.6.2-alt1 - Updated to v2.6.2. * Thu Aug 20 2020 Pavel Nakonechnyi <zorg@altlinux.org> 2.6.1-alt1 - Updated to v2.6.1. * Tue Jul 07 2020 Pavel Nakonechnyi <zorg@altlinux.org> 2.6.0-alt1 - Updated to v2.6.0. - add asciidoctor as a build requirement to build documentation * Fri Apr 10 2020 Pavel Nakonechnyi <zorg@altlinux.org> 2.5.4-alt1 - Updated to v2.5.4. * Sun Feb 09 2020 Pavel Nakonechnyi <zorg@altlinux.org> 2.5.3-alt1 - Updated to v2.5.3. * Mon Jan 13 2020 Pavel Nakonechnyi <zorg@altlinux.org> 2.5.2-alt1 - Updated to v2.5.2. * Tue Nov 12 2019 Pavel Nakonechnyi <zorg@altlinux.org> 2.5.1-alt1 - Updated to v2.5.1. * Sat Oct 27 2019 Pavel Nakonechnyi <zorg@altlinux.org> 2.5.0-alt1 - Updated to v2.5.0. - enable support for Freedesktop.org secret storage DBus protocol * Wed Jun 12 2019 Pavel Nakonechnyi <zorg@altlinux.org> 2.4.3-alt1 - Updated to v2.4.3. * Mon Jun 03 2019 Michael Shigorin <mike@altlinux.org> 2.4.2-alt2 - E2K: strip UTF-8 BOM for lcc < 1.24 - minor spec cleanup * Sat Jun 01 2019 Pavel Nakonechnyi <zorg@altlinux.org> 2.4.2-alt1 - Updated to v2.4.2. * Sun Apr 14 2019 Pavel Nakonechnyi <zorg@altlinux.org> 2.4.1-alt1 - Updated to v2.4.1. - Check for updates disabled. * Wed Mar 20 2019 Pavel Nakonechnyi <zorg@altlinux.org> 2.4.0-alt1 - Updated to v2.4.0. - KeeShare support enabled - new dependencies: libqrencode, qt5svg, libquazip-qt5 * Thu Aug 23 2018 Pavel Nakonechnyi <zorg@altlinux.org> 2.3.4-alt1 - Updated to v2.3.4. * Sat Jun 16 2018 Pavel Nakonechnyi <zorg@altlinux.org> 2.3.3-alt1 - Updated to v2.3.3. * Mon Oct 23 2017 Pavel Vyazovoy <paulelms@altlinux.org> 2.2.2-alt1 - Updated to v2.2.2. * Sun Oct 15 2017 Pavel Vyazovoy <paulelms@altlinux.org> 2.2.1-alt1 - Initial build v2.2.1. |