]> git.pld-linux.org Git - packages/QtKeychain.git/blob - QtKeychain.spec
- up to 0.12.0
[packages/QtKeychain.git] / QtKeychain.spec
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
3 Name:           QtKeychain
4 Version:        0.12.0
5 Release:        1
6 License:        Modified BSD License
7 Group:          Libraries
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)
23
24 %description
25 QtKeychain a Qt API to store passwords and other secret data securely.
26
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
33
34 %description -l pl.UTF-8
35 API Qt do bezpiecznego przechowywania haseł i innych tajnych danych.
36
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
41   dostępny
42 - Windows: system nie udostępnia usługi do bezpiecznego przechowywania
43   danych; QtKeychain używa funkcji Windows API
44
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
48 Group:          Libraries
49
50 %description -n Qt5Keychain
51 QtKeychain a Qt API to store passwords and other secret data securely.
52
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
59
60 %description -n Qt5Keychain -l pl.UTF-8
61 API Qt do bezpiecznego przechowywania haseł i innych tajnych danych.
62
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
67   dostępny
68 - Windows: system nie udostępnia usługi do bezpiecznego przechowywania
69   danych; QtKeychain używa funkcji Windows API
70
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}
76
77 %description -n Qt5Keychain-devel
78 This package contains the header files for developing applications
79 that use Qt5Keychain.
80
81 %description -n Qt5Keychain-devel -l pl.UTF-8
82 Ten pakiet zawiera pliki nagłówkowe do tworzenia aplikacji
83 wykorzystujących bibliotekę Qt5Keychain.
84
85 %prep
86 %setup -q -n qtkeychain-%{version}
87
88 %build
89 install -d build-qt5
90 cd build-qt5
91 %cmake .. \
92         -DBUILD_WITH_QT4:BOOL=OFF \
93         -DECM_MKSPECS_INSTALL_DIR=%{_libdir}/qt5/mkspecs/modules
94 %{__make}
95
96 %install
97 rm -rf $RPM_BUILD_ROOT
98
99 %{__make} -C build-qt5 install \
100         DESTDIR=$RPM_BUILD_ROOT
101
102 %find_lang qtkeychain --with-qm
103
104 %clean
105 rm -rf $RPM_BUILD_ROOT
106
107 %post -n Qt5Keychain -p /sbin/ldconfig
108 %postun -n Qt5Keychain -p /sbin/ldconfig
109
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
115
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
This page took 0.08694 seconds and 4 git commands to generate.