]> git.pld-linux.org Git - packages/tpm-tools.git/blob - tpm-tools.spec
1c46635d8618f71ab3c40e83941ad7c85a6d3ff5
[packages/tpm-tools.git] / tpm-tools.spec
1 Summary:        Management tools for the TPM hardware
2 Summary(pl.UTF-8):      Narzędzia zarządzające sprzętem TPM
3 Name:           tpm-tools
4 Version:        1.3.5
5 Release:        1
6 License:        CPL v1.0+
7 Group:          Applications/System
8 Source0:        http://downloads.sourceforge.net/trousers/%{name}-%{version}.tar.gz
9 # Source0-md5:  b64baa248cf30a57ad0e5fb6f096e7dc
10 URL:            http://trousers.sourceforge.net/
11 BuildRequires:  opencryptoki-devel >= 2.2.4
12 BuildRequires:  openssl-devel
13 BuildRequires:  trousers-devel >= 0.3.6
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %description
17 tpm-tools is a group of tools to manage and utilize the Trusted
18 Computing Group's TPM hardware. TPM hardware can create, store and use
19 RSA keys securely (without ever being exposed in memory), verify a
20 platform's software state using cryptographic hashes and more.
21
22 %description -l pl.UTF-8
23 tpm-tools to grupa narzędzi do zarządzania i wykorzystywania sprzętu
24 TPM opracowanego przez Trusted Computing Group. Sprzęt TPM potrafi
25 tworzyć, przechowywać i wykorzystywać klucze RSA w sposób bezpieczny
26 (bez ujawniania ich kiedykolwiek w pamięci), weryfikować stan
27 oprogramowania przy użyciu skrótów kryptograficznych itp.
28
29 %package devel
30 Summary:        Header files for tpm_unseal library
31 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki tpm_unseal
32 Group:          Development/Libraries
33 Requires:       %{name} = %{version}-%{release}
34 Requires:       trousers-devel >= 0.3.6
35 Obsoletes:      tpm-tools-static
36
37 %description devel
38 Header files for tpm_unseal library.
39
40 %description devel -l pl.UTF-8
41 Pliki nagłówkowe biblioteki tpm_unseal.
42
43 %package pkcs11
44 Summary:        Data management tools that use a PKCS#11 interface to the TPM
45 Summary(pl.UTF-8):      Narzędzia do zarządzania danymi wykorzystujace interfejs PKCS#11 do TPM
46 Group:          Applications/System
47 Requires:       %{name} = %{version}-%{release}
48 Requires:       opencryptoki >= 2.2.4
49
50 %description pkcs11
51 tpm-tools-pkcs11 is a group of tools that uses the TPM PKCS#11 token
52 developed in the opencryptoki project. All data contained in the
53 PKCS#11 data store is protected by the TPM (keys, certificates, etc.).
54 You can import keys and certificates, list out the objects in the data
55 store, and protect data.
56
57 %description pkcs11 -l pl.UTF-8
58 tpm-tools-pkcs11 to grupa narzędzi wykorzystujących token TPM PKCS#11
59 opracowany w ramach projektu opencryptoki. Wszystkie dane zawarte w
60 kontenerze PKCS#11 są chronione przez TPM (klucze, certyfikaty itp.).
61 Narzędzia pozwalają importować klucze i certyfikaty, wypisywać listę
62 obiektów w kontenerze i chronić dane.
63
64 %prep
65 %setup -q
66
67 %build
68 %configure
69
70 %{__make}
71
72 %install
73 rm -rf $RPM_BUILD_ROOT
74
75 %{__make} install \
76         DESTDIR=$RPM_BUILD_ROOT
77
78 %clean
79 rm -rf $RPM_BUILD_ROOT
80
81 %post   -p /sbin/ldconfig
82 %postun -p /sbin/ldconfig
83
84 %files
85 %defattr(644,root,root,755)
86 %doc LICENSE README
87 %attr(755,root,root) %{_bindir}/tpm_*
88 %attr(755,root,root) %{_sbindir}/tpm_*
89 %attr(755,root,root) %{_libdir}/libtpm_unseal.so.*.*.*
90 %attr(755,root,root) %ghost %{_libdir}/libtpm_unseal.so.1
91 %{_mandir}/man1/tpm_*.1*
92 %{_mandir}/man8/tpm_*.8*
93
94 %files devel
95 %defattr(644,root,root,755)
96 %attr(755,root,root) %{_libdir}/libtpm_unseal.so
97 %{_libdir}/libtpm_unseal.la
98 %{_includedir}/tpm_tools
99 %{_mandir}/man3/tpmUnseal*.3*
100
101 %files pkcs11
102 %defattr(644,root,root,755)
103 %attr(755,root,root) %{_bindir}/tpmtoken_*
104 %{_mandir}/man1/tpmtoken_*.1*
This page took 0.060349 seconds and 2 git commands to generate.