]> git.pld-linux.org Git - packages/tpm2-tss.git/blame - tpm2-tss.spec
- initial
[packages/tpm2-tss.git] / tpm2-tss.spec
CommitLineData
16e3b58d
AM
1Summary: OSS implementation of the TCG TPM2 Software Stack (TSS2)
2Name: tpm2-tss
3Version: 2.3.2
4Release: 1
5License: BSD
6Group: Libraries
7Source0: https://github.com/tpm2-software/tpm2-tss/releases/download/%{version}/%{name}-%{version}.tar.gz
8# Source0-md5: fb7e6d371959a65dc6d129af81739742
9URL: https://github.com/tpm2-software/tpm2-tss
10BuildRequires: doxygen
11BuildRequires: libgcrypt-devel
12BuildRequires: openssl-devel
13BuildRequires: pkg-config
14BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16%description
17Implementation of the Trusted Computing Group's (TCG) TPM2 Software
18Stack (TSS).
19
20%package devel
21Summary: Header files and develpment documentation for tpm2-tss
22Summary(es.UTF-8): Arquivos de cabeçalho e bibliotecas de desenvolvimento para tpm2-tss
23Summary(pl.UTF-8): Pliki nagłówkowe i dokumetacja do tpm2-tss
24Summary(pt_BR.UTF-8): Bibliotecas e arquivos de inclusão para a tpm2-tss
25Summary(ru.UTF-8): Хедеры и библиотеки програмиста для tpm2-tss
26Summary(uk.UTF-8): Хедери та бібліотеки програміста для tpm2-tss
27Group: Development/Libraries
28Requires: %{name} = %{epoch}:%{version}-%{release}
29
30%description devel
31Implementation of the Trusted Computing Group's (TCG) TPM2 Software
32Stack (TSS). Header files and documentation.
33
34%description devel -l pl.UTF-8
35Pliki nagłówkowe i dokumentacja do tpm2-tss.
36
37%description devel -l pt_BR.UTF-8
38Tcpdump imprime os cabeçalhos dos pacotes em uma interface de rede.
39Ele é muito prático para resolver problemas na rede e para operações
40de segurança.
41
42%description devel -l ru.UTF-8
43Хедеры и библиотеки програмиста, необходимые для программирования с
44tpm2-tss.
45
46%description devel -l uk.UTF-8
47Хедери та бібліотеки програміста, необхідні для програмування з
48tpm2-tss.
49
50%package static
51Summary: Static tpm2-tss library
52Summary(es.UTF-8): Biblioteca estática usada no desenvolvimento de aplicativos com tpm2-tss
53Summary(pl.UTF-8): Biblioteka statyczna tpm2-tss
54Summary(pt_BR.UTF-8): Biblioteca estática de desenvolvimento
55Summary(ru.UTF-8): Статическая библиотека tpm2-tss
56Summary(uk.UTF-8): Статична бібліотека tpm2-tss
57Group: Development/Libraries
58Requires: %{name}-devel = %{epoch}:%{version}-%{release}
59
60%description static
61Implementation of the Trusted Computing Group's (TCG) TPM2 Software
62Stack (TSS).
63
64This package contains the static library used for development.
65
66%description static -l pt_BR.UTF-8
67Tcpdump imprime os cabeçalhos dos pacotes em uma interface de rede.
68Ele é muito prático para resolver problemas na rede e para operações
69de segurança.
70
71%description static -l pl.UTF-8
72Biblioteka 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
92rm -rf $RPM_BUILD_ROOT
93
94%{__make} install \
95 DESTDIR=$RPM_BUILD_ROOT
96
97%clean
98rm -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
This page took 0.080224 seconds and 4 git commands to generate.