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