rpms/dfu-util/devel dfu-util.spec, NONE, 1.1 import.log, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Juha Tuomala
tuju at fedoraproject.org
Thu Dec 4 17:20:36 UTC 2008
Author: tuju
Update of /cvs/pkgs/rpms/dfu-util/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv21947/devel
Modified Files:
.cvsignore sources
Added Files:
dfu-util.spec import.log
Log Message:
- initial version. no hurry, whatsoever :)
--- NEW FILE dfu-util.spec ---
# There is no real release from upstream yet so we follow the fedora policy.
%define svnver 4662
%define snapshot 20080922svn%{svnver}
Name: dfu-util
Version: 0.1
Release: 0.4.%{snapshot}%{?dist}
Summary: USB Device Firmware Upgrade tool
Group: Development/Tools
License: GPLv2+
URL: http://wiki.openmoko.org/wiki/Dfu-util
# Latest tar archive can be created using following sh commands:
# URL=http://svn.openmoko.org/trunk/src/host/dfu-util
# DATE=$(date +%Y%M%d)
# SVNVER=$(svn info $URL | grep Revi |cut -d\ -f2)
# VER=${DATE}svn${SVNVER}
# svn export -r $SVNVER $URL dfu-util-$VER
# tar cvf dfu-util-$VER.tar.gz dfu-util-$VER
# or the same commands with particular date + svnver.
Source0: dfu-util-%{snapshot}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: autoconf automake libusb-devel libusb-static
# upstream is broken for 64bit binaries, it compiles but fails when used.
ExcludeArch: x86_64 ppc64 sparc64
%description
USB Device Firmware Upgrade (DFU) is an official USB device class specification
of the USB Implementers Forum. It specifies a vendor and device independent way
of updating the firmware of a USB device. The idea is to have only one
vendor-independent firmware update tool as part of the operating system, which
can then (given a particular firmware image) be downloaded into the device.
In addition to firmware download, it also specifies firmware upload, i.e.
loading the currently installed device firmware to the USB Host.
%prep
%setup -q -n %{name}-%{snapshot}
%build
./autogen.sh
%configure
make %{?_smp_mflags}
%install
rm -rf %{buildroot}
mkdir -p %{buildroot}%{_mandir}/man1
cp doc/%{name}.1 %{buildroot}%{_mandir}/man1
pushd src
make DESTDIR=%{buildroot} install
popd
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%doc
%exclude %{_bindir}/dfu-util_static
%{_bindir}/*
%{_mandir}/man1/*
%changelog
* Mon Sep 22 2008 Juha Tuomala <tuju at iki.fi> - 0.1-0.4.20080922svn4662
- fixed perms and excluded static binary.
* Mon Sep 22 2008 Juha Tuomala <tuju at iki.fi> - 0.1-0.3.20080922svn4662
- Added missing BRs.
* Mon Sep 22 2008 Juha Tuomala <tuju at iki.fi> - 0.1-0.2.20080922svn4662
- Removed unecessary Requires: tag. Added ExlcudeArch for 64bit machines.
* Mon Sep 22 2008 Juha Tuomala <tuju at iki.fi> - 0.1-0.1.20080922svn4662
- Fixed version, license conflict, url, etc rpmlit warnings.
* Sun Sep 21 2008 Juha Tuomala <tuju at iki.fi> - 0.0svn4160
- Initial package version.
--- NEW FILE import.log ---
dfu-util-0_1-0_4_20080922svn4662_fc9:HEAD:dfu-util-0.1-0.4.20080922svn4662.fc9.src.rpm:1228411036
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/dfu-util/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 23 Nov 2008 04:16:44 -0000 1.1
+++ .cvsignore 4 Dec 2008 17:20:06 -0000 1.2
@@ -0,0 +1 @@
+dfu-util-20080922svn4662.tar.gz
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/dfu-util/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 23 Nov 2008 04:16:44 -0000 1.1
+++ sources 4 Dec 2008 17:20:06 -0000 1.2
@@ -0,0 +1 @@
+a15a4cbba4238de885d3780fe751b512 dfu-util-20080922svn4662.tar.gz
More information about the fedora-extras-commits
mailing list