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