1 #sbs-git:slp/pkgs/w/wrt-security wrt-security 0.0.43
3 Summary: Security repository for holding tests.
6 Group: Development/Libraries
7 License: Apache License, Version 2.0
9 Source0: %{name}-%{version}.tar.gz
11 BuildRequires: pkgconfig(libsmack)
12 BuildRequires: pkgconfig(libprivilege-control)
13 BuildRequires: pkgconfig(security-server)
14 BuildRequires: pkgconfig(dpl-test-efl)
15 BuildRequires: pkgconfig(dlog)
17 Requires: libprivilege-control
20 Security tests repository - for tests that can't be kept together with code.
26 export LDFLAGS+="-Wl,--rpath=%{_prefix}/lib"
28 cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} \
36 ln -sf /etc/smack/test_smack_rules %{buildroot}/etc/smack/test_smack_rules_lnk
42 find /etc/smack/test_privilege_control_DIR/ -type f -name exec -exec chmod 0755 {} +
43 echo "security-tests postinst done ..."
48 %defattr(-, root, root, -)
49 /usr/bin/security-tests.sh
50 /usr/bin/security-tests-all.sh
51 /usr/bin/test-performance-check.sh
53 /usr/bin/libsmack-test
54 /usr/bin/libprivilege-control-test
55 /usr/bin/security-server-tests-client-smack
56 /usr/bin/security-server-tests-label
57 /usr/bin/security-server-tests-pid-reuser
58 /usr/bin/security-server-tests-server
59 /usr/bin/security-server-tests-password
60 /etc/smack/test_smack_rules_full
61 /etc/smack/test_smack_rules2
62 /etc/smack/test_smack_rules3
63 /etc/smack/test_smack_rules4
64 /usr/bin/security-server-tests-mt
65 /etc/smack/test_smack_rules
66 /etc/smack/test_smack_rules_lnk
67 /usr/share/privilege-control/*
68 /etc/smack/test_privilege_control_DIR/*