Name: huaweiaktbbo Version: 0.0.0 Release: %mkrel 1 License: GPL Group: Communications Summary: Tool to change the mode of the HUAWEI E220 3G Modem BuildRequires: libusb-devel URL: http://www.kanoistika.sk/bobovsky/archiv/umts/ Source: http://www.kanoistika.sk/bobovsky/archiv/umts/huaweiAktBbo.c Source1: 99-huawei.rules BuildRoot: %{_tmppath}/%{name}-root %description Tool to change the mode of the HUAWEI E220 3G Modem %prep %setup -c -T cp %{SOURCE0} . %build export CFLAGS="%optflags" LDFLAGS=-lusb make huaweiAktBbo %install rm -Rf %{buildroot} install -d %{buildroot}/%{_sbindir} install -m755 huaweiAktBbo %{buildroot}/%{_sbindir} install -d %{buildroot}/%{_sysconfdir}/udev/rules.d install -m644 %{SOURCE1} %{buildroot}/%{_sysconfdir}/udev/rules.d/99-huawei.rules %files %defattr(-,root,root) %{_sbindir}/* %{_sysconfdir}/udev/rules.d/* %changelog * Fri Aug 01 2008 Buchan Milne <bgmilne@mandriva.org> 0.0.0-1mdv2008.0 + Revision: 259417 - import huaweiaktbbo