]> git.pld-linux.org Git - packages/captive.git/blob - captive.spec
- saving work (not finished yet)
[packages/captive.git] / captive.spec
1 #
2 # Conditional build:
3 #%%bcond_without        gnome   # don't build gnome-vfs support
4 %bcond_without  lufs    # don't build LUFS support
5 #
6 Summary:        Captive - NTFS read/write filesystem for Linux
7 Summary(pl):    Captive - obs³uga NTFS dla Linuksa z odczytem i zapisem
8 Name:           captive
9 Version:        1.1.5
10 Release:        0.1
11 License:        GPL
12 Group:          Base/Kernel
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)
28
29 %description
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.
33
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.
42
43 %description -l pl
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
47 wolumen pod Linuksem.
48
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.
57
58 %prep
59 %setup -q
60 %patch0 -p1
61 %patch1 -p1
62
63 %build
64 #%{__libtoolize}
65 #%{__aclocal} -I macros
66 #%{__autoconf}
67 #%{__autoheader}
68 #%{__automake}
69 %configure \
70         --enable-shared \
71         --disable-static \
72         --with-readline \
73         --disable-bug-replay \
74         --enable-lufs=auto \
75         --disable-install-pkg \
76         --enable-sandbox-setuid=captive \
77         --enable-sandbox-setgid=captive \
78         --enable-sandbox-chroot=/var/lib/captive \
79         --enable-man-pages \
80         --enable-sbin-mountdir=/sbin \
81         --enable-sbin-mount-fs=ntfs:fastfat:cdfs:ext2fsd \
82         --with-oribt-line=link \
83         --with-tmpdir=/tmp
84
85 %{__make}
86
87 %install
88 rm -rf $RPM_BUILD_ROOT
89
90 %{__make} install \
91         DESTDIR=$RPM_BUILD_ROOT
92
93 %find_lang %{name}
94
95 %clean
96 rm -rf $RPM_BUILD_ROOT
97
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/*
105 %{_libdir}/lib*
106 %{_libdir}/gnome-vfs-2.0/modules/*
107 %{_includedir}/captive/*
108 %{_mandir}/man?/*
109 %{_var}/lib/captive/
This page took 0.035208 seconds and 4 git commands to generate.