2 Summary: Web application encryption service
5 Group: Security/Libraries
6 License: Apache-2.0 and BSL-1.0
7 Source0: %{name}-%{version}.tar.gz
9 Requires(post): /sbin/ldconfig
10 Requires(postun): /sbin/ldconfig
13 BuildRequires: pkgconfig(dlog)
14 BuildRequires: pkgconfig(openssl)
15 BuildRequires: pkgconfig(key-manager)
16 BuildRequires: pkgconfig(libtzplatform-config)
19 Web application encryption and decryption service
22 Summary: Web application encryption service (development files)
24 Group: Security/Development
25 Requires: %{name} = %{version}-%{release}
28 Web application encryption and decryption service (development files)
31 Summary: Web application encryption service (test)
32 License: Apache-2.0 and BSL-1.0
33 Group: Security/Development
34 BuildRequires: boost-devel
35 Requires: %{name} = %{version}-%{release}
38 Web application encryption and decryption service (test)
40 %define bin_dir %TZ_SYS_BIN
41 %define rw_share_dir %TZ_SYS_SHARE
47 %{!?build_type:%define build_type "Release"}
48 %cmake . -DPREFIX=%{_prefix} \
49 -DEXEC_PREFIX=%{_exec_prefix} \
50 -DINCLUDEDIR=%{_includedir} \
52 -DSYSTEMD_UNIT_DIR=%{_unitdir} \
53 -DCMAKE_BUILD_TYPE=%{build_type} \
54 -DRW_SHARE_DIR=%rw_share_dir \
61 %install_service multi-user.target.wants webappenc-initializer.service
65 systemctl daemon-reload
68 systemctl start webappenc-initializer.service
73 systemctl restart webappenc-initializer.service
80 systemctl daemon-reload
84 %manifest %{name}.manifest
86 %license LICENSE.BSL-1.0
87 %{_libdir}/%{name}.so.*
88 %{_unitdir}/webappenc-initializer.service
89 %{_unitdir}/multi-user.target.wants/webappenc-initializer.service
90 %{bin_dir}/wae_initializer
91 %{rw_share_dir}/wae/app_dek/WAE_APPDEK_KEK_PrivateKey.pem
92 %{rw_share_dir}/wae/app_dek/WAE_APPDEK_KEK_PublicKey.pem
96 %{_libdir}/pkgconfig/%{name}.pc
100 %manifest %{name}-test.manifest
102 %license LICENSE.BSL-1.0
104 %{_libdir}/libwae_tests_common.so*