]>
Commit | Line | Data |
---|---|---|
16e3b58d AM |
1 | Summary: OSS implementation of the TCG TPM2 Software Stack (TSS2) |
2 | Name: tpm2-tss | |
3 | Version: 2.3.2 | |
4 | Release: 1 | |
5 | License: BSD | |
6 | Group: Libraries | |
7 | Source0: https://github.com/tpm2-software/tpm2-tss/releases/download/%{version}/%{name}-%{version}.tar.gz | |
8 | # Source0-md5: fb7e6d371959a65dc6d129af81739742 | |
9 | URL: https://github.com/tpm2-software/tpm2-tss | |
10 | BuildRequires: doxygen | |
11 | BuildRequires: libgcrypt-devel | |
12 | BuildRequires: openssl-devel | |
13 | BuildRequires: pkg-config | |
14 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
15 | ||
16 | %description | |
17 | Implementation of the Trusted Computing Group's (TCG) TPM2 Software | |
18 | Stack (TSS). | |
19 | ||
20 | %package devel | |
21 | Summary: Header files and develpment documentation for tpm2-tss | |
22 | Summary(es.UTF-8): Arquivos de cabeçalho e bibliotecas de desenvolvimento para tpm2-tss | |
23 | Summary(pl.UTF-8): Pliki nagłówkowe i dokumetacja do tpm2-tss | |
24 | Summary(pt_BR.UTF-8): Bibliotecas e arquivos de inclusão para a tpm2-tss | |
25 | Summary(ru.UTF-8): Хедеры и библиотеки програмиста для tpm2-tss | |
26 | Summary(uk.UTF-8): Хедери та бібліотеки програміста для tpm2-tss | |
27 | Group: Development/Libraries | |
28 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
29 | ||
30 | %description devel | |
31 | Implementation of the Trusted Computing Group's (TCG) TPM2 Software | |
32 | Stack (TSS). Header files and documentation. | |
33 | ||
34 | %description devel -l pl.UTF-8 | |
35 | Pliki nagłówkowe i dokumentacja do tpm2-tss. | |
36 | ||
37 | %description devel -l pt_BR.UTF-8 | |
38 | Tcpdump imprime os cabeçalhos dos pacotes em uma interface de rede. | |
39 | Ele é muito prático para resolver problemas na rede e para operações | |
40 | de segurança. | |
41 | ||
42 | %description devel -l ru.UTF-8 | |
43 | Хедеры и библиотеки програмиста, необходимые для программирования с | |
44 | tpm2-tss. | |
45 | ||
46 | %description devel -l uk.UTF-8 | |
47 | Хедери та бібліотеки програміста, необхідні для програмування з | |
48 | tpm2-tss. | |
49 | ||
50 | %package static | |
51 | Summary: Static tpm2-tss library | |
52 | Summary(es.UTF-8): Biblioteca estática usada no desenvolvimento de aplicativos com tpm2-tss | |
53 | Summary(pl.UTF-8): Biblioteka statyczna tpm2-tss | |
54 | Summary(pt_BR.UTF-8): Biblioteca estática de desenvolvimento | |
55 | Summary(ru.UTF-8): Статическая библиотека tpm2-tss | |
56 | Summary(uk.UTF-8): Статична бібліотека tpm2-tss | |
57 | Group: Development/Libraries | |
58 | Requires: %{name}-devel = %{epoch}:%{version}-%{release} | |
59 | ||
60 | %description static | |
61 | Implementation of the Trusted Computing Group's (TCG) TPM2 Software | |
62 | Stack (TSS). | |
63 | ||
64 | This package contains the static library used for development. | |
65 | ||
66 | %description static -l pt_BR.UTF-8 | |
67 | Tcpdump imprime os cabeçalhos dos pacotes em uma interface de rede. | |
68 | Ele é muito prático para resolver problemas na rede e para operações | |
69 | de segurança. | |
70 | ||
71 | %description static -l pl.UTF-8 | |
72 | Biblioteka statyczna tpm2-tss. | |
73 | ||
74 | %description static -l ru.UTF-8 | |
75 | Статическая библиотека, необходимая для программирования с tpm2-tss. | |
76 | ||
77 | %description static -l uk.UTF-8 | |
78 | Статична бібліотека, необхідна для програмування з tpm2-tss. | |
79 | ||
80 | %prep | |
81 | %setup -q | |
82 | ||
83 | %build | |
84 | %configure \ | |
85 | --disable-silent-rules \ | |
86 | --with-udevrulesdir=/lib/udev/rules.d \ | |
87 | --with-udevrulesprefix=60- | |
88 | ||
89 | %{__make} | |
90 | ||
91 | %install | |
92 | rm -rf $RPM_BUILD_ROOT | |
93 | ||
94 | %{__make} install \ | |
95 | DESTDIR=$RPM_BUILD_ROOT | |
96 | ||
97 | %clean | |
98 | rm -rf $RPM_BUILD_ROOT | |
99 | ||
100 | %post -p /sbin/ldconfig | |
101 | %postun -p /sbin/ldconfig | |
102 | ||
103 | %files | |
104 | %defattr(644,root,root,755) | |
105 | %doc AUTHORS CHANGELOG.md CONTRIBUTING.md LICENSE MAINTAINERS README.md RELEASE.md | |
106 | %attr(755,root,root) %{_libdir}/libtss2*.so.*.* | |
107 | %attr(755,root,root) %ghost %{_libdir}/libtss2*.so.0 | |
108 | %{_mandir}/man7/tss2-*.7* | |
109 | /lib/udev/rules.d/60-tpm-udev.rules | |
110 | ||
111 | %files devel | |
112 | %defattr(644,root,root,755) | |
113 | %attr(755,root,root) %{_libdir}/libtss2*.so | |
114 | %{_includedir}/tss2 | |
115 | %{_libdir}/libtss2*.la | |
116 | %{_pkgconfigdir}/tss2*.pc | |
117 | %{_mandir}/man3/ESYS*.3* | |
118 | %{_mandir}/man3/Esys*.3* | |
119 | %{_mandir}/man3/Tss2*.3* | |
120 | ||
121 | %files static | |
122 | %defattr(644,root,root,755) | |
123 | %{_libdir}/libtss2*.a |