]> git.pld-linux.org Git - packages/ipw2100-firmware.git/commitdiff
- init release based based on Axel Thimm specs
authorpbern <pbern@pld-linux.org>
Thu, 1 Jul 2004 19:15:02 +0000 (19:15 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    ipw2100-firmware.spec -> 1.1

ipw2100-firmware.spec [new file with mode: 0644]

diff --git a/ipw2100-firmware.spec b/ipw2100-firmware.spec
new file mode 100644 (file)
index 0000000..0fa485c
--- /dev/null
@@ -0,0 +1,41 @@
+Summary:       Firmware for the IntelĀ® PRO/Wireless 2100 Driver.
+Name:          ipw2100-firmware
+Version:       1.1
+Release:       01
+License:       distributable
+Group:         System Environment/Kernel
+URL:           http://ipw2100.sourceforge.net/firmware.php
+Source0:       http://cache-www.intel.com/cd/00/00/09/63/96377_96377.zip
+# Source0-md5: 817b987a89e811b87384968ffe15615f
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+BuildArch:     noarch
+
+%description
+This package contins the firmware for the ipw-2100 driver. Usage of
+the firmware is subject to the terms contained in
+%{_defaultdocdir}/%{name}-%{version}/LICENSE. Please read the license
+carefully.
+
+%prep
+%setup -q -c
+gunzip -c ipw2100-fw-%{version}.tgz | tar -xf -
+
+%install
+rm -rf $RPM_BUILD_ROOT
+rm -rf %{buildroot}
+install -d %{buildroot}%{_sysconfdir}/firmware
+install -d %{buildroot}%{_libdir}/hotplug/firmware
+install -p *.fw %{buildroot}%{_sysconfdir}/firmware/
+cd %{buildroot}%{_sysconfdir}/firmware
+for file in *.fw; do
+  ln -s %{_sysconfdir}/firmware/$file %{buildroot}%{_libdir}/hotplug/firmware/
+done
+
+%clean
+rm -rf %{buildroot}
+
+%files
+%defattr(644,root,root,755)
+%doc LICENSE
+%{_sysconfdir}/firmware/*.fw
+%{_libdir}/hotplug/firmware/*.fw
This page took 0.077464 seconds and 4 git commands to generate.