]> git.pld-linux.org Git - packages/ibmswtpm2.git/blob - ibmswtpm2.spec
- updated to 1682
[packages/ibmswtpm2.git] / ibmswtpm2.spec
1 Summary:        IBM's Software TPM 2.0
2 Summary(pl.UTF-8):      Programowy TPM 2.0 stworzony przez IBM
3 Name:           ibmswtpm2
4 Version:        1682
5 Release:        1
6 License:        BSD
7 Group:          Development/Tools
8 Source0:        https://downloads.sourceforge.net/ibmswtpm2/ibmtpm%{version}.tar.gz
9 # Source0-md5:  d929acc296cf2eb2dd481bc97fe42fa9
10 URL:            https://sourceforge.net/projects/ibmswtpm2/
11 BuildRequires:  openssl-devel
12 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13
14 %description
15 This project is an implementation of the TCG TPM 2.0 specification. It
16 is based on the TPM specification Parts 3 and 4 source code donated by
17 Microsoft, with additional files to complete the implementation.
18
19 %description -l pl.UTF-8
20 Ten projekt jest implementacją specyfikacji TCG TPM 2.0. Jest oparty
21 na kodzie źródłowym części 3 i 4 specyfikacji TPM udostępnionym przez
22 Microsoft z dodatkowymi plikami dopełniającymi implementację.
23
24 %prep
25 %setup -q -c
26
27 %build
28 %{__make} -C src \
29         CC="%{__cc}" \
30         CCFLAGS="%{rpmcflags} %{rpmcppflags} -Wall -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Werror -Wsign-compare -Wno-uninitialized -Wno-error=deprecated-declarations -DTPM_POSIX -D_POSIX_ -DTPM_NUVOTON -I. -c" \
31         LNFLAGS="%{rpmldflags} %{rpmcflags} -lcrypto -lpthread -lrt"
32
33 %install
34 rm -rf $RPM_BUILD_ROOT
35
36 %{__make} -C src install \
37         DESTDIR=$RPM_BUILD_ROOT
38
39 %clean
40 rm -rf $RPM_BUILD_ROOT
41
42 %files
43 %defattr(644,root,root,755)
44 %doc LICENSE ibmtpm.doc
45 %attr(755,root,root) %{_bindir}/tpm_server
This page took 0.0968560000000001 seconds and 3 git commands to generate.