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