]> git.pld-linux.org Git - packages/keepassxc.git/blame - keepassxc.spec
Release 2 (by relup.sh)
[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
3c086890 4Version: 2.7.1
00b92efb 5Release: 2
545b64ca
JB
6License: GPL v2+
7Group: X11/Applications
87533e38 8Source0: https://github.com/keepassxreboot/keepassxc/releases/download/%{version}/%{name}-%{version}-src.tar.xz
3c086890 9# Source0-md5: 4f35e710b7791513afd6928d1d735450
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
87533e38 20BuildRequires: botan2-devel >= 2.11.0
e8b4ba4c 21BuildRequires: cmake >= 3.3.0
e580663c 22BuildRequires: libargon2-devel
87533e38
JP
23BuildRequires: libusb-devel
24BuildRequires: minizip-devel
25BuildRequires: pcsc-lite-devel
26BuildRequires: pkgconfig
a43b024f 27BuildRequires: qrencode-devel
28c3672f
JR
28BuildRequires: qt5-build >= 5.2.0
29BuildRequires: qt5-linguist >= 5.2.0
30BuildRequires: qt5-qmake >= 5.2.0
bbc8f8ff 31BuildRequires: readline-devel
172c6aad 32BuildRequires: rpmbuild(find_lang) >= 1.37
d3646772 33BuildRequires: rpmbuild(macros) >= 1.605
e8b4ba4c 34BuildRequires: ruby-asciidoctor
57e52a5c 35BuildRequires: tar >= 1:1.22
dddba08b 36BuildRequires: xorg-lib-libX11-devel
e580663c 37BuildRequires: xorg-lib-libXi-devel
ac3eab8f 38BuildRequires: xorg-lib-libXtst-devel
57e52a5c 39BuildRequires: xz
7faa084d 40BuildRequires: ykpers-devel
e580663c
JP
41BuildRequires: zlib-devel >= 1.2.0
42Requires: Qt5Concurrent >= 5.2.0
4152993c 43%requires_ge_to Qt5Core Qt5Core-devel
e580663c 44Requires: Qt5DBus >= 5.2.0
a43b024f 45Requires: Qt5Gui >= 5.2.0
e580663c 46Requires: Qt5Network >= 5.2.0
a43b024f 47Requires: Qt5Svg >= 5.2.0
e580663c
JP
48Requires: Qt5Widgets >= 5.2.0
49Requires: Qt5X11Extras >= 5.2.0
c638693c
ER
50Requires: desktop-file-utils
51Requires: hicolor-icon-theme
52Requires: shared-mime-info
e580663c 53Requires: zlib >= 1.2.0
e902ed13 54Obsoletes: KeePassX
046632b4 55BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
56
57%description
e580663c 58KeePassXC is a free/open-source password manager or safe which helps
8a4f5eb1 59you to manage your passwords in a secure way. You can put all your
60passwords in one database, which is locked with one master key or a
61key-disk. So you only have to remember one single master password or
62insert the key-disk to unlock the whole database. The databases are
63encrypted using the best and most secure encryption algorithms
64currently known (AES and Twofish).
046632b4 65
7870ed46 66%description -l pl.UTF-8
e580663c
JP
67KeePassXC to darmowy i mający otwarte źródła zarządca do
68przechowywania haseł, który pozwala na zarządzanie hasłami w bardzo
69bezpieczny sposób. Pozwala umieścić wszystkie swoje hasła w jednej
70bazie, która jest zabezpieczona poprzez jedno bardzo trudne hasło albo
71dysk z kluczem. Wystarczy więc zapamiętać jedno trudne hasło lub
72umieścić dysk z kluczem aby odblokować całą bazę z kluczami. Baza jest
545b64ca 73zaszyfrowana najlepszymi i najbardziej bezpiecznymi algorytmami
7870ed46 74szyfrowania jakie są do tej pory znane (AES i TwoFish).
046632b4 75
76%prep
92f6d886 77%setup -q
046632b4 78
79%build
e334b5b1
JR
80install -d build
81cd build
82%cmake \
e580663c
JP
83 -DKEEPASSXC_BUILD_TYPE=Release \
84 -DWITH_XC_BROWSER=ON \
a43b024f 85 -DWITH_XC_KEESHARE=ON \
e580663c 86 -DWITH_XC_SSHAGENT=ON \
7faa084d 87 -DWITH_XC_YUBIKEY=ON \
e902ed13 88 ..
e334b5b1 89%{__make}
194bc162 90
12fc2b00 91%install
046632b4 92rm -rf $RPM_BUILD_ROOT
e334b5b1
JR
93%{__make} -C build install \
94 DESTDIR=$RPM_BUILD_ROOT
12fc2b00 95
87533e38 96%find_lang %{name} --with-qm
172c6aad
ER
97
98%{__sed} -i -e '
99 s/%lang(en_plurals)/%%lang(en)/
100 s/%lang(nl_NL)/%%lang(nl)/
101' %{name}.lang
102
046632b4 103%clean
104rm -rf $RPM_BUILD_ROOT
046632b4 105
c638693c
ER
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
172c6aad 116%files -f %{name}.lang
046632b4 117%defattr(644,root,root,755)
e580663c
JP
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
c0939916 125%{_datadir}/keepassxc/docs
e580663c
JP
126%{_datadir}/keepassxc/icons
127%dir %{_datadir}/keepassxc/translations
128%{_datadir}/keepassxc/wordlists
129%dir %{_libdir}/keepassxc
87533e38 130%attr(755,root,root) %{_libdir}/keepassxc/libkeepassxc-autotype-xcb.so
e580663c 131%{_iconsdir}/hicolor/*x*/apps/keepassxc*.png
a43b024f
JP
132%{_iconsdir}/hicolor/scalable/apps/keepassxc*.svg
133%{_iconsdir}/hicolor/scalable/mimetypes/application-x-keepassxc.svg
c0939916 134%{_mandir}/man1/keepassxc.1*
e580663c 135%{_mandir}/man1/keepassxc-cli.1*
This page took 0.210522 seconds and 4 git commands to generate.