]>
Commit | Line | Data |
---|---|---|
e580663c JP |
1 | Summary: KeePassXC - Cross Platform Password Manager |
2 | Summary(pl.UTF-8): KeePassXC - Wieloplatformowy zarządca haseł | |
3 | Name: keepassxc | |
c0f41fcc | 4 | Version: 2.5.3 |
f8130ab0 | 5 | Release: 1 |
545b64ca JB |
6 | License: GPL v2+ |
7 | Group: X11/Applications | |
e580663c | 8 | Source0: https://github.com/keepassxreboot/keepassxc/archive/%{version}.tar.gz |
c0f41fcc | 9 | # Source0-md5: 8870e7e39263528cd6920dbc450aaa5b |
e580663c | 10 | URL: https://keepassxc.org/ |
28c3672f | 11 | BuildRequires: Qt5Concurrent-devel >= 5.2.0 |
172c6aad | 12 | BuildRequires: Qt5Core-devel >= 5.2.0 |
e580663c | 13 | BuildRequires: Qt5DBus-devel >= 5.2.0 |
a43b024f | 14 | BuildRequires: Qt5Gui-devel >= 5.2.0 |
e580663c | 15 | BuildRequires: Qt5Network-devel >= 5.2.0 |
a43b024f | 16 | BuildRequires: Qt5Svg-devel >= 5.2.0 |
28c3672f | 17 | BuildRequires: Qt5Test-devel >= 5.2.0 |
172c6aad | 18 | BuildRequires: Qt5Widgets-devel >= 5.2.0 |
28c3672f | 19 | BuildRequires: Qt5X11Extras-devel >= 5.2.0 |
e580663c JP |
20 | BuildRequires: cmake >= 3.1.0 |
21 | BuildRequires: libargon2-devel | |
22 | BuildRequires: libgcrypt-devel >= 1.7.0 | |
23 | BuildRequires: libgpg-error-devel | |
24 | BuildRequires: libsodium-devel >= 1.0.12 | |
7faa084d | 25 | BuildRequires: libyubikey-devel |
a43b024f | 26 | BuildRequires: qrencode-devel |
28c3672f JR |
27 | BuildRequires: qt5-build >= 5.2.0 |
28 | BuildRequires: qt5-linguist >= 5.2.0 | |
29 | BuildRequires: qt5-qmake >= 5.2.0 | |
172c6aad | 30 | BuildRequires: rpmbuild(find_lang) >= 1.37 |
046632b4 | 31 | BuildRequires: rpmbuild(macros) >= 1.230 |
dddba08b | 32 | BuildRequires: xorg-lib-libX11-devel |
e580663c | 33 | BuildRequires: xorg-lib-libXi-devel |
ac3eab8f | 34 | BuildRequires: xorg-lib-libXtst-devel |
7faa084d | 35 | BuildRequires: ykpers-devel |
e580663c JP |
36 | BuildRequires: zlib-devel >= 1.2.0 |
37 | Requires: Qt5Concurrent >= 5.2.0 | |
4152993c | 38 | %requires_ge_to Qt5Core Qt5Core-devel |
e580663c | 39 | Requires: Qt5DBus >= 5.2.0 |
a43b024f | 40 | Requires: Qt5Gui >= 5.2.0 |
e580663c | 41 | Requires: Qt5Network >= 5.2.0 |
a43b024f | 42 | Requires: Qt5Svg >= 5.2.0 |
e580663c JP |
43 | Requires: Qt5Widgets >= 5.2.0 |
44 | Requires: Qt5X11Extras >= 5.2.0 | |
c638693c ER |
45 | Requires: desktop-file-utils |
46 | Requires: hicolor-icon-theme | |
e580663c JP |
47 | Requires: libgcrypt >= 1.7.0 |
48 | Requires: libsodium >= 1.0.12 | |
c638693c | 49 | Requires: shared-mime-info |
e580663c | 50 | Requires: zlib >= 1.2.0 |
e902ed13 | 51 | Obsoletes: KeePassX |
046632b4 | 52 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
53 | ||
54 | %description | |
e580663c | 55 | KeePassXC is a free/open-source password manager or safe which helps |
8a4f5eb1 | 56 | you to manage your passwords in a secure way. You can put all your |
57 | passwords in one database, which is locked with one master key or a | |
58 | key-disk. So you only have to remember one single master password or | |
59 | insert the key-disk to unlock the whole database. The databases are | |
60 | encrypted using the best and most secure encryption algorithms | |
61 | currently known (AES and Twofish). | |
046632b4 | 62 | |
7870ed46 | 63 | %description -l pl.UTF-8 |
e580663c JP |
64 | KeePassXC to darmowy i mający otwarte źródła zarządca do |
65 | przechowywania haseł, który pozwala na zarządzanie hasłami w bardzo | |
66 | bezpieczny sposób. Pozwala umieścić wszystkie swoje hasła w jednej | |
67 | bazie, która jest zabezpieczona poprzez jedno bardzo trudne hasło albo | |
68 | dysk z kluczem. Wystarczy więc zapamiętać jedno trudne hasło lub | |
69 | umieścić dysk z kluczem aby odblokować całą bazę z kluczami. Baza jest | |
545b64ca | 70 | zaszyfrowana najlepszymi i najbardziej bezpiecznymi algorytmami |
7870ed46 | 71 | szyfrowania jakie są do tej pory znane (AES i TwoFish). |
046632b4 | 72 | |
73 | %prep | |
92f6d886 | 74 | %setup -q |
046632b4 | 75 | |
76 | %build | |
e334b5b1 JR |
77 | install -d build |
78 | cd build | |
79 | %cmake \ | |
e580663c JP |
80 | -DKEEPASSXC_BUILD_TYPE=Release \ |
81 | -DWITH_XC_BROWSER=ON \ | |
a43b024f | 82 | -DWITH_XC_KEESHARE=ON \ |
e580663c | 83 | -DWITH_XC_SSHAGENT=ON \ |
7faa084d | 84 | -DWITH_XC_YUBIKEY=ON \ |
e902ed13 | 85 | .. |
e334b5b1 | 86 | %{__make} |
194bc162 | 87 | |
12fc2b00 | 88 | %install |
046632b4 | 89 | rm -rf $RPM_BUILD_ROOT |
e334b5b1 JR |
90 | %{__make} -C build install \ |
91 | DESTDIR=$RPM_BUILD_ROOT | |
12fc2b00 | 92 | |
e580663c | 93 | %find_lang keepassx %{name}.lang --with-qm |
172c6aad ER |
94 | |
95 | %{__sed} -i -e ' | |
96 | s/%lang(en_plurals)/%%lang(en)/ | |
97 | s/%lang(nl_NL)/%%lang(nl)/ | |
98 | ' %{name}.lang | |
99 | ||
046632b4 | 100 | %clean |
101 | rm -rf $RPM_BUILD_ROOT | |
046632b4 | 102 | |
c638693c ER |
103 | %post |
104 | %update_icon_cache hicolor | |
105 | %update_desktop_database | |
106 | %update_mime_database | |
107 | ||
108 | %postun | |
109 | %update_icon_cache hicolor | |
110 | %update_desktop_database_postun | |
111 | %update_mime_database | |
112 | ||
172c6aad | 113 | %files -f %{name}.lang |
046632b4 | 114 | %defattr(644,root,root,755) |
e580663c JP |
115 | %attr(755,root,root) %{_bindir}/keepassxc |
116 | %attr(755,root,root) %{_bindir}/keepassxc-cli | |
117 | %attr(755,root,root) %{_bindir}/keepassxc-proxy | |
118 | %{_datadir}/metainfo/org.keepassxc.KeePassXC.appdata.xml | |
119 | %{_datadir}/mime/packages/keepassxc.xml | |
120 | %{_desktopdir}/org.keepassxc.KeePassXC.desktop | |
121 | %dir %{_datadir}/keepassxc | |
c0939916 | 122 | %{_datadir}/keepassxc/docs |
e580663c JP |
123 | %{_datadir}/keepassxc/icons |
124 | %dir %{_datadir}/keepassxc/translations | |
a43b024f | 125 | %{_datadir}/keepassxc/wizard |
e580663c JP |
126 | %{_datadir}/keepassxc/wordlists |
127 | %dir %{_libdir}/keepassxc | |
128 | %attr(755,root,root) %{_libdir}/keepassxc/libkeepassx-autotype-xcb.so | |
129 | %{_iconsdir}/hicolor/*x*/apps/keepassxc*.png | |
130 | %{_iconsdir}/hicolor/*x*/mimetypes/application-x-keepassxc.png | |
a43b024f JP |
131 | %{_iconsdir}/hicolor/scalable/apps/keepassxc*.svg |
132 | %{_iconsdir}/hicolor/scalable/mimetypes/application-x-keepassxc.svg | |
c0939916 | 133 | %{_mandir}/man1/keepassxc.1* |
e580663c | 134 | %{_mandir}/man1/keepassxc-cli.1* |