]> git.pld-linux.org Git - packages/ntfs-3g_ntfsprogs.git/blob - ntfs-3g_ntfsprogs.spec
abf32917e705a69386738f16621ad4e446203452
[packages/ntfs-3g_ntfsprogs.git] / ntfs-3g_ntfsprogs.spec
1 #
2 # Conditional build:
3 %bcond_with     internal_fuse   # build with internal libfuse
4 %bcond_without  crypto          # ntfsdecrypt utility
5 #
6 Summary:        The NTFS driver with read and write support
7 Summary(pl.UTF-8):      Sterownik do NTFS umożliwiający odczyt i zapis
8 Name:           ntfs-3g_ntfsprogs
9 Version:        2013.1.13
10 Release:        2
11 Epoch:          1
12 License:        GPL v2+
13 Group:          Applications/System
14 #Source0-Download: http://www.tuxera.com/community/ntfs-3g-download/
15 Source0:        http://www.tuxera.com/opensource/%{name}-%{version}.tgz
16 # Source0-md5:  2d6fb47ddf62b51733227126fe9227fe
17 Source1:        %{name}.rules
18 URL:            http://www.tuxera.com/community/
19 BuildRequires:  autoconf >= 2.59
20 BuildRequires:  automake
21 %{!?with_internal_fuse:BuildRequires:   libfuse-devel >= 2.6.0}
22 BuildRequires:  libtool
23 BuildRequires:  libuuid-devel
24 BuildRequires:  pkgconfig
25 %if %{with crypto}
26 BuildRequires:  gnutls-devel >= 1.4.4
27 BuildRequires:  libgcrypt-devel >= 1.2.2
28 %endif
29 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30
31 %define         _sbindir        /sbin
32
33 %description
34 ntfs-3g_ntfsprogs is a stable, full-featured, read-write NTFS driver
35 for Linux, Android, Mac OS X, FreeBSD, NetBSD, OpenSolaris, QNX,
36 Haiku, and other operating systems. It provides safe handling of the
37 Windows XP, Windows Server 2003, Windows 2000, Windows Vista, Windows
38 Server 2008 and Windows 7 NTFS file systems.
39
40 %description -l pl.UTF-8
41 ntfs-3g_ntfsprogs to stabilny, pełny sterownik do systemu plików NTFS
42 obsługujący odczyt i zapis dla systemów Linux, Android, Mac OS X,
43 FreeBSD, NetBSD, OpenSolaris, QNX, Haiku i innych. Zapewnia bezpieczną
44 obsługę systemów plików NTFS z systemów Windows XP, Windows Server
45 2003, Windows 2000, Windows Vista, Windows Server 2008 i Windows 7.
46
47 %package -n ntfsprogs
48 Summary:        Utilities for NTFS file systems
49 Summary(pl.UTF-8):      Narzędzia do systemów plików NTFS
50 Group:          Applications/System
51 Requires:       ntfs-3g-libs = %{epoch}:%{version}-%{release}
52
53 %description -n ntfsprogs
54 This package contains the following utilities for NTFS file systems:
55
56 - ntfsfix - attempt to fix an NTFS partition that has been damaged by
57   the Linux NTFS driver. It should be run every time after you have
58   used the Linux NTFS driver to write to an NTFS partition to prevent
59   massive data corruption from happening when Windows mounts the
60   partition.
61
62   IMPORTANT: Run this only *after* unmounting the partition in Linux
63   but *before* rebooting into Windows NT/2000!,
64 - mkntfs - create partition with the NTFS filesystem,
65 - ntfslabel - display/change the label of an NTFS partition,
66 - ntfsundelete - recover deleted files from an NTFS volume,
67 - ntfsresize - resize an NTFS volume,
68 - ntfsclone - clone, image, restore or rescue NTFS.
69 %if %{with crypto}
70 - ntfsdecrypt - descrypt $EFS-encrypted files,
71 %endif
72 - ntfswipe - wipe junk from unused space.
73
74 You can find more information about these utilities in their manuals.
75
76 %description -n ntfsprogs -l pl.UTF-8
77 Ten pakiet zawiera następujące narzędzia do systemów plików NTFS:
78
79 - ntfsfix - próbuje naprawiać partycję NTFS uszkodzone przez linuksowy
80   sterownik do NTFS. Powinien być uruchamiany po każdym zapisie na
81   partycji NTFS, aby zapobiec masowemu zniszczeniu danych.
82
83   WAŻNE: należy uruchamiać ten program tylko *po* odmontowaniu
84   partycji pod Linuksem, ale *przed* uruchomieniem Windows NT/2000!
85
86 - mkntfs - "formatuje" partycję NTFS,
87 - ntfslabel - wyświetla/zmienia etykietę partycji NTFS,
88 - ntfsundelete - odzyskuje usunięte pliki z wolumenu NTFS,
89 - ntfsresize - zmienia rozmiar wolumenu NTFS,
90 - ntfsclone - klonuje, tworzy obrazy i odtwarza NTFS,
91 %if %{with crypto}
92 - ntfsdecrypt - odszyfrowuje pliki zaszyfrowane $EFS,
93 %endif
94 - ntfswipe - czyszczenie pozostałości z nieużywanego miejsca.
95
96 Więcej informacji na temat tych narzędzi można znaleźć w manualach.
97
98 %package -n ntfs-3g
99 Summary:        The NTFS driver with read and write support
100 Summary(pl.UTF-8):      Sterownik do NTFS umożliwiający odczyt i zapis
101 Group:          Applications/System
102 Obsoletes:      ntfsprogs-fuse
103
104 %description -n ntfs-3g
105 The driver to NTFS with read and write support. It is able to
106 unlimited and fully save file creation and deletion.
107
108 %description -n ntfs-3g -l pl.UTF-8
109 Sterownik do systemu plików NTFS posiadający możliwość zarówno odczytu
110 jak i zapisu. Umożliwia tworzenie i kasowanie plików nieograniczoną
111 liczbę razy.
112
113 %package -n ntfs-3g-libs
114 Summary:        ntfs-3g shared library
115 Summary(pl.UTF-8):      Biblioteka współdzielona ntfs-3g
116 Group:          Libraries
117
118 %description -n ntfs-3g-libs
119 ntfs-3g shared library.
120
121 %description -n ntfs-3g-libs -l pl.UTF-8
122 Biblioteka współdzielona ntfs-3g.
123
124 %package -n ntfs-3g-devel
125 Summary:        Header files for libntfs-3g library
126 Summary(pl.UTF-8):      Pliki nagłówkowe dla biblioteki libntfs-3g
127 Group:          Development/Libraries
128 Requires:       ntfs-3g-libs = %{epoch}:%{version}-%{release}
129 Obsoletes:      ntfsprogs-devel
130
131 %description -n ntfs-3g-devel
132 This package includes the header files needed to link software with
133 libntfs-3g library.
134
135 %description -n ntfs-3g-devel -l pl.UTF-8
136 Pliki nagłówkowe potrzebne do budowania programów korzystających z
137 biblioteki libntfs-3g.
138
139 %package -n ntfs-3g-static
140 Summary:        Static version of libntfs-3g library
141 Summary(pl.UTF-8):      Statyczna wersja biblioteki libntfs-3g
142 Group:          Development/Libraries
143 Requires:       ntfs-3g-devel = %{epoch}:%{version}-%{release}
144
145 %description -n ntfs-3g-static
146 This package contains the static version of libntfs-3g library.
147
148 %description -n ntfs-3g-static -l pl.UTF-8
149 Ten pakiet zawiera statyczną wersję biblioteki libntfs-3g.
150
151 %package -n ntfs-3g-udev
152 Summary:        udev integration for ntfs-3g
153 Summary(pl.UTF-8):      Integracja ntfs-3g z udevem
154 Group:          Applications/System
155 Requires:       ntfs-3g = %{epoch}:%{version}-%{release}
156 Obsoletes:      ntfs-3g-hal
157
158 %description -n ntfs-3g-udev
159 udev integration for ntfs-3g.
160
161 %description -n ntfs-3g-udev -l pl.UTF-8
162 Integracja ntfs-3g z udevem.
163
164 %prep
165 %setup -q
166
167 %build
168 %{__libtoolize}
169 %{__aclocal}
170 %{__autoheader}
171 %{__autoconf}
172 %{__automake}
173
174 %configure \
175         --disable-ldconfig \
176         %{?with_crypto:--enable-crypto} \
177         --enable-extras \
178         --enable-posix-acls \
179         --enable-xattr-mappings \
180         --with-fuse=%{?with_internal_fuse:in}%{!?with_internal_fuse:ex}ternal
181
182 %{__make}
183
184 %install
185 rm -rf $RPM_BUILD_ROOT
186 install -d $RPM_BUILD_ROOT{/%{_lib},/lib/udev/rules.d}
187
188 %{__make} install \
189         DESTDIR=$RPM_BUILD_ROOT
190
191 mv -f $RPM_BUILD_ROOT%{_libdir}/libntfs-3g.so.* $RPM_BUILD_ROOT/%{_lib}
192 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libntfs-3g.so
193 ln -sf /%{_lib}/$(cd $RPM_BUILD_ROOT/%{_lib}; echo libntfs-3g.so.*.*) \
194         $RPM_BUILD_ROOT%{_libdir}/libntfs-3g.so
195
196 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libntfs-3g.la
197
198 # mount.ntfs-3g manpage fix
199 %{__rm} $RPM_BUILD_ROOT%{_mandir}/man8/mount.ntfs-3g.8
200 echo ".so ntfs-3g.8" > $RPM_BUILD_ROOT%{_mandir}/man8/mount.ntfs-3g.8
201
202 install %{SOURCE1} $RPM_BUILD_ROOT/lib/udev/rules.d/99-ntfs3g.rules
203
204 # Symlink to allow automount using ntfs-3g:
205 ln -sf %{_bindir}/ntfs-3g $RPM_BUILD_ROOT%{_sbindir}/mount.ntfs
206
207 %clean
208 rm -rf $RPM_BUILD_ROOT
209
210 %post   -n ntfs-3g-libs -p /sbin/ldconfig
211 %postun -n ntfs-3g-libs -p /sbin/ldconfig
212
213 %files -n ntfsprogs
214 %defattr(644,root,root,755)
215 %attr(755,root,root) %{_bindir}/ntfscat
216 %attr(755,root,root) %{_bindir}/ntfsck
217 %attr(755,root,root) %{_bindir}/ntfscluster
218 %attr(755,root,root) %{_bindir}/ntfscmp
219 %{?with_crypto:%attr(755,root,root) %{_bindir}/ntfsdecrypt}
220 %attr(755,root,root) %{_bindir}/ntfsdump_logfile
221 %attr(755,root,root) %{_bindir}/ntfsfix
222 %attr(755,root,root) %{_bindir}/ntfsinfo
223 %attr(755,root,root) %{_bindir}/ntfsls
224 %attr(755,root,root) %{_bindir}/ntfsmftalloc
225 %attr(755,root,root) %{_bindir}/ntfsmove
226 %attr(755,root,root) %{_bindir}/ntfstruncate
227 %attr(755,root,root) %{_bindir}/ntfswipe
228 %attr(755,root,root) %{_sbindir}/mkntfs
229 %attr(755,root,root) %{_sbindir}/ntfsclone
230 %attr(755,root,root) %{_sbindir}/ntfscp
231 %attr(755,root,root) %{_sbindir}/ntfslabel
232 %attr(755,root,root) %{_sbindir}/ntfsresize
233 %attr(755,root,root) %{_sbindir}/ntfsundelete
234 %attr(755,root,root) /sbin/mkfs.ntfs
235 %{_mandir}/man8/mkfs.ntfs.8*
236 %{_mandir}/man8/mkntfs.8*
237 %{_mandir}/man8/ntfscat.8*
238 %{_mandir}/man8/ntfsclone.8*
239 %{_mandir}/man8/ntfscluster.8*
240 %{_mandir}/man8/ntfscmp.8*
241 %{_mandir}/man8/ntfscp.8*
242 %{_mandir}/man8/ntfsfix.8*
243 %{_mandir}/man8/ntfsinfo.8*
244 %{_mandir}/man8/ntfslabel.8*
245 %{_mandir}/man8/ntfsls.8*
246 %{_mandir}/man8/ntfsprogs.8*
247 %{_mandir}/man8/ntfsresize.8*
248 %{_mandir}/man8/ntfsundelete.8*
249
250 %files -n ntfs-3g
251 %defattr(644,root,root,755)
252 %doc AUTHORS CREDITS ChangeLog NEWS README
253 %attr(755,root,root) %{_bindir}/lowntfs-3g
254 %attr(755,root,root) %{_bindir}/ntfs-3g
255 %attr(755,root,root) %{_bindir}/ntfs-3g.probe
256 %attr(755,root,root) %{_bindir}/ntfs-3g.secaudit
257 %attr(755,root,root) %{_bindir}/ntfs-3g.usermap
258 %attr(755,root,root) %{_sbindir}/mount.lowntfs-3g
259 %attr(755,root,root) %{_sbindir}/mount.ntfs
260 %attr(755,root,root) %{_sbindir}/mount.ntfs-3g
261 %{_mandir}/man8/mount.lowntfs-3g.8*
262 %{_mandir}/man8/mount.ntfs-3g.8*
263 %{_mandir}/man8/ntfs-3g.8*
264 %{_mandir}/man8/ntfs-3g.probe.8*
265 %{_mandir}/man8/ntfs-3g.secaudit.8*
266 %{_mandir}/man8/ntfs-3g.usermap.8*
267
268 %files -n ntfs-3g-libs
269 %defattr(644,root,root,755)
270 %attr(755,root,root) /%{_lib}/libntfs-3g.so.*.*.*
271 %attr(755,root,root) %ghost /%{_lib}/libntfs-3g.so.84
272
273 %files -n ntfs-3g-devel
274 %defattr(644,root,root,755)
275 %attr(755,root,root) %{_libdir}/libntfs-3g.so
276 %{_includedir}/ntfs-3g
277 %{_pkgconfigdir}/libntfs-3g.pc
278
279 %files -n ntfs-3g-static
280 %defattr(644,root,root,755)
281 %{_libdir}/libntfs-3g.a
282
283 %files -n ntfs-3g-udev
284 %defattr(644,root,root,755)
285 /lib/udev/rules.d/99-ntfs3g.rules
This page took 0.108732 seconds and 2 git commands to generate.