Author: arekm Date: Tue May 18 17:46:41 2010 GMT Module: packages Tag: HEAD ---- Log message: - initial
---- Files affected: packages/linux-firmware: linux-firmware.spec (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: packages/linux-firmware/linux-firmware.spec diff -u /dev/null packages/linux-firmware/linux-firmware.spec:1.1 --- /dev/null Tue May 18 19:46:41 2010 +++ packages/linux-firmware/linux-firmware.spec Tue May 18 19:46:36 2010 @@ -0,0 +1,56 @@ +# $Revision$, $Date$ +Summary: Firmware files used by the Linux kernel +Name: linux-firmware +Version: 20100430 +Release: 1 +License: GPL+ and GPLv2+ and MIT and Redistributable, no modification permitted +Group: Base/Kernel +URL: http://www.kernel.org/ +Source0: ftp://ftp.kernel.org/pub/linux/kernel/people/dwmw2/firmware/%{name}-%{version}.tar.bz2 +# Source0-md5: d4cfb7d359d8ef6dd50e69225ac6c82b +Requires: udev +Provides: kernel-firmware = %{version} +BuildArch: noarch +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +Kernel-firmware includes firmware files required for some devices to +operate. + +%prep +%setup -q + +%build +# Remove firmware shipped in separate packages already +# Perhaps these should be built as subpackages of linux-firmware? +rm ql2???_fw.bin LICENCE.qla2xxx +rm iwlwifi-*.ucode LICENCE.iwlwifi_firmware + +# Remove source files we don't need to install +rm -f usbdux/*dux */*.asm + +%install +rm -rf $RPM_BUILD_ROOT +install -d $RPM_BUILD_ROOT/lib/firmware +cp -r * $RPM_BUILD_ROOT/lib/firmware +rm $RPM_BUILD_ROOT/lib/firmware/{WHENCE,LICENCE.*} + +%clean +rm -rf $RPM_BUILD_ROOT + + +%files +%defattr(644,root,root,755) +%doc WHENCE LICENCE.* LICENSE.* +/lib/firmware/* + +%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 2010/05/18 17:46:36 arekm +- initial + ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
