Version: @VERSION@
Release: %{release}
Group: System Environment/Base
+Packager: Jan Kratochvil <project-captive@jankratochvil.net>
Source: http://www.jankratochvil.net/project/captive/@PACKAGE@-@VERSION@.tar.gz
Copyright: GPL
BuildRoot: /var/tmp/@PACKAGE@-@VERSION@-%{release}-root
BuildRequires: ntfsprogs-devel
Requires: ntfsprogs
Requires: ntfsprogs-gnomevfs
+Requires: gnome-vfs-httpcaptive
BuildRequires: gnome-vfs2-devel
Requires: gnome-vfs2
+BuildRequires: libgnomeui-devel
+Requires: libgnomeui
+BuildRequires: readline-devel
+Requires: readline
%description install
Package provides easy enough unattended installation of Microsoft Windows
platform filesystem access. Installer finds available NTFS partitions and
tries to acquire needed Microsoft Windows filesystem driver files.
+You may need to run 'captive-install-acquire' to answer several questions.
+NTFS disks will become mount(8)able at directories: /mnt/captive-VOLUME_NAME
+
#% %package devel
#% Summary: Microsoft Windows platform filesystem access development support.
#% Group: Development/System
%post
/sbin/ldconfig
+/usr/sbin/useradd -c "Captive Sandbox" -s /sbin/nologin -r -d %{_var}/lib/@PACKAGE@ captive 2>/dev/null || true
%postun
/sbin/ldconfig
%config %{_sysconfdir}/gnome-vfs-2.0/modules/@PACKAGE@.conf
%{_datadir}/locale/*/LC_MESSAGES/@PACKAGE@.mo
%attr(755,root,root) %{_var}/lib/@PACKAGE@
+%attr(644,root,root) %{_var}/lib/@PACKAGE@/*.sys
%files lufs
%defattr(-,root,root)
%post install
%{_sbindir}/captive-install-fstab --add
+%{_sbindir}/captive-install-acquire --scan-disks-quick
%preun install
%{_sbindir}/captive-install-fstab --remove