BuildRoot: /var/tmp/@PACKAGE@-@VERSION@-%{release}-root
BuildRequires: ORBit2-devel
Requires: ORBit2
-# We do not yet handle correctly linc2 of ORBit-2.7.x+
+# Due to --with-orbit-line=linc
Conflicts: ORBit2 >= 2.7.0
BuildRequires: openssl-devel
Requires: openssl
--enable-man-pages \
--enable-sbin-mountdir=/sbin \
--enable-sbin-mount-fs=ntfs:fastfat:cdfs:ext2fsd \
- --disable-gtk-doc
+ --disable-gtk-doc \
+ --with-orbit-line=linc
make
%install
%post
/sbin/ldconfig
-/usr/sbin/useradd -c "Captive Sandbox" -s /sbin/nologin -r -d %{_var}/lib/@PACKAGE@ captive 2>/dev/null || true
+/usr/sbin/groupadd -r captive 2>/dev/null || true
+/usr/sbin/useradd -c "Captive Sandbox" -s /sbin/nologin -r -g captive -d %{_var}/lib/@PACKAGE@ captive 2>/dev/null || true
%postun
/sbin/ldconfig
# Remove stale sandbox chroot directories owned by 'captive.captive':
-rm -rf %{_var}/lib/@PACKAGE@/sandbox-server-*
+rm -rf %{_var}/lib/@PACKAGE@/s-*
+rm -rf %{_var}/lib/@PACKAGE@/tmp/*
%files
%defattr(-,root,root)
-%doc README NEWS AUTHORS TODO
+%doc README NEWS AUTHORS THANKS TODO
%{_libdir}/lib@PACKAGE@-@VERSION@.so
%attr(644,root,root) %{_mandir}/man?/@PACKAGE@.*
%{_libdir}/gnome-vfs-2.0/modules/lib@PACKAGE@-gnomevfs-@VERSION@.so