SPECS: uudeview.spec - without x11 bcond
sparky
sparky at pld-linux.org
Tue Jul 11 23:37:09 CEST 2006
Author: sparky Date: Tue Jul 11 21:37:09 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- without x11 bcond
---- Files affected:
SPECS:
uudeview.spec (1.40 -> 1.41)
---- Diffs:
================================================================
Index: SPECS/uudeview.spec
diff -u SPECS/uudeview.spec:1.40 SPECS/uudeview.spec:1.41
--- SPECS/uudeview.spec:1.40 Tue Jul 11 23:25:52 2006
+++ SPECS/uudeview.spec Tue Jul 11 23:37:04 2006
@@ -1,7 +1,8 @@
# $Revision$, $Date$
#
# Conditional build:
-%bcond_without doc # don't build HTML documentation
+%bcond_without doc # don't build HTML documentation
+%bcond_without x11 # don't build tk GUI
Summary: Smart decoder for uuencode, xxencode, Base64 and BinHex
Summary(pl): Uniwersalny dekoder uuencode, xxencode, Base64 i BinHex
@@ -18,7 +19,6 @@
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: libtool
-BuildRequires: tcl-devel
%if %{with doc}
BuildRequires: tetex-dvips
BuildRequires: tetex-latex
@@ -27,7 +27,10 @@
BuildRequires: tetex-tex-misc
BuildRequires: transfig
%endif
+%if %{with x11}
+BuildRequires: tcl-devel
BuildRequires: tk-devel
+%endif
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
@@ -90,7 +93,8 @@
%build
%{__aclocal}
%{__autoconf}
-%configure
+%configure \
+ %{!?with_x11:--disable-tcl}
%{__make}
%{?with_doc:%{__make} ps -C doc}
@@ -122,11 +126,13 @@
%attr(755,root,root) %{_bindir}/uuenview
%{_mandir}/man1/uu*
+%if %{with x11}
%files x11
%defattr(644,root,root,755)
%attr(755,root,root) %{_bindir}/uuwish
%attr(755,root,root) %{_bindir}/xdeview
%{_mandir}/man1/xdeview.1*
+%endif
%files devel
%defattr(644,root,root,755)
@@ -145,6 +151,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.41 2006/07/11 21:37:04 sparky
+- without x11 bcond
+
Revision 1.40 2006/07/11 21:25:52 sparky
- %patch -> %patch0
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/uudeview.spec?r1=1.40&r2=1.41&f=u
More information about the pld-cvs-commit
mailing list