]> git.pld-linux.org Git - packages/captive.git/blob - captive.spec
- added devel subpackage
[packages/captive.git] / captive.spec
1 #
2 # Conditional build:
3 %bcond_without  lufs    # don't build LUFS support
4 #
5 Summary:        Captive - NTFS read/write filesystem for Linux
6 Summary(pl):    Captive - obs³uga NTFS dla Linuksa z odczytem i zapisem
7 Name:           captive
8 Version:        1.1.5
9 Release:        0.5
10 License:        GPL
11 Group:          Base/Kernel
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)
27
28 %description
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.
32
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.
41
42 %description -l pl
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
46 wolumen pod Linuksem.
47
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.
56
57 %package devel
58 Summary:        Development libraries and header files for captive library
59 Group:          Development/Libraries
60
61 %description devel
62 This is the package containing the development libraries and header
63 files for captive.
64
65 %prep
66 %setup -q
67 %patch0 -p1
68 %patch1 -p1
69
70 %build
71 #%{__libtoolize}
72 #%{__aclocal} -I macros
73 #%{__autoconf}
74 #%{__autoheader}
75 #%{__automake}
76 %configure \
77         --enable-shared \
78         --disable-static \
79         --with-readline \
80         --disable-bug-replay \
81         --enable-lufs=auto \
82         --disable-install-pkg \
83         --enable-sandbox-setuid=captive \
84         --enable-sandbox-setgid=captive \
85         --enable-sandbox-chroot=/var/lib/captive \
86         --enable-man-pages \
87         --enable-sbin-mountdir=/sbin \
88         --enable-sbin-mount-fs=ntfs:fastfat:cdfs:ext2fsd \
89         --with-oribt-line=link \
90         --with-tmpdir=/tmp
91
92 %{__make}
93
94 %install
95 rm -rf $RPM_BUILD_ROOT
96
97 %{__make} install \
98         DESTDIR=$RPM_BUILD_ROOT
99
100 %find_lang %{name}
101
102 %clean
103 rm -rf $RPM_BUILD_ROOT
104
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
115 %{_mandir}/man?/*
116 %{_var}/lib/captive
117
118 %files devel
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
This page took 0.072939 seconds and 4 git commands to generate.