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: gettext-devel
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: perl-tools-pod
26 BuildRequires: pkgconfig
27 BuildRequires: readline-devel
28 Requires: ntfsprogs >= 1.8.0
29 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
32 Captive project implements the first full read/write free access to
33 NTFS disk drives. You can mount your Microsoft Windows NT, 200x or XP
34 partition as a transparently accessible volume for your GNU/Linux.
36 This compatibility was achieved in the Wine way by using the original
37 Microsoft Windows ntfs.sys driver. It emulates the required subsystems
38 of the Microsoft Windows kernel by reusing one of the original
39 ntoskrnl.exe, ReactOS parts, or this project's own reimplementations,
40 on a case by case basis. Project includes the first open source
41 MS-Windows kernel API for Free operating systems. Involvement of the
42 original driver files was chosen to achieve the best and unprecedented
43 filesystem compatibility and safety.
46 Projekt Captive implementuje pierwszy pe³ny, swobodny dostêp z
47 odczytem i zapisem do partycji NTFS. Pozwala zamontowaæ partycje z
48 Microsoft Windows NT, 200x i XP jako dostêpny w sposób przezroczysty
51 Kompatybilno¶æ osi±gniêto metod± Wine poprzez u¿ycie oryginalnego
52 sterownika ntfs.sys. Captive emuluje wymagane podsystemy j±dra
53 Microsoft Windows poprzez wykorzystanie oryginalnego ntoskrnl.exe,
54 czê¶ci ReactOS-a lub w³asne implementacje z tego projektu w zale¿no¶ci
55 od danego przypadku. Projekt zawiera pierwsze API j±dra MS-Windows z
56 otwartymi ¼ród³ami dla wolnodostêpnych systemów operacyjnych. Wybrano
57 wykorzystanie plików oryginalnego sterownika aby osi±gn±æ lepsz±
58 kompatybilno¶æ i bezpieczeñstwo.
61 Summary: Header files for captive library
62 Summary(pl): Pliki nag³ówkowe biblioteki captive
63 Group: Development/Libraries
64 Requires: %{name} = %{version}-%{release}
67 This is the package containing the header files for captive.
69 %description devel -l pl
70 Ten pakiet zawiera pliki nag³ówkowe biblioteki captive.
82 --disable-bug-replay \
84 --disable-install-pkg \
85 --enable-sandbox-setuid=captive \
86 --enable-sandbox-setgid=captive \
87 --enable-sandbox-chroot=/var/lib/captive \
89 --enable-sbin-mountdir=/sbin \
90 --enable-sbin-mount-fs=ntfs:fastfat:cdfs:ext2fsd \
91 --with-oribt-line=link \
97 rm -rf $RPM_BUILD_ROOT
100 DESTDIR=$RPM_BUILD_ROOT
102 rm -f $RPM_BUILD_ROOT%{_libdir}/gnome-vfs-2.0/modules/libcaptive-gnomevfs.la
107 rm -rf $RPM_BUILD_ROOT
109 %files -f %{name}.lang
110 %defattr(644,root,root,755)
111 %doc AUTHORS NEWS README THANKS TODO
112 #%attr(755,root,root) /sbin/* # what was installed here?
113 %attr(755,root,root) %{_bindir}/captive-cmdline
114 #%attr(755,root,root) %{_bindir}/captive-bug-replay was here earlier.
115 %attr(755,root,root) %{_sbindir}/captive-sandbox-server
116 %{_sysconfdir}/gnome-vfs-2.0/modules/*
117 %attr(755,root,root) %{_libdir}/libcaptive-*.so
118 %attr(755,root,root) %{_libdir}/gnome-vfs-2.0/modules/libcaptive-gnomevfs*.so
123 %defattr(644,root,root,755)
124 %attr(755,root,root) %{_libdir}/libcaptive.so
125 %{_libdir}/libcaptive.la
126 %{_includedir}/captive