packages: linux-gpib/linux-gpib.spec - NFY - added bconds.

cieciwa cieciwa at pld-linux.org
Wed Mar 9 14:36:55 CET 2011


Author: cieciwa                      Date: Wed Mar  9 13:36:55 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- NFY
- added bconds.

---- Files affected:
packages/linux-gpib:
   linux-gpib.spec (1.16 -> 1.17) 

---- Diffs:

================================================================
Index: packages/linux-gpib/linux-gpib.spec
diff -u packages/linux-gpib/linux-gpib.spec:1.16 packages/linux-gpib/linux-gpib.spec:1.17
--- packages/linux-gpib/linux-gpib.spec:1.16	Wed Mar  9 13:47:13 2011
+++ packages/linux-gpib/linux-gpib.spec	Wed Mar  9 14:36:50 2011
@@ -5,6 +5,15 @@
 %bcond_without	kernel		# don't build kernel modules
 %bcond_without	userspace	# don't build userspace module
 %bcond_with	verbose		# verbose build (V=1)
+
+%bcond_without	guile		#
+%bcond_without	perl
+%bcond_without	php
+%bcond_without	python
+%bcond_without	tcl
+
+%bcond_without docs
+
 #
 # main package.
 #
@@ -29,6 +38,12 @@
 %endif
 BuildRequires:	kernel-headers >= 2.6.8
 BuildRequires:	python
+%{?with_guile:BuildRequires:	guile-devel}
+%{?with_perl:BuildRequires:	perl-devel}
+%{?with_php:BuildRequires:	php-devel}
+%{?with_python:BuildRequires:	python-devel}
+%{?with_tcl:BuildRequires:	tcl-devel}
+
 Requires(pre,post):	kernel >= 2.6.8
 Requires:	kernel-up >= 2.6.8
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -60,21 +75,21 @@
 %description -n kernel-%{mod_name} -l pl.UTF-8
 Sterownik dla Linuksa do %{name}.
 
-Ten pakiet zawiera moduł jądra Linuksa.
+Ten pakiet zawiera moduł jadra
 
 %prep
 %setup -q
 %patch0 -p1
 
 %build
-%if %{with kernel}
-%{__}
-TOPDIR="`pwd`/drivers/gpib"
-%build_kernel_modules -C drivers/gpib -m gpib_common,cec_gpib,ines_gpib,pc2_gpib \
-	CFLAGS="%{rpmcflags} -I$TOPDIR/include -I$TOPDIR/o/include/asm/mach-default"
-%endif
+##%if %{with kernel}
+##%{__}
+##TOPDIR="`pwd`/drivers/gpib"
+##%build_kernel_modules -C drivers/gpib -m gpib_common,cec_gpib,ines_gpib,pc2_gpib \
+##	CFLAGS="%{rpmcflags} -I$TOPDIR/include -I$TOPDIR/o/include/asm/mach-default"
+##%endif
 
-%if %{with userspace}
+##%if %{with userspace}
 %{__aclocal} -I m4
 %{__libtoolize}
 %{__autoconf}
@@ -89,7 +104,7 @@
 	--disable-documentation
 
 %{__make}
-%endif
+##%endif
 
 #for i in tms9914 agilent_82350b agilent_82357a cb7210 hp82335 hp_82341 nec7210 tnt4882 cec ines pc2 sys ; do
 
@@ -130,6 +145,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.17  2011/03/09 13:36:50  cieciwa
+- NFY
+- added bconds.
+
 Revision 1.16  2011/03/09 12:47:13  cieciwa
 - updated to .15 release,
 - updated MD5 sum,
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/linux-gpib/linux-gpib.spec?r1=1.16&r2=1.17&f=u



More information about the pld-cvs-commit mailing list