]> git.pld-linux.org Git - packages/keepassxc.git/blob - keepassxc.spec
4f97aaf49138419734a48b9700fe858bce26452c
[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.7.1
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:  4f35e710b7791513afd6928d1d735450
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:  botan2-devel >= 2.11.0
21 BuildRequires:  cmake >= 3.3.0
22 BuildRequires:  libargon2-devel
23 BuildRequires:  libusb-devel
24 BuildRequires:  minizip-devel
25 BuildRequires:  pcsc-lite-devel
26 BuildRequires:  pkgconfig
27 BuildRequires:  qrencode-devel
28 BuildRequires:  qt5-build >= 5.2.0
29 BuildRequires:  qt5-linguist >= 5.2.0
30 BuildRequires:  qt5-qmake >= 5.2.0
31 BuildRequires:  readline-devel
32 BuildRequires:  rpmbuild(find_lang) >= 1.37
33 BuildRequires:  rpmbuild(macros) >= 1.605
34 BuildRequires:  ruby-asciidoctor
35 BuildRequires:  tar >= 1:1.22
36 BuildRequires:  xorg-lib-libX11-devel
37 BuildRequires:  xorg-lib-libXi-devel
38 BuildRequires:  xorg-lib-libXtst-devel
39 BuildRequires:  xz
40 BuildRequires:  ykpers-devel
41 BuildRequires:  zlib-devel >= 1.2.0
42 Requires:       Qt5Concurrent >= 5.2.0
43 %requires_ge_to Qt5Core Qt5Core-devel
44 Requires:       Qt5DBus >= 5.2.0
45 Requires:       Qt5Gui >= 5.2.0
46 Requires:       Qt5Network >= 5.2.0
47 Requires:       Qt5Svg >= 5.2.0
48 Requires:       Qt5Widgets >= 5.2.0
49 Requires:       Qt5X11Extras >= 5.2.0
50 Requires:       desktop-file-utils
51 Requires:       hicolor-icon-theme
52 Requires:       shared-mime-info
53 Requires:       zlib >= 1.2.0
54 Obsoletes:      KeePassX
55 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
56
57 %description
58 KeePassXC is a free/open-source password manager or safe which helps
59 you to manage your passwords in a secure way. You can put all your
60 passwords in one database, which is locked with one master key or a
61 key-disk. So you only have to remember one single master password or
62 insert the key-disk to unlock the whole database. The databases are
63 encrypted using the best and most secure encryption algorithms
64 currently known (AES and Twofish).
65
66 %description -l pl.UTF-8
67 KeePassXC to darmowy i mający otwarte źródła zarządca do
68 przechowywania haseł, który pozwala na zarządzanie hasłami w bardzo
69 bezpieczny sposób. Pozwala umieścić wszystkie swoje hasła w jednej
70 bazie, która jest zabezpieczona poprzez jedno bardzo trudne hasło albo
71 dysk z kluczem. Wystarczy więc zapamiętać jedno trudne hasło lub
72 umieścić dysk z kluczem aby odblokować całą bazę z kluczami. Baza jest
73 zaszyfrowana najlepszymi i najbardziej bezpiecznymi algorytmami
74 szyfrowania jakie są do tej pory znane (AES i TwoFish).
75
76 %prep
77 %setup -q
78
79 %build
80 install -d build
81 cd build
82 %cmake \
83         -DKEEPASSXC_BUILD_TYPE=Release \
84         -DWITH_XC_BROWSER=ON \
85         -DWITH_XC_KEESHARE=ON \
86         -DWITH_XC_SSHAGENT=ON \
87         -DWITH_XC_YUBIKEY=ON \
88         ..
89 %{__make}
90
91 %install
92 rm -rf $RPM_BUILD_ROOT
93 %{__make} -C build install \
94         DESTDIR=$RPM_BUILD_ROOT
95
96 %find_lang %{name} --with-qm
97
98 %{__sed} -i -e '
99         s/%lang(en_plurals)/%%lang(en)/
100         s/%lang(nl_NL)/%%lang(nl)/
101 ' %{name}.lang
102
103 %clean
104 rm -rf $RPM_BUILD_ROOT
105
106 %post
107 %update_icon_cache hicolor
108 %update_desktop_database
109 %update_mime_database
110
111 %postun
112 %update_icon_cache hicolor
113 %update_desktop_database_postun
114 %update_mime_database
115
116 %files -f %{name}.lang
117 %defattr(644,root,root,755)
118 %attr(755,root,root) %{_bindir}/keepassxc
119 %attr(755,root,root) %{_bindir}/keepassxc-cli
120 %attr(755,root,root) %{_bindir}/keepassxc-proxy
121 %{_datadir}/metainfo/org.keepassxc.KeePassXC.appdata.xml
122 %{_datadir}/mime/packages/keepassxc.xml
123 %{_desktopdir}/org.keepassxc.KeePassXC.desktop
124 %dir %{_datadir}/keepassxc
125 %{_datadir}/keepassxc/docs
126 %{_datadir}/keepassxc/icons
127 %dir %{_datadir}/keepassxc/translations
128 %{_datadir}/keepassxc/wordlists
129 %dir %{_libdir}/keepassxc
130 %attr(755,root,root) %{_libdir}/keepassxc/libkeepassxc-autotype-xcb.so
131 %{_iconsdir}/hicolor/*x*/apps/keepassxc*.png
132 %{_iconsdir}/hicolor/scalable/apps/keepassxc*.svg
133 %{_iconsdir}/hicolor/scalable/mimetypes/application-x-keepassxc.svg
134 %{_mandir}/man1/keepassxc.1*
135 %{_mandir}/man1/keepassxc-cli.1*
This page took 0.089357 seconds and 2 git commands to generate.