SPECS: acx100.spec - new version of ACX driver.
cieciwa
cieciwa at pld-linux.org
Wed Apr 12 11:43:30 CEST 2006
Author: cieciwa Date: Wed Apr 12 09:43:30 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- new version of ACX driver.
---- Files affected:
SPECS:
acx100.spec (1.46 -> 1.47)
---- Diffs:
================================================================
Index: SPECS/acx100.spec
diff -u SPECS/acx100.spec:1.46 SPECS/acx100.spec:1.47
--- SPECS/acx100.spec:1.46 Thu Jan 12 20:54:18 2006
+++ SPECS/acx100.spec Wed Apr 12 11:43:24 2006
@@ -12,18 +12,17 @@
#
Summary: Linux driver for WLAN card base on ACX100
Summary(pl): Sterownik dla Linuksa do kart bezprzewodowych na układzie ACX100
-Name: acx100
-Version: 0.2.0pre8_plus_fixes_57
-%define _rel 3
+Name: acx
+Version: 20060215
+%define _rel 1
Release: %{_rel}
License: MPL or GPL
Group: Base/Kernel
-Source0: http://rhlx01.fht-esslingen.de/~andi/acx100/%{name}-%{version}.tar.bz2
-# Source0-md5: f48eb1113764f150666644baf52656af
+Source0: http://195.66.192.167/linux/acx_patches/%{name}-%{version}.tar.bz2
+# Source0-md5: 95bcd5df2365dfcfc78169b0331f69a2
URL: http://acx100.sourceforge.net/
%{?with_dist_kernel:BuildRequires: kernel-module-build >= 2.6.3}
-BuildRequires: %{kgcc_package}
-BuildRequires: rpmbuild(macros) >= 1.118
+BuildRequires: rpmbuild(macros) >= 1.286
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
@@ -61,47 +60,51 @@
Sterownik dla Linuksa SMP do kart bezprzewodowych na układzie ACX100.
%prep
-%setup -q
+#setup -q -n %{name}-%{version}
+cd $RPM_BUILD_DIR
+install -d %{name}-%{version}
+cd %{name}-%{version}
+tar xfj %{SOURCE0}
+/bin/chmod -Rf a+rX,u+w,g-w,o-w .
%define buildconfigs %{?with_dist_kernel:%{?with_smp:smp} up}%{!?with_dist_kernel:nondist}
%build
-mv src/Makefile2.6 src/Makefile
-for cfg in %{buildconfigs}; do
- mkdir -p modules/$cfg
- if [ ! -r "%{_kernelsrcdir}/config-$cfg" ]; then
- exit 1
- fi
- rm -f include/asm
- chmod 000 modules
- install -d include/{linux,config}
- %{__make} -C %{_kernelsrcdir} clean \
- SUBDIRS=$PWD/src \
- O=$PWD \
- %{?with_verbose:V=1}
- install -d include/config
- chmod 700 modules
- ln -sf %{_kernelsrcdir}/config-$cfg .config
- ln -sf %{_kernelsrcdir}/include/linux/autoconf-${cfg}.h include/linux/autoconf.h
-%ifarch ppc ppc64
- install -d include/asm
- [ ! -d %{_kernelsrcdir}/include/asm-powerpc ] || ln -sf %{_kernelsrcdir}/include/asm-powerpc/* include/asm
- [ ! -d %{_kernelsrcdir}/include/asm-%{_target_base_arch} ] || ln -snf %{_kernelsrcdir}/include/asm-%{_target_base_arch}/* include/asm
+# kernel module(s)
+cd %{name}-%{version}
+#cd src
+for cfg in %{?with_dist_kernel:%{?with_smp:smp} up}%{!?with_dist_kernel:nondist}; do
+ if [ ! -r "%{_kernelsrcdir}/config-$cfg" ]; then
+ exit 1
+ fi
+ install -d o/include/linux
+ ln -sf %{_kernelsrcdir}/config-$cfg o/.config
+ ln -sf %{_kernelsrcdir}/Module.symvers-$cfg o/Module.symvers
+ ln -sf %{_kernelsrcdir}/include/linux/autoconf-$cfg.h o/include/linux/autoconf.h
+%if %{with dist_kernel}
+ %{__make} -C %{_kernelsrcdir} O=$PWD/o prepare scripts
%else
- ln -sf %{_kernelsrcdir}/include/asm-%{_target_base_arch} include/asm
-%endif
- ln -sf %{_kernelsrcdir}/Module.symvers-$cfg Module.symvers
- touch include/config/MARKER
- %{__make} -C %{_kernelsrcdir} modules \
-%if "%{_target_base_arch}" != "%{_arch}"
- ARCH=%{_target_base_arch} \
- CROSS_COMPILE=%{_target_base_cpu}-pld-linux- \
+ install -d o/include/config
+ touch o/include/config/MARKER
+ ln -sf %{_kernelsrcdir}/scripts o/scripts
%endif
- HOSTCC="%{__cc}" \
- SUBDIRS=$PWD/src \
- O=$PWD \
- %{?with_verbose:V=1}
- mv src/*.ko modules/$cfg/
+#
+# patching/creating makefile(s) (optional)
+#
+ %{__make} -C %{_kernelsrcdir} clean \
+ RCS_FIND_IGNORE="-name '*.ko' -o" \
+ SYSSRC=%{_kernelsrcdir} \
+ SYSOUT=$PWD/o \
+ M=$PWD O=$PWD/o \
+ %{?with_verbose:V=1}
+ %{__make} -C %{_kernelsrcdir} modules \
+ CC="%{__cc}" CPP="%{__cpp}" \
+ SYSSRC=%{_kernelsrcdir} \
+ SYSOUT=$PWD/o \
+ M=$PWD O=$PWD/o \
+ %{?with_verbose:V=1}
+
+ mv MODULE_NAME{,-$cfg}.ko
done
%install
@@ -158,146 +161,6 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
-Revision 1.46 2006/01/12 19:54:18 arekm
-- rel 3
-
-Revision 1.45 2005/11/13 02:20:02 sparky
-- if there is no asm-powerpc link asm-ppc !
-- spaces->tabs
-
-Revision 1.44 2005/11/12 11:12:21 arekm
-- sparc ready but doesn't build
-
-Revision 1.43 2005/09/15 18:25:04 sparky
-- prepared for kernel >= 2.6.13: link Module.symvers
-
-Revision 1.42 2005/06/11 13:15:22 aflinta
-- ups, rel 1
-
-Revision 1.41 2005/06/11 13:14:11 aflinta
-- up to + fixes 57
-
-Revision 1.40 2005/05/21 21:06:36 averne
-- rel 2
-
-Revision 1.39 2005/04/21 20:40:10 aflinta
-- up to + fixes 53
-
-Revision 1.38 2005/04/13 17:34:11 aflinta
-- up to +fixes_52
-
-Revision 1.37 2005/04/11 16:35:11 aflinta
-- up to +fixes 51
-
-Revision 1.36 2005/04/04 21:25:16 aflinta
-- up to +fixes_50
-
-Revision 1.35 2005/03/29 19:04:20 aflinta
-- up to +fixes 49
-
-Revision 1.34 2005/03/13 13:18:38 aflinta
-- up to 0.2.0pre8_plus_fixes_48
-
-Revision 1.33 2005/01/30 11:17:47 aflinta
-- up to fixes 45
-
-Revision 1.32 2005/01/10 18:21:49 aflinta
-- up to 0.2.0pre8_plus_fixes_44
-
-Revision 1.31 2004/12/11 09:04:43 jpc
-- up to 0.2.0pre8_plus_fixes_43
-
-Revision 1.30 2004/11/25 18:23:41 jpc
-- up to 0.2.0pre8_plus_fixes_40
-
-Revision 1.29 2004/11/24 23:07:36 jpc
-- fix smp bcond
-
-Revision 1.28 2004/10/27 17:31:43 aflinta
-- up to 0.2.0pre8_plus_fixes_37; added directory for firmware
-
-Revision 1.27 2004/10/19 19:16:17 qboosh
-- fixed broken md5 tag
-
-Revision 1.26 2004/10/19 11:29:00 skibi
-- rel 0.2.0pre8_plus_fixes_35
-
-Revision 1.25 2004/09/09 17:38:31 qboosh
-- BR: kernel-module-build
-
-Revision 1.24 2004/09/09 04:55:38 aredridel
-- added todo
-
-Revision 1.23 2004/09/09 04:41:18 aredridel
-- fix build routine
-
-Revision 1.22 2004/09/09 04:35:11 aredridel
-- fixed URL
-- revamp build system
-- update to fixes_30
-- builds for kernel 2.6 now instead
-
-Revision 1.21 2004/08/23 17:00:33 qboosh
-- set Name to acx100, kernel-net-acx100 as subpackage
-
-Revision 1.20 2004/08/07 22:54:43 havner
-- rel 2
-
-Revision 1.19 2004/07/19 01:20:57 skibi
-- Update to 0.2.0pre8_plus_fixes_18
-
-Revision 1.18 2004/06/29 23:46:27 skibi
-- Update 0.2.0pre8_plus_fixes_13 + corect CPPFLAGS
-
-Revision 1.17 2004/06/22 10:40:22 skibi
-- Update to 0.2.0pre8_plus_fixes_12
-
-Revision 1.16 2004/06/04 11:29:15 skibi
-- Update to 0.2.0pre8_plus_fixes_11
-
-Revision 1.15 2004/05/26 14:55:08 skibi
-- Update to 0.2.0pre8_plus_fixes_8
-
-Revision 1.14 2004/05/11 08:30:56 cieciwa
-- updated for _fixed_6,
-- updated MD5 sum.
-
-Revision 1.13 2004/04/27 20:05:59 skibi
-- Add correct md5sum
-
-Revision 1.12 2004/04/27 12:17:08 skibi
-- Update to 0.2.0pre8_plus_fixes_3
-
-Revision 1.11 2004/02/18 15:41:22 qboosh
-- smp depmod fix
-
-Revision 1.10 2004/02/18 14:00:54 qboosh
-- UP/SMP, fixed build with non-running kernel. other unifications
-
-Revision 1.9 2003/12/03 22:02:07 averne
-- updated to pre6_plus_fixes_7.tar.bz2 (by SkIbI)
-
-Revision 1.8 2003/11/18 06:48:54 averne
-- updated to pre6 (request by SkIbI)
-
-Revision 1.7 2003/11/07 23:04:40 cieciwa
-- release 0.1,
-- version 0.2.0pre5.
-
-Revision 1.6 2003/10/18 18:34:03 djurban
-- averne: to ty pisales tego speca, ja ci po prostu jebne
-
-Revision 1.5 2003/10/18 18:33:09 djurban
-- proper fixes
-
-Revision 1.4 2003/10/18 18:31:35 djurban
-- the one who wrote this spec is dead
-
-Revision 1.3 2003/10/18 10:03:13 djurban
-- by skibi (pre4)
-
-Revision 1.2 2003/10/06 10:28:54 averne
-- Updated to pre3
+Revision 1.47 2006/04/12 09:43:24 cieciwa
+- new version of ACX driver.
-Revision 1.1 2003/09/23 10:21:02 averne
-- initial release
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/acx100.spec?r1=1.46&r2=1.47&f=u
More information about the pld-cvs-commit
mailing list