BuildRequires: boost-devel
BuildRequires: pkgconfig(cynara-client)
+
+%package devel
+Summary: Helper library for fine-grained userspace policy handling-development package
+Requires: %{name} = %{version}
+
%description
libdbuspolicy is a helper library for fine-grained userspace
policy handling (with SMACK support)
+%description devel
+libdbuspolicy is a helper library for fine-grained userspace
+policy handling (with SMACK support). This package contains
+development files.
+
%prep
%setup -q
cp %{SOURCE1001} .
%install
make DESTDIR=%{buildroot} install-strip
+rm %{buildroot}%{_libdir}/libdbuspolicy1.la
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
+%defattr(-,root,root)
+%{_libdir}/libdbuspolicy1.so.*
%manifest %{name}.manifest
+
+%files devel
%defattr(-,root,root)
%{_includedir}/*
%{_libdir}/pkgconfig/*
-%{_libdir}/libdbuspolicy1.so.*
-%{_libdir}/libdbuspolicy1.la
%{_libdir}/libdbuspolicy1.so
+%manifest %{name}.manifest
%changelog