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