test: bconds.spec (NEW) - just trying to understand how do bconds work

pawelz pawelz at pld-linux.org
Mon Mar 30 10:12:54 CEST 2009


Author: pawelz                       Date: Mon Mar 30 08:12:54 2009 GMT
Module: test                          Tag: HEAD
---- Log message:
- just trying to understand how do bconds work

---- Files affected:
test:
   bconds.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: test/bconds.spec
diff -u /dev/null test/bconds.spec:1.1
--- /dev/null	Mon Mar 30 10:12:54 2009
+++ test/bconds.spec	Mon Mar 30 10:12:49 2009
@@ -0,0 +1,62 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_with	bw
+%bcond_without	bo
+#
+Summary:	-
+Summary(pl.UTF-8):	-
+Name:		bconds
+Version:	_
+Release:	0.1
+License:	- (enter GPL/GPL v2/GPL v3/LGPL/BSD/BSD-like/other license name here)
+Group:		Applications
+URL:		-
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+
+%prep
+%setup -q -c -T
+
+echo %%with_bw=%{with_bw}
+echo %%without_bw=%{without_bw}
+
+echo %%with_bo=%{with_bo}
+echo %%without_bo=%{without_bo}
+
+%{?with_bw:echo with bw}
+%{?without_bw:echo without bw}
+%{!?with_bw:echo not with bw}
+%{!?without_bw:echo not without bw}
+
+%{?with_bo:echo with bo}
+%{?without_bo:echo without bo}
+%{!?with_bo:echo not with bo}
+%{!?without_bo:echo not without bo}
+
+%if %{with bw}
+  echo if with bw
+%endif
+
+%if %{without bw}
+  echo if without bw
+%endif
+
+%if %{with bo}
+  echo if with bo
+%endif
+
+%if %{without bo}
+  echo if without bo
+%endif
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2009/03/30 08:12:49  pawelz
+- just trying to understand how do bconds work
+
================================================================


More information about the pld-cvs-commit mailing list