Compare commits

...
Sign in to create a new pull request.

4 commits

Author SHA1 Message Date
Fedora Release Engineering
f810056cb8 dist-git conversion 2010-07-28 08:43:26 +00:00
Bill Nottingham
cf6194d44e Fix typo that causes a failure to update the common directory. (releng
#2781)
2009-11-25 23:49:50 +00:00
David Woodhouse
1c38cdceab initial import 2008-11-04 17:55:42 +00:00
Dennis Gilmore
93d5f8d622 Initialize branch F-9 for 0xFFFF 2008-11-03 18:57:18 +00:00
5 changed files with 53 additions and 21 deletions

View file

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
0xFFFF-0.3.9.tar.gz

51
0xFFFF.spec Normal file
View file

@ -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 <David.Woodhouse@intel.com> 0.3.9-2
- Use $RPM_OPT_FLAGS for logotool, don't attempt to build GUI
* Sat Sep 13 2008 David Woodhouse <David.Woodhouse@intel.com> 0.3.9-1
- First package

View file

@ -1,21 +0,0 @@
# Makefile for source rpm: 0xFFFF
# $Id$
NAME := 0xFFFF
SPECFILE = $(firstword $(wildcard *.spec))
define find-makefile-common
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
endef
MAKEFILE_COMMON := $(shell $(find-makefile-common))
ifeq ($(MAKEFILE_COMMON),)
# attept a checkout
define checkout-makefile-common
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
endef
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
endif
include $(MAKEFILE_COMMON)

View file

@ -0,0 +1 @@
9966d488fd41fa1ca654f08086b06fee 0xFFFF-0.3.9.tar.gz