]>
Commit | Line | Data |
---|---|---|
d96d5228 ER |
1 | # TODO |
2 | # - forcing our cflags breaks build | |
e334b5b1 | 3 | %define pre alpha6 |
e6564608 | 4 | %define rel 1 |
046632b4 | 5 | Summary: KeePassX - Cross Platform Password Manager |
eee068c0 | 6 | Summary(pl.UTF-8): KeePassX - Wieloplatformowy zarządca haseł |
046632b4 | 7 | Name: KeePassX |
e334b5b1 JR |
8 | Version: 2.0 |
9 | Release: 0.%{pre}.%{rel} | |
545b64ca JB |
10 | License: GPL v2+ |
11 | Group: X11/Applications | |
e334b5b1 JR |
12 | #Source0: http://downloads.sourceforge.net/keepassx/keepassx-%{version}.tar.gz |
13 | Source0: http://www.keepassx.org/dev/attachments/download/69/keepassx-%{version}-%{pre}.tar.gz | |
14 | # Source0-md5: 7c1c3a42aff63abd8db3bc8df6c963f6 | |
dddba08b | 15 | Patch0: git.patch |
545b64ca | 16 | URL: http://keepassx.sourceforge.net/ |
dddba08b JR |
17 | BuildRequires: QtCore-devel >= 4.6.0 |
18 | BuildRequires: QtDBus-devel >= 4.6.0 | |
19 | BuildRequires: QtGui-devel >= 4.6.0 | |
20 | BuildRequires: QtXml-devel >= 4.6.0 | |
21 | BuildRequires: libgcrypt-devel >= 1.6 | |
22 | BuildRequires: qt4-build >= 4.6.0 | |
23 | BuildRequires: qt4-linguist >= 4.6.0 | |
24 | BuildRequires: qt4-qmake >= 4.6.0 | |
046632b4 | 25 | BuildRequires: rpmbuild(macros) >= 1.230 |
dddba08b JR |
26 | BuildRequires: xorg-lib-libX11-devel |
27 | BuildRequires: xorg-lib-libXext-devel | |
ac3eab8f | 28 | BuildRequires: xorg-lib-libXtst-devel |
dddba08b | 29 | BuildRequires: zlib-devel |
c638693c ER |
30 | Requires: desktop-file-utils |
31 | Requires: hicolor-icon-theme | |
32 | Requires: shared-mime-info | |
046632b4 | 33 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
34 | ||
35 | %description | |
8a4f5eb1 | 36 | KeePassX is a free/open-source password manager or safe which helps |
37 | you to manage your passwords in a secure way. You can put all your | |
38 | passwords in one database, which is locked with one master key or a | |
39 | key-disk. So you only have to remember one single master password or | |
40 | insert the key-disk to unlock the whole database. The databases are | |
41 | encrypted using the best and most secure encryption algorithms | |
42 | currently known (AES and Twofish). | |
046632b4 | 43 | |
7870ed46 JR |
44 | %description -l pl.UTF-8 |
45 | KeePassX to darmowy i mający otwarte źródła zarządca do przechowywania | |
46 | haseł, który pozwala na zarządzanie hasłami w bardzo bezpieczny | |
47 | sposób. Pozwala umieścić wszystkie swoje hasła w jednej bazie, która | |
48 | jest zabezpieczona poprzez jedno bardzo trudne hasło albo dysk z | |
49 | kluczem. Wystarczy więc zapamiętać jedno trudne hasło lub umieścić | |
50 | dysk z kluczem aby odblokować całą bazę z kluczami. Baza jest | |
545b64ca | 51 | zaszyfrowana najlepszymi i najbardziej bezpiecznymi algorytmami |
7870ed46 | 52 | szyfrowania jakie są do tej pory znane (AES i TwoFish). |
046632b4 | 53 | |
54 | %prep | |
e334b5b1 | 55 | %setup -q -n keepassx-%{version}-%{pre} |
dddba08b | 56 | %patch0 -p1 |
046632b4 | 57 | |
58 | %build | |
e334b5b1 JR |
59 | install -d build |
60 | cd build | |
61 | %cmake \ | |
62 | ../ | |
63 | %{__make} | |
194bc162 | 64 | |
12fc2b00 | 65 | %install |
046632b4 | 66 | rm -rf $RPM_BUILD_ROOT |
194bc162 | 67 | |
e334b5b1 JR |
68 | %{__make} -C build install \ |
69 | DESTDIR=$RPM_BUILD_ROOT | |
12fc2b00 | 70 | |
046632b4 | 71 | %clean |
72 | rm -rf $RPM_BUILD_ROOT | |
046632b4 | 73 | |
c638693c ER |
74 | %post |
75 | %update_icon_cache hicolor | |
76 | %update_desktop_database | |
77 | %update_mime_database | |
78 | ||
79 | %postun | |
80 | %update_icon_cache hicolor | |
81 | %update_desktop_database_postun | |
82 | %update_mime_database | |
83 | ||
046632b4 | 84 | %files |
85 | %defattr(644,root,root,755) | |
d96d5228 | 86 | %attr(755,root,root) %{_bindir}/keepassx |
470f0279 | 87 | %{_datadir}/mime/packages/keepassx.xml |
543e0291 | 88 | %{_desktopdir}/keepassx.desktop |
6928501e ER |
89 | %dir %{_datadir}/keepassx |
90 | %{_datadir}/keepassx/icons | |
dddba08b JR |
91 | %dir %{_datadir}/keepassx/translations |
92 | %lang(de) %{_datadir}/keepassx/translations/keepassx_de.qm | |
93 | %{_datadir}/keepassx/translations/keepassx_en_plurals.qm | |
94 | %lang(it) %{_datadir}/keepassx/translations/keepassx_it.qm | |
95 | %lang(nl) %{_datadir}/keepassx/translations/keepassx_nl_NL.qm | |
96 | %lang(sv) %{_datadir}/keepassx/translations/keepassx_sv.qm | |
e334b5b1 JR |
97 | %dir %{_libdir}/keepassx |
98 | %attr(755,root,root) %{_libdir}/keepassx/libkeepassx-autotype-x11.so | |
99 | %{_iconsdir}/hicolor/*x*/apps/keepassx.png | |
100 | %{_iconsdir}/hicolor/*x*/mimetypes/application-x-keepassx.png | |
101 | %{_iconsdir}/hicolor/scalable/apps/keepassx.svgz |