Author: glen                         Date: Thu Dec 11 15:54:51 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new, build fails

---- Files affected:
SPECS:
   rr174x.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/rr174x.spec
diff -u /dev/null SPECS/rr174x.spec:1.1
--- /dev/null   Thu Dec 11 16:54:51 2008
+++ SPECS/rr174x.spec   Thu Dec 11 16:54:46 2008
@@ -0,0 +1,104 @@
+# $Revision$, $Date$
+# Conditional build:
+%bcond_without dist_kernel     # allow non-distribution kernel
+%bcond_without kernel          # don't build kernel modules
+%bcond_without userspace       # don't build userspace programs
+%bcond_with    verbose         # verbose build (V=1)
+
+%if %{without kernel}
+%undefine      with_dist_kernel
+%endif
+%if "%{_alt_kernel}" != "%{nil}"
+%undefine      with_userspace
+%endif
+%if %{without userspace}
+# nothing to be placed to debuginfo package
+%define                _enable_debug_packages  0
+%endif
+
+%define                rel     0.1
+%define                pname   rr174x
+%define                basever 2.1
+%define                subver  08.0710
+%define                _subver %(echo %{subver} | tr -d .)
+Summary:       Driver for HighPoint RocketRAID 174x SATA controller
+Name:          %{pname}%{_alt_kernel}
+Version:       %{basever}.%{subver}
+Release:       %{rel}
+License:       Proprietary
+Group:         Base/Kernel
+Source0:       
http://www.highpoint-tech.com/BIOS_Driver/rr1740/Linux/%{pname}-linux-src-v%{basever}-%{_subver}-1311.tar.gz
+# Source0-md5: 12763d34c8b725ce0c25e3431745e1ce
+URL:           http://www.highpoint-tech.com/
+%if %{with kernel}
+%{?with_dist_kernel:BuildRequires:     kernel%{_alt_kernel}-module-build >= 
3:2.6.20.2}
+BuildRequires: rpmbuild(macros) >= 1.379
+%endif
+ExclusiveArch: %{ix86} %{x8664}
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This package contains Linux driver for HighPoint RocketRAID 174x SATA
+controller.
+
+%package -n kernel%{_alt_kernel}-misc-rr174x
+Summary:       Linux driver for rr174x
+Summary(pl.UTF-8):     Sterownik dla Linuksa do rr174x
+Release:       [EMAIL PROTECTED]
+Group:         Base/Kernel
+Requires(post,postun): /sbin/depmod
+%if %{with dist_kernel}
+%requires_releq_kernel
+Requires(postun):      %releq_kernel
+%endif
+
+%description -n kernel%{_alt_kernel}-misc-rr174x
+This is driver for rr174x for Linux.
+
+This package contains Linux module.
+
+%description -n kernel%{_alt_kernel}-misc-rr174x -l pl.UTF-8
+Sterownik dla Linuksa do rr174x.
+
+Ten pakiet zawiera moduł jądra Linuksa.
+
+%prep
+%setup -q -n %{pname}-linux-src-v%{basever}
+%{__sed} -i -e 's,\r$,,' README
+
+%build
+%if %{with kernel}
+cd product/rr1740pm/linux
+%build_kernel_modules -m rr174x
+%endif
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%if %{with kernel}
+%install_kernel_modules -m rr174x -d kernel/misc
+%endif
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post  -n kernel%{_alt_kernel}-misc-rr174x
+%depmod %{_kernel_ver}
+
+%postun        -n kernel%{_alt_kernel}-misc-rr174x
+%depmod %{_kernel_ver}
+
+%if %{with kernel}
+%files -n kernel%{_alt_kernel}-misc-rr174x
+%defattr(644,root,root,755)
+/lib/modules/%{_kernel_ver}/kernel/misc/*.ko*
+%endif
+
+%define date   %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <[EMAIL PROTECTED]>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2008/12/11 15:54:46  glen
+- new, build fails
================================================================
_______________________________________________
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to