From e00a3640cb2130db165208dde68755f738e5f67a Mon Sep 17 00:00:00 2001 From: Jakub Bogusz Date: Thu, 1 Jul 2004 20:54:16 +0000 Subject: [PATCH] - pl, cleanups Changed files: ipw2100-firmware.spec -> 1.2 --- ipw2100-firmware.spec | 31 +++++++++++++++++++------------ 1 file changed, 19 insertions(+), 12 deletions(-) diff --git a/ipw2100-firmware.spec b/ipw2100-firmware.spec index 0fa485c..09dc8f3 100644 --- a/ipw2100-firmware.spec +++ b/ipw2100-firmware.spec @@ -1,38 +1,45 @@ -Summary: Firmware for the Intel® PRO/Wireless 2100 Driver. +Summary: Firmware for the Intel(R) PRO/Wireless 2100 Driver +Summary(pl): Firmware dla sterownika do kart Intel(R) PRO/Wireless 2100 Name: ipw2100-firmware Version: 1.1 -Release: 01 +Release: 0.1 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 +URL: http://ipw2100.sourceforge.net/firmware.php BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) BuildArch: noarch %description -This package contins the firmware for the ipw-2100 driver. Usage of +This package contains 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 +%{_defaultdocdir}/%{name}-%{version}/LICENSE*. Please read the license carefully. +%description -l pl +Ten pakiet zawiera firmware dla sterownika ipw-2100. Mo¿na go u¿ywaæ +na warunkach zawartych w pliku +%{_defaultdocdir}/%{name}-%{version}/LICENSE*. Proszê uwa¿nie +przeczytaæ licencjê. + %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 +install -d $RPM_BUILD_ROOT%{_sysconfdir}/firmware +install -d $RPM_BUILD_ROOT%{_libdir}/hotplug/firmware + +install -p *.fw $RPM_BUILD_ROOT%{_sysconfdir}/firmware +cd $RPM_BUILD_ROOT%{_sysconfdir}/firmware for file in *.fw; do - ln -s %{_sysconfdir}/firmware/$file %{buildroot}%{_libdir}/hotplug/firmware/ + ln -s %{_sysconfdir}/firmware/$file $RPM_BUILD_ROOT%{_libdir}/hotplug/firmware done %clean -rm -rf %{buildroot} +rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) -- 2.44.0