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