[dfu-util] Latest 0.3 upstream release, Update URL and source location, cleanup spec file
Peter Robinson
pbrobinson at fedoraproject.org
Sat Jun 11 11:38:29 UTC 2011
commit 6342e1b67c4d457f29774b26585e021f3118f1a5
Author: Peter Robinson <pbrobinson at gmail.com>
Date: Sat Jun 11 12:38:16 2011 +0100
Latest 0.3 upstream release, Update URL and source location, cleanup spec file
.gitignore | 1 +
dfu-util.spec | 49 ++++++++++++++++---------------------------------
sources | 2 +-
3 files changed, 18 insertions(+), 34 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e6648d8..e738c87 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
dfu-util-20080922svn4662.tar.gz
+/dfu-util-0.3.tar.gz
diff --git a/dfu-util.spec b/dfu-util.spec
index de735ef..c662edb 100644
--- a/dfu-util.spec
+++ b/dfu-util.spec
@@ -1,28 +1,14 @@
-%define svnver 4917
-# %define snapshot 20090307svn%{svnver}
-
-Name: dfu-util
-Version: 0.1
-# Release: 0.11.%{snapshot}%{?dist}
-Release: 0.12%{?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-%{version}.tar.gz
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
-BuildRequires: autoconf automake libusb-devel libusb-static glibc-devel glibc-static
+Name: dfu-util
+Version: 0.3
+Release: 1%{?dist}
+Summary: USB Device Firmware Upgrade tool
+Group: Development/Tools
+License: GPLv2+
+URL: http://dfu-util.gnumonks.org/
+Source0: http://dfu-util.gnumonks.org/releases/%{name}-%{version}.tar.gz
+
+BuildRequires: libusb-devel
%description
USB Device Firmware Upgrade (DFU) is an official USB device class specification
@@ -34,28 +20,21 @@ 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.
-DFU specification can be found from:
+The DFU specification can be found at:
http://www.usb.org/developers/devclass_docs/usbdfu10.pdf
%prep
-# %setup -q -n %{name}-%{snapshot}
%setup -q
%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
@@ -65,12 +44,16 @@ rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%doc
-%exclude %{_bindir}/dfu-util_static
%{_bindir}/*
%{_mandir}/man1/*
%changelog
+* Sat Jun 11 2011 Peter Robinson <pbrobinson at gmail.com> - 0.3-1
+- Latest 0.3 upstream release
+- Update URL and source location
+- cleanup spec file
+
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.1-0.12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
diff --git a/sources b/sources
index e3b6ace..1905f8b 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-454b931249d29e4a6c2a2ade17858490 dfu-util-0.1.tar.gz
+aa76af3fef700cd73505745580685f4e dfu-util-0.3.tar.gz
More information about the scm-commits
mailing list