3 #%%bcond_without gnome # don't build gnome-vfs support
4 %bcond_without lufs # don't build LUFS support
6 Summary: Captive - NTFS read/write filesystem for Linux
7 Summary(pl): Captive - obs³uga NTFS dla Linuksa z odczytem i zapisem
13 Source0: http://www.jankratochvil.net/project/captive/dist/%{name}-%{version}.tar.gz
14 # Source0-md5: dfb7ce617745695e7a908609b9370fd6
15 Patch0: %{name}-non_root_install.patch
16 Patch1: %{name}-popt_link.patch
17 URL: http://www.jankratochvil.net/project/captive/
18 BuildRequires: ORBit2-devel
19 BuildRequires: autoconf
20 BuildRequires: automake
21 BuildRequires: gnome-vfs2-devel >= 2.0
22 BuildRequires: libxml2-devel >= 2.5.9
23 %{?with_lufs:BuildRequires: lufs-devel}
24 BuildRequires: openssl-devel
25 BuildRequires: pkgconfig
26 Requires: ntfsprogs >= 1.8.0
27 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30 Captive project implements the first full read/write free access to
31 NTFS disk drives. You can mount your Microsoft Windows NT, 200x or XP
32 partition as a transparently accessible volume for your GNU/Linux.
34 This compatibility was achieved in the Wine way by using the original
35 Microsoft Windows ntfs.sys driver. It emulates the required subsystems
36 of the Microsoft Windows kernel by reusing one of the original
37 ntoskrnl.exe, ReactOS parts, or this project's own reimplementations,
38 on a case by case basis. Project includes the first open source
39 MS-Windows kernel API for Free operating systems. Involvement of the
40 original driver files was chosen to achieve the best and unprecedented
41 filesystem compatibility and safety.
44 Projekt Captive implementuje pierwszy pe³ny, swobodny dostêp z
45 odczytem i zapisem do partycji NTFS. Pozwala zamontowaæ partycje z
46 Microsoft Windows NT, 200x i XP jako dostêpny w sposób przezroczysty
49 Kompatybilno¶æ osi±gniêto metod± Wine poprzez u¿ycie oryginalnego
50 sterownika ntfs.sys. Captive emuluje wymagane podsystemy j±dra
51 Microsoft Windows poprzez wykorzystanie oryginalnego ntoskrnl.exe,
52 czê¶ci ReactOS-a lub w³asne implementacje z tego projektu w zale¿no¶ci
53 od danego przypadku. Projekt zawiera pierwsze API j±dra MS-Windows z
54 otwartymi ¼ród³ami dla wolnodostêpnych systemów operacyjnych. Wybrano
55 wykorzystanie plików oryginalnego sterownika aby osi±gn±æ lepsz±
56 kompatybilno¶æ i bezpieczeñstwo.
65 #%{__aclocal} -I macros
73 --disable-bug-replay \
75 --disable-install-pkg \
76 --enable-sandbox-setuid=captive \
77 --enable-sandbox-setgid=captive \
78 --enable-sandbox-chroot=/var/lib/captive \
80 --enable-sbin-mountdir=/sbin \
81 --enable-sbin-mount-fs=ntfs:fastfat:cdfs:ext2fsd \
82 --with-oribt-line=link \
88 rm -rf $RPM_BUILD_ROOT
91 DESTDIR=$RPM_BUILD_ROOT
96 rm -rf $RPM_BUILD_ROOT
98 %files -f %{name}.lang
99 %defattr(644,root,root,755)
100 %doc AUTHORS NEWS README THANKS TODO
101 %attr(755,root,root) /sbin/*
102 %attr(755,root,root) %{_bindir}/*
103 %attr(755,root,root) %{_sbindir}/*
104 %{_sysconfdir}/gnome-vfs-2.0/modules/*
106 %{_libdir}/gnome-vfs-2.0/modules/*
107 %{_includedir}/captive/*