4 Summary: Selection of tools for developers working with Smack
5 Group: Security/Access Control
7 URL: https://github.com/smack-team/smack
8 Source0: %{name}-%{version}.tar.gz
9 Source1001: smack.manifest
10 BuildRequires: automake
11 BuildRequires: autoconf
12 BuildRequires: libtool
15 Tools provided to load and unload rules from the kernel and query the policy
18 Summary: Development headers and libs for libsmack
19 Group: Development/Libraries
20 Requires: libsmack = %{version}
23 Standard header files for use when developing Smack enabled applications
26 Summary: Library allows applications to work with Smack
27 Group: Security/Access Control
29 %description -n libsmack
30 Library allows applications to work with Smack.
37 %reconfigure --with-systemdsystemunitdir=%{_unitdir}
43 install -d %{buildroot}%{_sysconfdir}/smack/accesses.d
44 install -d %{buildroot}%{_sysconfdir}/smack/cipso.d
45 install -d %{buildroot}%{_sysconfdir}/smack/netlabel.d
47 %post -p /sbin/ldconfig -n libsmack
49 %postun -p /sbin/ldconfig -n libsmack
54 %manifest %{name}.manifest
55 %defattr(644,root,root,755)
57 %{_libdir}/libsmack.so.*
60 %manifest %{name}.manifest
61 %defattr(644,root,root,755)
62 %{_includedir}/sys/smack.h
63 %{_libdir}/libsmack.so
64 %{_libdir}/pkgconfig/libsmack.pc
67 %manifest %{name}.manifest
68 %defattr(644,root,root,755)
70 %{_sysconfdir}/smack/accesses.d
71 %{_sysconfdir}/smack/cipso.d
72 %{_sysconfdir}/smack/netlabel.d
73 %attr(755,root,root) %{_bindir}/*