1 Name: libprivilege-control
2 Summary: Library to control privilege of application
5 Group: Security/Access Control
7 Source0: %{name}-%{version}.tar.gz
8 Source1001: %{name}.manifest
10 BuildRequires: pkgconfig(libsmack)
11 BuildRequires: pkgconfig(dlog)
14 development package of library to control privilege of in-house application
17 Summary: Control privilege of application (devel)
18 Requires: %{name} = %{version}-%{release}
21 Library to control privilege of application (devel)
24 Summary: Control privilege of application files
25 Requires: %{name} = %{version}-%{release}
28 Library to control privilege of application files
36 export CFLAGS="${CFLAGS} -Wno-implicit-function-declaration"
37 %cmake . -DCMAKE_BUILD_TYPE=%{?build_type:%build_type}
43 mkdir -p %{buildroot}/usr/share/privilege-control/
45 %post -p /sbin/ldconfig
47 %postun -p /sbin/ldconfig
51 %manifest %{name}.manifest
55 %dir %{_datarootdir}/privilege-control
56 %{_datarootdir}/privilege-control/*
59 %manifest %{name}.manifest
60 /opt/dbspace/.privilege_control*.db
63 %manifest %{name}.manifest
66 %{_libdir}/pkgconfig/*.pc