SPECS: ethereal.spec - added build with terminal mode tethereal, d...

blaass blaass at pld-linux.org
Thu Mar 1 14:37:46 CET 2007


Author: blaass                       Date: Thu Mar  1 13:37:46 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added build with terminal mode tethereal, doesn't need gtk

---- Files affected:
SPECS:
   ethereal.spec (1.156 -> 1.157) 

---- Diffs:

================================================================
Index: SPECS/ethereal.spec
diff -u SPECS/ethereal.spec:1.156 SPECS/ethereal.spec:1.157
--- SPECS/ethereal.spec:1.156	Mon Feb 12 22:23:55 2007
+++ SPECS/ethereal.spec	Thu Mar  1 14:37:41 2007
@@ -2,6 +2,7 @@
 #
 # Conditional build:
 %bcond_with	gtk1		# build gtk+1 (not gtk+2) based ethereal binary
+%bcond_with	tethernal	# build only with terminal interface
 %bcond_without	krb5		# build without kerberos5 support (via heimdal)
 %bcond_without	snmp		# build without snmp support
 #
@@ -28,6 +29,7 @@
 BuildRequires:	flex
 %if %{with gtk1}
 BuildRequires:	gtk+-devel >= 1.2
+%elseif %{with tethernal}
 %else
 BuildRequires:	gtk+2-devel >= 1:2.0.0
 %endif
@@ -187,6 +189,7 @@
 Requires:	libwiretap = %{version}-%{release}
 %if %{with gtk1}
 Requires:	gtk+-devel >= 1.2
+%elseif %{with only-tethernal}
 %else
 Requires:	gtk+2-devel >= 2.0.0
 %endif
@@ -216,7 +219,12 @@
 	--enable-randpkt \
 	--enable-dftest \
 	--enable-threads \
+%if %{with tethernal}
+	--disable-ethernal \
+	--disable-gtk2 \
+%else
 	%{!?with_gtk1:--enable-gtk2} \
+%endif
 %if %{with krb5}
 	--with-krb5 \
 	--with-ssl \
@@ -313,6 +321,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.157  2007/03/01 13:37:41  blaass
+- added build with terminal mode tethereal, doesn't need gtk
+
 Revision 1.156  2007/02/12 21:23:55  glen
 - tabs in preamble
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/ethereal.spec?r1=1.156&r2=1.157&f=u



More information about the pld-cvs-commit mailing list