diff --git a/.cvsignore b/.cvsignore index e69de29..05c8477 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +0xFFFF-0.3.9.tar.gz diff --git a/0xFFFF.spec b/0xFFFF.spec new file mode 100644 index 0000000..7e4260c --- /dev/null +++ b/0xFFFF.spec @@ -0,0 +1,51 @@ +Name: 0xFFFF +Version: 0.3.9 +Release: 2%{?dist} +Summary: The Open Free Fiasco Firmware Flasher + +Group: Applications/System +License: GPLv3 +URL: http://www.nopcode.org/0xFFFF/ +Source0: http://www.nopcode.org/0xFFFF/get/%{name}-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: libusb-devel + +%description +The 'Open Free Fiasco Firmware Flasher' aka 0xFFFF utility implements +a free (GPL3) userspace handler for the NOLO bootloader and related +utilities for the Nokia Internet Tablets like flashing setting device +options, packing/unpacking FIASCO firmware format and more. + +%prep +%setup -q +sed -i /^LDFLAGS/d config.mk +sed -i "s/^CFLAGS+=.*/CFLAGS+=$RPM_OPT_FLAGS/" config.mk + +%build +make -C src %{?_smp_mflags} +make -C logotool CFLAGS="$RPM_OPT_FLAGS" + +%install +rm -rf $RPM_BUILD_ROOT +mkdir -p $RPM_BUILD_ROOT%{_bindir} +install -m0755 src/0xFFFF $RPM_BUILD_ROOT%{_bindir}/0xFFFF +install -m0755 logotool/logotool $RPM_BUILD_ROOT%{_bindir}/logotool + + + +%clean +rm -rf $RPM_BUILD_ROOT + + +%files +%defattr(-,root,root,-) +%doc COPYING README INSTALL +%{_bindir}/* + +%changelog +* Sat Sep 13 2008 David Woodhouse 0.3.9-2 +- Use $RPM_OPT_FLAGS for logotool, don't attempt to build GUI + +* Sat Sep 13 2008 David Woodhouse 0.3.9-1 +- First package diff --git a/import.log b/import.log new file mode 100644 index 0000000..7af9c94 --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +xFFFF-0_3_9-2_fc10:HEAD:0xFFFF-0.3.9-2.fc10.src.rpm:1225820688 diff --git a/sources b/sources index e69de29..b267913 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +9966d488fd41fa1ca654f08086b06fee 0xFFFF-0.3.9.tar.gz