SPECS: truecrypt.spec - added nogui bcond - rel 0.2

kolodko kolodko at pld-linux.org
Wed Jul 23 11:58:12 CEST 2008


Author: kolodko                      Date: Wed Jul 23 09:58:12 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added nogui bcond
- rel 0.2

---- Files affected:
SPECS:
   truecrypt.spec (1.30 -> 1.31) 

---- Diffs:

================================================================
Index: SPECS/truecrypt.spec
diff -u SPECS/truecrypt.spec:1.30 SPECS/truecrypt.spec:1.31
--- SPECS/truecrypt.spec:1.30	Tue Jul 22 20:38:59 2008
+++ SPECS/truecrypt.spec	Wed Jul 23 11:58:07 2008
@@ -2,13 +2,15 @@
 #
 # Conditional build:
 #
+%bcond_with	nogui	# build without gui
+
 %define		_wxWid_ver	2.8.7
 
 Summary:	TrueCrypt - Free Open-Source Disk Encryption Software
 Summary(pl.UTF-8):	TrueCrypt - wolnodostępne oprogramowanie do szyfrowania dysków
 Name:		truecrypt
 Version:	6.0a
-%define	_rel	0.1
+%define	_rel	0.2
 Release:	%{_rel}
 License:	TrueCrypt License Version 2.4
 Group:		Base/Kernel
@@ -61,8 +63,13 @@
 %setup -q -a1 -n %{name}-%{version}-source
 
 %build
+%if %{with nogui}
+%{__make} NOGUI=1 WX_ROOT=%{_builddir}/%{name}-%{version}-source/wxWidgets-%{_wxWid_ver} wxbuild
+%{__make} NOGUI=1
+%else
 %{__make} WX_ROOT=%{_builddir}/%{name}-%{version}-source/wxWidgets-%{_wxWid_ver} wxbuild
 %{__make}
+%endif
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -88,6 +95,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.31  2008/07/23 09:58:07  kolodko
+- added nogui bcond
+- rel 0.2
+
 Revision 1.30  2008/07/22 18:38:59  kolodko
 - up to 6.0a
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/truecrypt.spec?r1=1.30&r2=1.31&f=u



More information about the pld-cvs-commit mailing list