]> git.pld-linux.org Git - packages/QtKeychain.git/blame - QtKeychain.spec
unify, fix bad copy paste?
[packages/QtKeychain.git] / QtKeychain.spec
CommitLineData
8f55f1bc
LM
1Summary: Qt API to store passwords and other secret data securely
2Name: QtKeychain
3Version: 0.3.0
4Release: 0.1
5License: Modified BSD License
6Group: Libraries
8f55f1bc
LM
7# Repackaged from https://github.com/frankosterfeld/qtkeychain/archive/master.zip
8Source0: %{name}-%{version}.tar.bz2
9# Source0-md5: a9de9be0cae568c03b152009d24ff170
07788830 10URL: https://github.com/frankosterfeld/qtkeychain
8f55f1bc
LM
11BuildRequires: QtCore-devel
12BuildRequires: libstdc++-devel
13BuildRequires: qt4-build
97e26aaa 14BuildRequires: qt4-linguist
8f55f1bc
LM
15BuildRequires: qt4-qmake
16BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18%define _qt4_datadir %{_datadir}/qt4
19
20%description
07788830 21QtKeychain a Qt API to store passwords and other secret data securely.
8f55f1bc
LM
22How 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
28
29%package devel
8f55f1bc
LM
30Summary: Development files for QtKeychain
31Group: Development/Libraries
32Requires: %{name} = %{version}-%{release}
33Requires: qt4-build
34Requires: qt4-qmake
35
36%description devel
37This package contains libraries and header files for developing
38applications that use QKeychain.
39
40%prep
41%setup -q
42
43%build
44install -d build
45cd build
46%cmake \
07788830 47 ..
8f55f1bc
LM
48%{__make}
49
50%install
51rm -rf $RPM_BUILD_ROOT
52%{__make} -C build install \
07788830 53 DESTDIR=$RPM_BUILD_ROOT
8f55f1bc
LM
54
55%clean
56rm -rf $RPM_BUILD_ROOT
57
58%post -p /sbin/ldconfig
07788830 59%postun -p /sbin/ldconfig
8f55f1bc
LM
60
61%files
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
8f55f1bc
LM
66
67%files devel
68%defattr(644,root,root,755)
69#%doc doc examples
70%dir %{_includedir}/qtkeychain
71%{_includedir}/qtkeychain/keychain.h
72%{_includedir}/qtkeychain/qkeychain_export.h
73%dir %{_libdir}/cmake/QtKeychain
7e07d501 74%attr(755,root,root) %{_libdir}/libqtkeychain.so
8f55f1bc
LM
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
This page took 0.04096 seconds and 4 git commands to generate.