3 Summary: Qt API to store passwords and other secret data securely
7 License: Modified BSD License
9 # Repackaged from https://github.com/frankosterfeld/qtkeychain/archive/master.zip
10 Source0: %{name}-%{version}.tar.bz2
11 # Source0-md5: a9de9be0cae568c03b152009d24ff170
12 URL: https://github.com/frankosterfeld/qtkeychain
13 BuildRequires: QtCore-devel
14 BuildRequires: libstdc++-devel
15 BuildRequires: qt4-build
16 BuildRequires: qt4-linguist
17 BuildRequires: qt4-qmake
18 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21 QtKeychain a Qt API to store passwords and other secret data securely.
23 How the data is stored depends on the platform:
24 - Mac OS X: Passwords are stored in the OS X Keychain.
25 - Linux/Unix: If running, GNOME Keyring is used, otherwise qtkeychain
26 tries to use KWallet (via D-Bus), if available.
27 - Windows: Windows does not provide a service for secure storage.
28 QtKeychain uses the Windows API function
31 Summary: Development files for QtKeychain
32 Group: Development/Libraries
33 Requires: %{name} = %{version}-%{release}
38 This package contains libraries and header files for developing
39 applications that use QKeychain.
53 rm -rf $RPM_BUILD_ROOT
54 %{__make} -C build install \
55 DESTDIR=$RPM_BUILD_ROOT
57 %find_lang qtkeychain --with-qm
60 rm -rf $RPM_BUILD_ROOT
62 %post -p /sbin/ldconfig
63 %postun -p /sbin/ldconfig
65 %files -f qtkeychain.lang
66 %defattr(644,root,root,755)
67 %doc COPYING ReadMe.txt ChangeLog
68 %attr(755,root,root) %{_libdir}/libqtkeychain.so.*.*.*
69 %attr(755,root,root) %ghost %{_libdir}/libqtkeychain.so.0
72 %defattr(644,root,root,755)
73 %dir %{_includedir}/qtkeychain
74 %{_includedir}/qtkeychain/keychain.h
75 %{_includedir}/qtkeychain/qkeychain_export.h
76 %dir %{_libdir}/cmake/QtKeychain
77 %attr(755,root,root) %{_libdir}/libqtkeychain.so
78 %{_libdir}/cmake/QtKeychain/QtKeychainLibraryDepends.cmake
79 %{_libdir}/cmake/QtKeychain/QtKeychainLibraryDepends-pld.cmake
80 %{_libdir}/cmake/QtKeychain/QtKeychainConfig.cmake
81 %{_libdir}/cmake/QtKeychain/QtKeychainConfigVersion.cmake