]> git.pld-linux.org Git - packages/captive.git/blob - captive.spec
- pl for -devel, files fix
[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:        Header files for captive library
59 Summary(pl):    Pliki nag³ówkowe biblioteki captive
60 Group:          Development/Libraries
61 Requires:       %{name} = %{version}-%{release}
62
63 %description devel
64 This is the package containing the header files for captive.
65
66 %description devel -l pl
67 Ten pakiet zawiera pliki nag³ówkowe biblioteki captive.
68
69 %prep
70 %setup -q
71 %patch0 -p1
72 %patch1 -p1
73
74 %build
75 %configure \
76         --enable-shared \
77         --disable-static \
78         --with-readline \
79         --disable-bug-replay \
80         --enable-lufs=auto \
81         --disable-install-pkg \
82         --enable-sandbox-setuid=captive \
83         --enable-sandbox-setgid=captive \
84         --enable-sandbox-chroot=/var/lib/captive \
85         --enable-man-pages \
86         --enable-sbin-mountdir=/sbin \
87         --enable-sbin-mount-fs=ntfs:fastfat:cdfs:ext2fsd \
88         --with-oribt-line=link \
89         --with-tmpdir=/tmp
90
91 %{__make}
92
93 %install
94 rm -rf $RPM_BUILD_ROOT
95
96 %{__make} install \
97         DESTDIR=$RPM_BUILD_ROOT
98
99 rm -f $RPM_BUILD_ROOT%{_libdir}/gnome-vfs-2.0/modules/libcaptive-gnomevfs.la
100
101 %find_lang %{name}
102
103 %clean
104 rm -rf $RPM_BUILD_ROOT
105
106 %files -f %{name}.lang
107 %defattr(644,root,root,755)
108 %doc AUTHORS NEWS README THANKS TODO
109 #%attr(755,root,root) /sbin/* # what was installed here?
110 %attr(755,root,root) %{_bindir}/captive-cmdline
111 #%attr(755,root,root) %{_bindir}/captive-bug-replay was here earlier.
112 %attr(755,root,root) %{_sbindir}/captive-sandbox-server
113 %{_sysconfdir}/gnome-vfs-2.0/modules/*
114 %attr(755,root,root) %{_libdir}/libcaptive-*.so
115 %attr(755,root,root) %{_libdir}/gnome-vfs-2.0/modules/libcaptive-gnomevfs*.so
116 %{_mandir}/man?/*
117 %{_var}/lib/captive
118
119 %files devel
120 %defattr(644,root,root,755)
121 %attr(755,root,root) %{_libdir}/libcaptive.so
122 %{_libdir}/libcaptive.la
123 %{_includedir}/captive
This page took 0.059011 seconds and 4 git commands to generate.