%define name gobi_loader %define version 0.7 %define release 1 Summary: Firmware loader for Qualcomm Gobi WWAN devices Name: %{name} Version: %{version} Release: %{release} License: GPLv2 Source0: http://www.codon.org.uk/~mjg59/gobi_loader/download/%{name}-%{version}.tar.gz Group: Applications/System BuildRoot: %{_tmppath}/%{name}-buildroot URL: http://www.codon.org.uk/~mjg59/gobi_loader Prefix: %{_prefix} %description gobi_loader is a firmware loader for Qualcomm Gobi USB chipsets. These devices appear in an uninitialized state when power is applied and require firmware to be loaded before they can be used as modems. gobi_loader adds a udev rule that will trigger loading of the firmware and make the modem usable. Note that gobi_loader requires firmware images which can't be freely redistributed. See http://www.codon.org.uk/~mjg59/gobi_loader for more information. %prep %setup -q %build # Note: when we compile the program it needs to know where the # data will be when finally installed. CFLAGS="$RPM_OPT_FLAGS" make %install rm -rf $RPM_BUILD_ROOT %makeinstall "prefix=$RPM_BUILD_ROOT" %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %attr(755,root,root) /lib/udev/gobi_loader %attr(644,root,root) /lib/udev/rules.d/60-gobi.rules %changelog * Mon Aug 2 2010 Matthew Garrett 0.7-1 - New upstream release * Fri Jun 4 2010 Matthew Garrett 0.6-1 - Initial release