| 1 | Name: keepassx
|
|---|
| 2 | Version: 2.0.3
|
|---|
| 3 | Release: 1%{?dist}
|
|---|
| 4 | Summary: Cross-platform password manager
|
|---|
| 5 | Group: User Interface/Desktops
|
|---|
| 6 | License: GPLv2+
|
|---|
| 7 | URL: http://www.keepassx.org
|
|---|
| 8 |
|
|---|
| 9 | Vendor: bww bitwise works GmbH
|
|---|
| 10 | %scm_source github https://github.com/ydario/keepassx keepassx-2.0.3-os2
|
|---|
| 11 | #scm_source git file://f:/rd/ports/keepassx/keepassx keepassx-2.0.3-os2
|
|---|
| 12 |
|
|---|
| 13 | BuildRequires: libqt4-devel > 4.1
|
|---|
| 14 | BuildRequires: cmake
|
|---|
| 15 | BuildRequires: libgcrypt-devel
|
|---|
| 16 |
|
|---|
| 17 | %description
|
|---|
| 18 | KeePassX is an application for people with extremly high demands on secure
|
|---|
| 19 | personal data management.
|
|---|
| 20 | KeePassX saves many different information e.g. user names, passwords, urls,
|
|---|
| 21 | attachemts and comments in one single database. For a better management
|
|---|
| 22 | user-defined titles and icons can be specified for each single entry.
|
|---|
| 23 | Furthermore the entries are sorted in groups, which are customizable as well.
|
|---|
| 24 | The integrated search function allows to search in a single group or the
|
|---|
| 25 | complete database.
|
|---|
| 26 | KeePassX offers a little utility for secure password generation. The password
|
|---|
| 27 | generator is very customizable, fast and easy to use. Especially someone who
|
|---|
| 28 | generates passwords frequently will appreciate this feature.
|
|---|
| 29 | The complete database is always encrypted either with AES (alias Rijndael) or
|
|---|
| 30 | Twofish encryption algorithm using a 256 bit key. Therefore the saved
|
|---|
| 31 | information can be considered as quite safe. KeePassX uses a database format
|
|---|
| 32 | that is compatible with KeePass Password Safe for MS Windows.
|
|---|
| 33 |
|
|---|
| 34 | %debug_package
|
|---|
| 35 |
|
|---|
| 36 | %prep
|
|---|
| 37 | %scm_setup
|
|---|
| 38 |
|
|---|
| 39 | %build
|
|---|
| 40 | mkdir build
|
|---|
| 41 | cd build
|
|---|
| 42 |
|
|---|
| 43 | pwd
|
|---|
| 44 |
|
|---|
| 45 | %cmake \
|
|---|
| 46 | -DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
|---|
| 47 | -DWITH_GUI_TESTS=OFF \
|
|---|
| 48 | -DWITH_TESTS=OFF \
|
|---|
| 49 | ..
|
|---|
| 50 |
|
|---|
| 51 | make %{?_smp_mflags}
|
|---|
| 52 |
|
|---|
| 53 | %install
|
|---|
| 54 | cd build
|
|---|
| 55 | make install DESTDIR=%{buildroot}
|
|---|
| 56 |
|
|---|
| 57 | %post
|
|---|
| 58 | %wps_object_create_begin
|
|---|
| 59 | KEEPASSX_PROG:WPProgram|KeePassX/2|<WP_DESKTOP>|EXENAME=((%{_bindir}/keepassx.exe));STARTUPDIR=%{getenv:HOME};ICONFILE=((%{_bindir}/keepassx.exe));TITLE=KeePassX/2;
|
|---|
| 60 | %wps_object_create_end
|
|---|
| 61 |
|
|---|
| 62 | %postun
|
|---|
| 63 | if [ "$1" = "0" ]; then
|
|---|
| 64 | %wps_object_delete_all
|
|---|
| 65 | fi
|
|---|
| 66 |
|
|---|
| 67 | %files
|
|---|
| 68 | %doc CHANGELOG INSTALL COPYING LICENSE*
|
|---|
| 69 | %{_bindir}/keepassx.exe
|
|---|
| 70 | %{_datadir}/keepassx
|
|---|
| 71 |
|
|---|
| 72 | %changelog
|
|---|
| 73 | * Fri Nov 24 2017 yd <yd@os2power.com> 2.0.3-1
|
|---|
| 74 | - initial rpm build
|
|---|