]> git.pld-linux.org Git - packages/captive.git/blob - captive.spec
- version 1.1.6.1
[packages/captive.git] / captive.spec
1 #
2 #
3 Summary:        Captive - NTFS read/write filesystem for Linux
4 Summary(pl):    Captive - obs³uga NTFS dla Linuksa z odczytem i zapisem
5 Name:           captive
6 Version:        1.1.6.1
7 Release:        0.1
8 License:        GPL
9 Group:          Base/Kernel
10 Source0:        http://www.jankratochvil.net/project/captive/dist/%{name}-%{version}.tar.gz
11 # Source0-md5:  81fcc21997cf46ad9440d1a1464a384e
12 Patch0:         %{name}-non_root_install.patch
13 Patch1:         %{name}-popt_link.patch
14 Patch2:         %{name}-configure_ac.patch
15 URL:            http://www.jankratochvil.net/project/captive/
16 BuildRequires:  ORBit2-devel
17 BuildRequires:  autoconf
18 BuildRequires:  automake
19 BuildRequires:  gettext-devel
20 BuildRequires:  gnome-vfs2-devel >= 2.0
21 BuildRequires:  libxml2-devel >= 2.5.9
22 BuildRequires:  libfuse-devel >= 2.4.1
23 BuildRequires:  openssl-devel
24 BuildRequires:  perl-tools-pod
25 BuildRequires:  pkgconfig
26 BuildRequires:  readline-devel
27 Requires:       ntfsprogs >= 1.8.0
28 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29
30 %description
31 Captive project implements the first full read/write free access to
32 NTFS disk drives. You can mount your Microsoft Windows NT, 200x or XP
33 partition as a transparently accessible volume for your GNU/Linux.
34
35 This compatibility was achieved in the Wine way by using the original
36 Microsoft Windows ntfs.sys driver. It emulates the required subsystems
37 of the Microsoft Windows kernel by reusing one of the original
38 ntoskrnl.exe, ReactOS parts, or this project's own reimplementations,
39 on a case by case basis. Project includes the first open source
40 MS-Windows kernel API for Free operating systems. Involvement of the
41 original driver files was chosen to achieve the best and unprecedented
42 filesystem compatibility and safety.
43
44 %description -l pl
45 Projekt Captive implementuje pierwszy pe³ny, swobodny dostêp z
46 odczytem i zapisem do partycji NTFS. Pozwala zamontowaæ partycje z
47 Microsoft Windows NT, 200x i XP jako dostêpny w sposób przezroczysty
48 wolumen pod Linuksem.
49
50 Kompatybilno¶æ osi±gniêto metod± Wine poprzez u¿ycie oryginalnego
51 sterownika ntfs.sys. Captive emuluje wymagane podsystemy j±dra
52 Microsoft Windows poprzez wykorzystanie oryginalnego ntoskrnl.exe,
53 czê¶ci ReactOS-a lub w³asne implementacje z tego projektu w zale¿no¶ci
54 od danego przypadku. Projekt zawiera pierwsze API j±dra MS-Windows z
55 otwartymi ¼ród³ami dla wolnodostêpnych systemów operacyjnych. Wybrano
56 wykorzystanie plików oryginalnego sterownika aby osi±gn±æ lepsz±
57 kompatybilno¶æ i bezpieczeñstwo.
58
59 %package devel
60 Summary:        Header files for captive library
61 Summary(pl):    Pliki nag³ówkowe biblioteki captive
62 Group:          Development/Libraries
63 Requires:       %{name} = %{version}-%{release}
64
65 %description devel
66 This is the package containing the header files for captive.
67
68 %description devel -l pl
69 Ten pakiet zawiera pliki nag³ówkowe biblioteki captive.
70
71 %prep
72 %setup -q
73 %patch0 -p1
74 %patch1 -p1
75 %patch2 -p1
76 # Fix not finished moving captive-sandbox-server to libdir
77 sed -i -e 's/--sandbox-server=@sbindir@/--sandbox-server=@libdir@/g' src/client/gnomevfs/captive.conf.in
78
79 %build
80 %{__libtoolize}
81 %{__aclocal} -I macros
82 %{__autoconf}
83 %{__autoheader}
84 %{__automake}
85 cp -f /usr/share/automake/config.sub .
86
87 %configure \
88         --enable-shared \
89         --disable-static \
90         --with-readline \
91         --disable-bug-replay \
92         --enable-lufs=no \
93         --enable-fuse=yes \
94         --disable-install-pkg \
95         --enable-sandbox-setuid=captive \
96         --enable-sandbox-setgid=captive \
97         --enable-sandbox-chroot=/var/lib/captive \
98         --enable-man-pages \
99         --enable-sbin-mountdir=/sbin \
100         --enable-sbin-mount-fs=ntfs:fastfat:cdfs:ext2fsd \
101         --with-oribt-line=link \
102         --with-tmpdir=/tmp
103
104 %{__make}
105
106 %install
107 rm -rf $RPM_BUILD_ROOT
108
109 %{__make} install \
110         DESTDIR=$RPM_BUILD_ROOT
111
112 rm -f $RPM_BUILD_ROOT%{_libdir}/gnome-vfs-2.0/modules/libcaptive-gnomevfs.la
113
114 %find_lang %{name}
115
116 %clean
117 #rm -rf $RPM_BUILD_ROOT
118
119 %files -f %{name}.lang
120 %defattr(644,root,root,755)
121 %doc AUTHORS NEWS README THANKS TODO
122 %attr(755,root,root) /sbin/*
123 %attr(755,root,root) %{_bindir}/captive-cmdline
124 #%attr(755,root,root) %{_bindir}/captive-bug-replay was here earlier.
125 %%attr(755,root,root) %{_libdir}/captive-sandbox-server
126 %{_sysconfdir}/gnome-vfs-2.0/modules/*
127 %{_sysconfdir}/w32-mod-id.captivemodid.xml
128 %attr(755,root,root) %{_libdir}/libcaptive-*.so
129 %attr(755,root,root) %{_libdir}/gnome-vfs-2.0/modules/libcaptive-gnomevfs*.so
130 %{_mandir}/man?/*
131 %{_var}/lib/captive
132
133 %files devel
134 %defattr(644,root,root,755)
135 %attr(755,root,root) %{_libdir}/libcaptive.so
136 %{_libdir}/libcaptive.la
137 %{_includedir}/captive
This page took 0.080946 seconds and 4 git commands to generate.