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