]> git.pld-linux.org Git - packages/Qt6Keychain.git/blame - Qt6Keychain.spec
- updated dependencies, package missing dirs
[packages/Qt6Keychain.git] / Qt6Keychain.spec
CommitLineData
cb3dde81
WF
1Summary: Qt API to store passwords and other secret data securely
2Summary(pl.UTF-8): API Qt do bezpiecznego przechowywania haseł i innych tajnych danych
3Name: Qt6Keychain
4Version: 0.14.2
5Release: 1
6License: Modified BSD License
7Group: Libraries
8#Source0Download: https://github.com/frankosterfeld/qtkeychain/releases
8ca10ad8
JB
9# TODO use:
10#Source0: https://github.com/frankosterfeld/qtkeychain/archive/%{version}/qtkeychain-%{version}.tar.gz
cb3dde81
WF
11Source0: https://github.com/frankosterfeld/qtkeychain/archive/refs/tags/%{version}.tar.gz
12# Source0-md5: 7f75753541784068400d903e0e7a0d55
13URL: https://github.com/frankosterfeld/qtkeychain
8ca10ad8
JB
14BuildRequires: Qt6Core-devel >= 6
15BuildRequires: Qt6DBus-devel >= 6
16BuildRequires: cmake >= 3.16
cb3dde81
WF
17BuildRequires: libsecret-devel
18BuildRequires: libstdc++-devel
8ca10ad8
JB
19BuildRequires: pkgconfig
20BuildRequires: qt6-build >= 6
21BuildRequires: qt6-linguist >= 6
22BuildRequires: qt6-qmake >= 6
cb3dde81
WF
23BuildRequires: rpmbuild(find_lang) >= 1.37
24BuildRequires: rpmbuild(macros) >= 1.605
25BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27%description
28Qt6Keychain a Qt API to store passwords and other secret data
29securely.
30
31How the data is stored depends on the platform:
32- Mac OS X: Passwords are stored in the OS X Keychain.
33- Linux/Unix: If running, GNOME Keyring is used, otherwise qtkeychain
34 tries to use KWallet (via D-Bus), if available.
35- Windows: Windows does not provide a service for secure storage.
36 Qt6Keychain uses the Windows API function
37
38%description -l pl.UTF-8
39API Qt do bezpiecznego przechowywania haseł i innych tajnych danych.
40
41Sposób przechowywania danych zależy od platformy:
42- Mac OS X: hasła są przechowywanie poprzez usługę OS X Keychain
43- Linux/Unix: używany jest GNOME Keyring jeśli jest uruchomiony, w
44 przeciwnym wypadku używany jest KWallet (przez DBus), o ile jest
45 dostępny
46- Windows: system nie udostępnia usługi do bezpiecznego przechowywania
47 danych; Qt6Keychain używa funkcji Windows API
48
49%package devel
50Summary: Development files for Qt6Keychain
51Summary(pl.UTF-8): Pliki programistyczne biblioteki Qt6Keychain
52Group: Development/Libraries
53Requires: %{name} = %{version}-%{release}
8ca10ad8 54Requires: Qt6Core-devel >= 6
cb3dde81
WF
55
56%description devel
57This package contains the header files for developing applications
58that use Qt6Keychain.
59
60%description devel -l pl.UTF-8
61Ten pakiet zawiera pliki nagłówkowe do tworzenia aplikacji
62wykorzystujących bibliotekę Qt6Keychain.
63
64%prep
65%setup -q -n qtkeychain-%{version}
66
67%build
8ca10ad8 68%cmake -B build-qt6 \
cb3dde81
WF
69 -DBUILD_WITH_QT6:BOOL=ON \
70 -DECM_MKSPECS_INSTALL_DIR=%{_libdir}/qt6/mkspecs/modules
8ca10ad8 71%{__make} -C build-qt6
cb3dde81
WF
72
73%install
74rm -rf $RPM_BUILD_ROOT
75
76%{__make} -C build-qt6 install \
77 DESTDIR=$RPM_BUILD_ROOT
78
79%find_lang qtkeychain --with-qm
80
81%clean
82rm -rf $RPM_BUILD_ROOT
83
84%post -p /sbin/ldconfig
85%postun -p /sbin/ldconfig
86
87%files -f qtkeychain.lang
88%defattr(644,root,root,755)
89%doc COPYING ChangeLog
90%attr(755,root,root) %{_libdir}/libqt6keychain.so.*.*
91%ghost %{_libdir}/libqt6keychain.so.1
8ca10ad8
JB
92%dir %{_datadir}/qt6keychain
93%dir %{_datadir}/qt6keychain/translations
cb3dde81
WF
94
95%files devel
96%defattr(644,root,root,755)
97%{_includedir}/qt6keychain
98%{_libdir}/cmake/Qt6Keychain
99%{_libdir}/libqt6keychain.so
100%{_libdir}/qt6/mkspecs/modules/qt_Qt6Keychain.pri
This page took 0.144909 seconds and 4 git commands to generate.