1 %define csr_test_build 0
4 Summary: A general purpose content screening and reputation solution
7 Group: System/Libraries
10 Source0: %{name}-%{version}.tar.gz
11 Source1001: %{name}.manifest
13 BuildRequires: pkgconfig(dlog)
14 BuildRequires: pkgconfig(libtzplatform-config)
20 Summary: Development files for csr-framework
21 Group: Development/Libraries
22 Requires: %{name} = %{version}-%{release}
25 csr-framework (development files)
27 %if 0%{?csr_test_build}
29 Summary: test program for csr-framework
30 Group: Security/Testing
31 Requires: %{name} = %{version}-%{release}
34 Comaptilibty test program
44 %{!?build_type:%define build_type "Release"}
46 -DCMAKE_INSTALL_PREFIX=%{_prefix} \
47 -DINCLUDEDIR=%{_includedir}/csf \
48 -DCMAKE_BUILD_TYPE=%build_type \
49 %if 0%{?csr_test_build}
59 %post -p /sbin/ldconfig
60 %postun -p /sbin/ldconfig
64 %manifest %name.manifest
66 %{_libdir}/libsecfw.so.*
71 %{_includedir}/csf/TCSErrorCodes.h
72 %{_includedir}/csf/TCSImpl.h
73 %{_includedir}/csf/TWPImpl.h
74 %{_libdir}/pkgconfig/*.pc
75 %{_libdir}/libsecfw.so
77 %if 0%{?csr_test_build}