SPECS: slmodem.spec - cflags fix - without kernel bcond fix - adde...

kosmo kosmo at pld-linux.org
Sat Jan 26 10:18:39 CET 2008


Author: kosmo                        Date: Sat Jan 26 09:18:39 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- cflags fix
- without kernel bcond fix
- added ALSA modem support

---- Files affected:
SPECS:
   slmodem.spec (1.43 -> 1.44) 

---- Diffs:

================================================================
Index: SPECS/slmodem.spec
diff -u SPECS/slmodem.spec:1.43 SPECS/slmodem.spec:1.44
--- SPECS/slmodem.spec:1.43	Tue Jan 22 23:54:26 2008
+++ SPECS/slmodem.spec	Sat Jan 26 10:18:34 2008
@@ -9,10 +9,13 @@
 %bcond_without	userspace	# don't build userspace module
 %bcond_with	verbose		# verbose build (V=1)
 
+%if %{without kernel}
+%undefine	with_dist_kernel
+%endif
+
 %define		subver	20070813
 %define		prel	0.%{subver}.6
 
-%define		rel	7
 Summary:	Smart Link soft modem drivers
 Summary(de.UTF-8):	Smart Link Software Modem Treiber
 Summary(pl.UTF-8):	Sterowniki do modemów programowych Smart Link
@@ -25,7 +28,9 @@
 # Source0-md5:	4e2eeb99d1fe7db939c0f5fbe05a1b01
 Source1:	%{name}.init
 Source2:	%{name}.sysconfig
+Patch0:		%{name}-cflags.patch
 URL:		http://www.smlink.com/
+%{?with_suerspace:BuildRequires:	alsa-lib-devel}
 BuildRequires:	%{kgcc_package}
 %{?with_dist_kernel:BuildRequires:	kernel%{_alt_kernel}-module-build}
 BuildRequires:	rpmbuild(macros) >= 1.330
@@ -102,7 +107,9 @@
 
 %if %{with userspace}
 %{__make} -C ../modem \
-	CC="%{__cc}"
+	CC="%{__cc}" \
+	CFLAGS="%{rpmcflags} -I. -DCONFIG_DEBUG_MODEM" \
+	SUPPORT_ALSA=1
 %endif
 
 %install
@@ -172,6 +179,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.44  2008-01-26 09:18:34  kosmo
+- cflags fix
+- without kernel bcond fix
+- added ALSA modem support
+
 Revision 1.43  2008-01-22 22:54:26  glen
 - rel 7 (2.6.16.59-2)
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/slmodem.spec?r1=1.43&r2=1.44&f=u



More information about the pld-cvs-commit mailing list