1 Summary: Qt API to store passwords and other secret data securely
2 Summary(pl.UTF-8): API Qt do bezpiecznego przechowywania haseł i innych tajnych danych
6 License: Modified BSD License
8 #Source0Download: https://github.com/frankosterfeld/qtkeychain/releases
9 Source0: https://github.com/frankosterfeld/qtkeychain/archive/v%{version}/%{name}-%{version}.tar.gz
10 # Source0-md5: 474f172b42017872dd50eec6c9981fed
11 URL: https://github.com/frankosterfeld/qtkeychain
12 BuildRequires: cmake >= 2.8.11
13 BuildRequires: libsecret-devel
14 BuildRequires: libstdc++-devel
15 BuildRequires: rpmbuild(find_lang) >= 1.37
16 BuildRequires: rpmbuild(macros) >= 1.605
17 BuildRequires: Qt5Core-devel >= 5
18 BuildRequires: Qt5DBus-devel >= 5
19 BuildRequires: qt5-build >= 5
20 BuildRequires: qt5-linguist >= 5
21 BuildRequires: qt5-qmake >= 5
22 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25 QtKeychain a Qt API to store passwords and other secret data securely.
27 How the data is stored depends on the platform:
28 - Mac OS X: Passwords are stored in the OS X Keychain.
29 - Linux/Unix: If running, GNOME Keyring is used, otherwise qtkeychain
30 tries to use KWallet (via D-Bus), if available.
31 - Windows: Windows does not provide a service for secure storage.
32 QtKeychain uses the Windows API function
34 %description -l pl.UTF-8
35 API Qt do bezpiecznego przechowywania haseł i innych tajnych danych.
37 Sposób przechowywania danych zależy od platformy:
38 - Mac OS X: hasła są przechowywanie poprzez usługę OS X Keychain
39 - Linux/Unix: używany jest GNOME Keyring jeśli jest uruchomiony,
40 w przeciwnym wypadku używany jest KWallet (przez DBus), o ile jest
42 - Windows: system nie udostępnia usługi do bezpiecznego przechowywania
43 danych; QtKeychain używa funkcji Windows API
45 %package -n Qt5Keychain
46 Summary: Qt 5 API to store passwords and other secret data securely
47 Summary(pl.UTF-8): API Qt 5 do bezpiecznego przechowywania haseł i innych tajnych danych
50 %description -n Qt5Keychain
51 QtKeychain a Qt API to store passwords and other secret data securely.
53 How the data is stored depends on the platform:
54 - Mac OS X: Passwords are stored in the OS X Keychain.
55 - Linux/Unix: If running, GNOME Keyring is used, otherwise qtkeychain
56 tries to use KWallet (via D-Bus), if available.
57 - Windows: Windows does not provide a service for secure storage.
58 QtKeychain uses the Windows API function
60 %description -n Qt5Keychain -l pl.UTF-8
61 API Qt do bezpiecznego przechowywania haseł i innych tajnych danych.
63 Sposób przechowywania danych zależy od platformy:
64 - Mac OS X: hasła są przechowywanie poprzez usługę OS X Keychain
65 - Linux/Unix: używany jest GNOME Keyring jeśli jest uruchomiony,
66 w przeciwnym wypadku używany jest KWallet (przez DBus), o ile jest
68 - Windows: system nie udostępnia usługi do bezpiecznego przechowywania
69 danych; QtKeychain używa funkcji Windows API
71 %package -n Qt5Keychain-devel
72 Summary: Development files for Qt5Keychain
73 Summary(pl.UTF-8): Pliki programistyczne biblioteki Qt5Keychain
74 Group: Development/Libraries
75 Requires: Qt5Keychain = %{version}-%{release}
77 %description -n Qt5Keychain-devel
78 This package contains the header files for developing applications
81 %description -n Qt5Keychain-devel -l pl.UTF-8
82 Ten pakiet zawiera pliki nagłówkowe do tworzenia aplikacji
83 wykorzystujących bibliotekę Qt5Keychain.
86 %setup -q -n qtkeychain-%{version}
92 -DBUILD_WITH_QT4:BOOL=OFF \
93 -DECM_MKSPECS_INSTALL_DIR=%{_libdir}/qt5/mkspecs/modules
97 rm -rf $RPM_BUILD_ROOT
99 %{__make} -C build-qt5 install \
100 DESTDIR=$RPM_BUILD_ROOT
102 %find_lang qtkeychain --with-qm
105 rm -rf $RPM_BUILD_ROOT
107 %post -n Qt5Keychain -p /sbin/ldconfig
108 %postun -n Qt5Keychain -p /sbin/ldconfig
110 %files -n Qt5Keychain
111 %defattr(644,root,root,755)
112 %doc COPYING ChangeLog ReadMe.md
113 %attr(755,root,root) %{_libdir}/libqt5keychain.so.*.*.*
114 %attr(755,root,root) %ghost %{_libdir}/libqt5keychain.so.1
116 %files -n Qt5Keychain-devel
117 %defattr(644,root,root,755)
118 %attr(755,root,root) %{_libdir}/libqt5keychain.so
119 %{_includedir}/qt5keychain
120 %{_libdir}/cmake/Qt5Keychain
121 %{_libdir}/qt5/mkspecs/modules/qt_Qt5Keychain.pri