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
13 BuildRequires: pkg-config
16 Tools provided to load and unload rules from the kernel and query the policy
19 Summary: Development headers and libs for libsmack
20 Group: Development/Libraries
21 Requires: libsmack = %{version}
24 Standard header files for use when developing Smack enabled applications
27 Summary: Library allows applications to work with Smack
28 Group: Security/Access Control
30 %description -n libsmack
31 Library allows applications to work with Smack.
38 %reconfigure --with-systemdsystemunitdir=%{_unitdir}
44 install -d %{buildroot}%{_sysconfdir}/smack/accesses.d
45 install -d %{buildroot}%{_sysconfdir}/smack/cipso.d
46 install -d %{buildroot}%{_sysconfdir}/smack/netlabel.d
48 %post -p /sbin/ldconfig -n libsmack
50 %postun -p /sbin/ldconfig -n libsmack
55 %manifest %{name}.manifest
56 %defattr(644,root,root,755)
58 %{_libdir}/libsmack.so.*
61 %manifest %{name}.manifest
62 %defattr(644,root,root,755)
63 %{_includedir}/sys/smack.h
64 %{_libdir}/libsmack.so
65 %{_libdir}/pkgconfig/libsmack.pc
68 %manifest %{name}.manifest
69 %defattr(644,root,root,755)
71 %{_sysconfdir}/smack/accesses.d
72 %{_sysconfdir}/smack/cipso.d
73 %{_sysconfdir}/smack/netlabel.d
74 %attr(755,root,root) %{_bindir}/*