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