]> git.pld-linux.org Git - packages/captive.git/blob - captive.spec
- added non_root_install patch
[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 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 %prep
58 %setup -q
59 %patch0 -p1
60
61 %build
62 #%{__libtoolize}
63 #%{__aclocal}
64 #%{__autoconf}
65 #%{__autoheader}
66 #%{__automake}
67 %configure
68 %{__make}
69
70 %install
71 rm -rf $RPM_BUILD_ROOT
72
73 %{__make} install \
74         DESTDIR=$RPM_BUILD_ROOT
75
76 %clean
77 rm -rf $RPM_BUILD_ROOT
78
79 %files
80 %defattr(644,root,root,755)
81 %doc AUTHORS NEWS README THANKS TODO
82 %attr(755,root,root) %{_bindir}/*
83 %attr(755,root,root) %{_sbindir}/*
84 %{_libdir}/lib*
85 %{_libdir}/gnome-vfs-2.0/modules/*
86 %{_includedir}/captive/*
87 %{_mandir}/man?/*
This page took 0.067493 seconds and 4 git commands to generate.