SPECS: truecrypt.spec - pl, userspace bcond

qboosh qboosh at pld-linux.org
Tue Nov 7 23:33:03 CET 2006


Author: qboosh                       Date: Tue Nov  7 22:33:03 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- pl, userspace bcond

---- Files affected:
SPECS:
   truecrypt.spec (1.4 -> 1.5) 

---- Diffs:

================================================================
Index: SPECS/truecrypt.spec
diff -u SPECS/truecrypt.spec:1.4 SPECS/truecrypt.spec:1.5
--- SPECS/truecrypt.spec:1.4	Wed Oct 25 01:14:35 2006
+++ SPECS/truecrypt.spec	Tue Nov  7 23:32:58 2006
@@ -8,10 +8,11 @@
 %bcond_without	dist_kernel	# allow non-distribution kernel
 %bcond_without	kernel		# don't build kernel modules
 %bcond_without	smp		# don't build SMP module
+%bcond_without	userspace	# don't build userspace utilities
 %bcond_with	verbose		# verbose build (V=1)
 #
 Summary:	TrueCrypt - Free Open-Source Disk Encryption Software
-#Summary(pl):
+Summary(pl):	TrueCrypt - wolnodostępne oprogramowanie do szyfrowania dysków
 Name:		truecrypt
 Version:	4.2a
 Release:	0.1
@@ -37,8 +38,7 @@
 - Encryption is automatic, real-time (on-the-fly) and transparent.
 - Provides two levels of plausible deniability, in case an adversary
   forces you to reveal the password:
-  1) Hidden volume (steganography ? more information may be
-  found here).
+  1) Hidden volume (steganography).
   2) No TrueCrypt volume can be identified (volumes cannot be
   distinguished from random data).
 - Encryption algorithms: AES-256, Blowfish (448-bit key), CAST5,
@@ -46,10 +46,24 @@
   supported as legacy).
 
 %description -l pl
+Główne cechy:
+- Tworzenie wirtualnego szyfrowanego dysku w pliku i montowanie go
+  jako prawdziwego dysku.
+- Szyfrowanie całej partycji twardego dysku lub urządzenia takiego jak
+  dysk flash USB.
+- Szyfrowanie automatyczne, w czasie rzeczywistym i przezroczyste.
+- Dwa poziomy prawdopodobnych utrudnień, w przypadku, gdy wróg zmusza
+  do wyjawienia hasła:
+  1) Ukryty wolumen (steganografia).
+  2) Żaden wolumen TrueCrypt nie może być zidentyfikowany (wolumeny
+  nie dadzą się odróżnić od losowych danych).
+- Algorytmy szyfrowania: AES-256, Blowfish (klucz 448-bitowy), CAST5,
+  Serpent, Triple DES oraz Twofish. Tryby działania: LRW (CBC
+  obsługiwane dla wstecznej kompatybilności).
 
 %package -n kernel%{_alt_kernel}-misc-%{name}
-Summary:	Kernel modules for %{name}
-Summary(pl):	Moduły jądra dla programu %{name}
+Summary:	Linux kernel modules for TrueCrypt
+Summary(pl):	Moduły jądra Linuksa dla TrueCrypta
 Release:	%{release}@%{_kernel_ver_str}
 Group:		Base/Kernel
 %if %{with dist_kernel}
@@ -60,10 +74,14 @@
 Requires:	modutils >= 2.4.6-4
 
 %description -n kernel%{_alt_kernel}-misc-%{name}
+Linux kernel modules for TrueCrypt.
+
+%description -n kernel%{_alt_kernel}-misc-%{name} -l pl
+Moduły jądra Linuksa dla TrueCrypta
 
 %package -n kernel%{_alt_kernel}-smp-misc-%{name}
-Summary:	Kernel SMP modules for %{name}
-Summary(pl):	Moduły SMP jądra dla programu %{name}
+Summary:	Linux SMP kernel modules for TrueCrypt
+Summary(pl):	Moduły jądra Linuksa SMP dla TrueCrypta
 Release:	%{release}@%{_kernel_ver_str}
 Group:		Base/Kernel
 %if %{with dist_kernel}
@@ -74,6 +92,10 @@
 Requires:	modutils >= 2.4.6-4
 
 %description -n kernel%{_alt_kernel}-smp-misc-%{name}
+Linux SMP kernel modules for TrueCrypt.
+
+%description -n kernel%{_alt_kernel}-smp-misc-%{name} -l pl
+Moduły jądra Linuksa SMP dla TrueCrypta.
 
 %prep
 %setup -q
@@ -81,6 +103,7 @@
 %patch1 -p1
 
 %build
+%if %{with kernel}
 # kernel module(s)
 cd Linux/Kernel
 for cfg in %{?with_dist_kernel:%{?with_smp:smp} up}%{!?with_dist_kernel:nondist}; do
@@ -112,15 +135,19 @@
 	done
 	cd -
 done
+%endif
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-install -d $RPM_BUILD_ROOT/bin $RPM_BUILD_ROOT/lib/modules/%{_kernel_ver}{,smp}/misc
+%if %{with userspace}
+install -d $RPM_BUILD_ROOT{/bin,%{_mandir}/man1}
 install Linux/Cli/%{name} $RPM_BUILD_ROOT/bin
-install -d $RPM_BUILD_ROOT%{_mandir}/man1
 install Linux/Cli/Man/%{name}.1 $RPM_BUILD_ROOT%{_mandir}/man1
+%endif
 
+%if %{with kernel}
+install -d $RPM_BUILD_ROOT/lib/modules/%{_kernel_ver}{,smp}/misc
 for i in truecrypt; do
 install Linux/Kernel/$i-%{?with_dist_kernel:up}%{!?with_dist_kernel:nondist}.ko \
 	$RPM_BUILD_ROOT/lib/modules/%{_kernel_ver}/misc/$i.ko
@@ -131,6 +158,7 @@
 	$RPM_BUILD_ROOT/lib/modules/%{_kernel_ver}smp/misc/$i.ko
 done
 %endif
+%endif
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -147,20 +175,25 @@
 %postun -n kernel%{_alt_kernel}-smp-misc-%{name}
 %depmod %{_kernel_ver}smp
 
-
+%if %{with userspace}
 %files
 %defattr(644,root,root,755)
 %doc License.txt Readme.txt
 %attr(755,root,root) /bin/%{name}
 %{_mandir}/man1/*
+%endif
 
+%if %{with kernel}
 %files -n kernel%{_alt_kernel}-misc-%{name}
 %defattr(644,root,root,755)
 /lib/modules/%{_kernel_ver}/misc/*
 
+%if %{with smp} && %{with dist_kernel}
 %files -n kernel%{_alt_kernel}-smp-misc-%{name}
 %defattr(644,root,root,755)
 /lib/modules/%{_kernel_ver}smp/misc/*
+%endif
+%endif
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -168,6 +201,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.5  2006/11/07 22:32:58  qboosh
+- pl, userspace bcond
+
 Revision 1.4  2006/10/24 23:14:35  glen
 - corrected Group, added todos
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/truecrypt.spec?r1=1.4&r2=1.5&f=u



More information about the pld-cvs-commit mailing list