Include 'ext2fsd.sys-v0.10a CheckedBuild' to standard distribution.
[captive.git] / captive.spec.in
index 6542d8d..92b7f09 100644 (file)
@@ -25,6 +25,7 @@ Name: @PACKAGE@
 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
@@ -74,14 +75,22 @@ Requires: captive-lufs = %{PACKAGE_VERSION}
 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
@@ -123,6 +132,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %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
@@ -138,6 +148,7 @@ rm -rf $RPM_BUILD_ROOT
 %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)
@@ -148,6 +159,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %post install
 %{_sbindir}/captive-install-fstab --add
+%{_sbindir}/captive-install-acquire --scan-disks-quick
 
 %preun install
 %{_sbindir}/captive-install-fstab --remove