]> git.pld-linux.org Git - packages/tpm-tools.git/blob - tpm-tools.spec
- new
[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.2.5.1
5 Release:        1
6 License:        CPL v1+
7 Group:          Applications/System
8 Source0:        http://dl.sourceforge.net/trousers/%{name}-%{version}.tar.gz
9 # Source0-md5:  621a354f2b054646bbb15cfd4a5270b7
10 URL:            http://trousers.sourceforge.net/
11 BuildRequires:  opencryptoki-devel >= 2.2.4
12 BuildRequires:  openssl-devel
13 BuildRequires:  trousers-devel
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
35
36 %description devel
37 Header files for tpm_unseal library.
38
39 %description devel -l pl.UTF-8
40 Pliki nagłówkowe biblioteki tpm_unseal.
41
42 %package static
43 Summary:        Static tpm_unseal library
44 Summary(pl.UTF-8):      Statyczna biblioteka tpm_unseal
45 Group:          Development/Libraries
46 Requires:       %{name}-devel = %{version}-%{release}
47
48 %description static
49 Static tpm_unseal library.
50
51 %description static -l pl.UTF-8
52 Statyczna biblioteka tpm_unseal.
53
54 %package pkcs11
55 Summary:        Data management tools that use a PKCS#11 interface to the TPM
56 Summary(pl.UTF-8):      Narzędzia do zarządzania danymi wykorzystujace interfejs PKCS#11 do TPM
57 Group:          Applications/System
58 Requires:       %{name} = %{version}-%{release}
59 Requires:       opencryptoki >= 2.2.4
60
61 %description pkcs11
62 tpm-tools-pkcs11 is a group of tools that uses the TPM PKCS#11 token
63 developed in the opencryptoki project. All data contained in the
64 PKCS#11 data store is protected by the TPM (keys, certificates, etc.).
65 You can import keys and certificates, list out the objects in the data
66 store, and protect data.
67
68 %description pkcs11 -l pl.UTF-8
69 tpm-tools-pkcs11 to grupa narzędzi wykorzystujących token TPM PKCS#11
70 opracowany w ramach projektu opencryptoki. Wszystkie dane zawarte w
71 kontenerze PKCS#11 są chronione przez TPM (klucze, certyfikaty itp.).
72 Narzędzia pozwalają importować klucze i certyfikaty, wypisywać listę
73 obiektów w kontenerze i chronić dane.
74
75 %prep
76 %setup -q
77
78 %build
79 %configure
80 %{__make}
81
82 %install
83 rm -rf $RPM_BUILD_ROOT
84
85 %{__make} install \
86         DESTDIR=$RPM_BUILD_ROOT
87
88 %clean
89 rm -rf $RPM_BUILD_ROOT
90
91 %post   -p /sbin/ldconfig
92 %postun -p /sbin/ldconfig
93
94 %files
95 %defattr(644,root,root,755)
96 %doc LICENSE README
97 %attr(755,root,root) %{_bindir}/tpm_*
98 %attr(755,root,root) %{_sbindir}/tpm_*
99 %attr(755,root,root) %{_libdir}/libtpm_unseal.so.*.*.*
100 %{_mandir}/man1/tpm_*.1*
101 %{_mandir}/man8/tpm_*.8*
102
103 %files devel
104 %defattr(644,root,root,755)
105 %attr(755,root,root) %{_libdir}/libtpm_unseal.so
106 %{_libdir}/libtpm_unseal.la
107 %{_includedir}/tpm_tools
108 %{_mandir}/man3/tpmUnseal*.3*
109
110 %files static
111 %defattr(644,root,root,755)
112 %{_libdir}/libtpm_unseal.a
113
114 %files pkcs11
115 %defattr(644,root,root,755)
116 %attr(755,root,root) %{_bindir}/tpmtoken_*
117 %{_mandir}/man1/tpmtoken_*.1*
This page took 0.086975 seconds and 3 git commands to generate.