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