packages: ntfs-3g_ntfsprogs/ntfs-3g_ntfsprogs.spec - build extra (ntfsck, nt...

qboosh qboosh at pld-linux.org
Thu Feb 16 17:00:07 CET 2012


Author: qboosh                       Date: Thu Feb 16 16:00:07 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- build extra (ntfsck,ntfsdump_logfile,ntfsmftalloc,ntfsmove,ntfstruncate) and crypto (ntfsdecrypt) utils

---- Files affected:
packages/ntfs-3g_ntfsprogs:
   ntfs-3g_ntfsprogs.spec (1.14 -> 1.15) 

---- Diffs:

================================================================
Index: packages/ntfs-3g_ntfsprogs/ntfs-3g_ntfsprogs.spec
diff -u packages/ntfs-3g_ntfsprogs/ntfs-3g_ntfsprogs.spec:1.14 packages/ntfs-3g_ntfsprogs/ntfs-3g_ntfsprogs.spec:1.15
--- packages/ntfs-3g_ntfsprogs/ntfs-3g_ntfsprogs.spec:1.14	Wed Feb 15 09:44:29 2012
+++ packages/ntfs-3g_ntfsprogs/ntfs-3g_ntfsprogs.spec	Thu Feb 16 17:00:02 2012
@@ -2,6 +2,7 @@
 #
 # Conditional build:
 %bcond_with	internal_fuse	# build with internal libfuse
+%bcond_without	crypto		# ntfsdecrypt utility
 #
 Summary:	The NTFS driver with read and write support
 Summary(pl.UTF-8):	Sterownik do NTFS umożliwiający odczyt i zapis
@@ -22,9 +23,10 @@
 BuildRequires:	libtool
 BuildRequires:	libuuid-devel
 BuildRequires:	pkgconfig
-# for crypto (not built yet)
-#BuildRequires:	gnutls-devel >= 1.4.4
-#BuildRequires:	libgcrypt-devel >= 1.2.2
+%if %{with crypto}
+BuildRequires:	gnutls-devel >= 1.4.4
+BuildRequires:	libgcrypt-devel >= 1.2.2
+%endif
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define		_sbindir	/sbin
@@ -65,10 +67,10 @@
 - ntfsundelete - recover deleted files from an NTFS volume,
 - ntfsresize - resize an NTFS volume,
 - ntfsclone - clone, image, restore or rescue NTFS.
-%if 0
-- ntfswipe - wipe junk from unused space,
-- ntfsdecrypt - descrypt $EFS-encrypted files.
+%if %{with crypto}
+- ntfsdecrypt - descrypt $EFS-encrypted files,
 %endif
+- ntfswipe - wipe junk from unused space.
 
 You can find more information about these utilities in their manuals.
 
@@ -86,11 +88,11 @@
 - ntfslabel - wyświetla/zmienia etykietę partycji NTFS,
 - ntfsundelete - odzyskuje usunięte pliki z wolumenu NTFS,
 - ntfsresize - zmienia rozmiar wolumenu NTFS,
-- ntfsclone - klonuje, tworzy obrazy i odtwarza NTFS.
-%if 0
-- ntfswipe - czyszczenie pozostałości z nieużywanego miejsca,
-- ntfsdecrypt - odszyfrowuje pliki zaszyfrowane $EFS.
+- ntfsclone - klonuje, tworzy obrazy i odtwarza NTFS,
+%if %{with crypto}
+- ntfsdecrypt - odszyfrowuje pliki zaszyfrowane $EFS,
 %endif
+- ntfswipe - czyszczenie pozostałości z nieużywanego miejsca.
 
 Więcej informacji na temat tych narzędzi można znaleźć w manualach.
 
@@ -172,12 +174,12 @@
 
 %configure \
 	--disable-ldconfig \
+	%{?with_crypto:--enable-crypto} \
+	--enable-extras \
 	--enable-posix-acls \
 	--enable-xattr-mappings \
 	--with-fuse=%{?with_internal_fuse:in}%{!?with_internal_fuse:ex}ternal
 
-# --enable-crypto for ntfsdecrypt, but now it's not built anyway
-
 %{__make}
 
 %install
@@ -212,11 +214,18 @@
 %files -n ntfsprogs
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/ntfscat
+%attr(755,root,root) %{_bindir}/ntfsck
 %attr(755,root,root) %{_bindir}/ntfscluster
 %attr(755,root,root) %{_bindir}/ntfscmp
+%{?with_crypto:%attr(755,root,root) %{_bindir}/ntfsdecrypt}
+%attr(755,root,root) %{_bindir}/ntfsdump_logfile
 %attr(755,root,root) %{_bindir}/ntfsfix
 %attr(755,root,root) %{_bindir}/ntfsinfo
 %attr(755,root,root) %{_bindir}/ntfsls
+%attr(755,root,root) %{_bindir}/ntfsmftalloc
+%attr(755,root,root) %{_bindir}/ntfsmove
+%attr(755,root,root) %{_bindir}/ntfstruncate
+%attr(755,root,root) %{_bindir}/ntfswipe
 %attr(755,root,root) %{_sbindir}/mkntfs
 %attr(755,root,root) %{_sbindir}/ntfsclone
 %attr(755,root,root) %{_sbindir}/ntfscp
@@ -282,6 +291,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.15  2012/02/16 16:00:02  qboosh
+- build extra (ntfsck,ntfsdump_logfile,ntfsmftalloc,ntfsmove,ntfstruncate) and crypto (ntfsdecrypt) utils
+
 Revision 1.14  2012/02/15 08:44:29  adamg
 - updated to 2012.1.15
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/ntfs-3g_ntfsprogs/ntfs-3g_ntfsprogs.spec?r1=1.14&r2=1.15&f=u



More information about the pld-cvs-commit mailing list