public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/dfu-util] epel10: - initial version. no hurry, whatsoever :)
@ 2026-11-24 23:04 Juha Tuomala
  0 siblings, 0 replies; only message in thread
From: Juha Tuomala @ 2026-11-24 23:04 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/dfu-util
Branch : epel10
Commit : d87c1eae624769db3890c145b28d13f22addf143
Author : Juha Tuomala <tuju@fedoraproject.org>
Date   : 2008-12-04T17:20:06+00:00
Stats  : +88/-0 in 4 file(s)
URL    : https://src.fedoraproject.org/rpms/dfu-util/c/d87c1eae624769db3890c145b28d13f22addf143?branch=epel10

Log:
- initial version. no hurry, whatsoever :)

---
diff --git a/.cvsignore b/.cvsignore
index e69de29..e6648d8 100644
--- a/.cvsignore
+++ b/.cvsignore
@@ -0,0 +1 @@
+dfu-util-20080922svn4662.tar.gz

diff --git a/dfu-util.spec b/dfu-util.spec
new file mode 100644
index 0000000..6fb44c3
--- /dev/null
+++ b/dfu-util.spec
@@ -0,0 +1,85 @@
+# 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@iki.fi> - 0.1-0.4.20080922svn4662
+- fixed perms and excluded static binary.
+
+* Mon Sep 22 2008 Juha Tuomala <tuju@iki.fi> - 0.1-0.3.20080922svn4662
+- Added missing BRs.
+
+* Mon Sep 22 2008 Juha Tuomala <tuju@iki.fi> - 0.1-0.2.20080922svn4662
+- Removed unecessary Requires: tag. Added ExlcudeArch for 64bit machines.
+
+* Mon Sep 22 2008 Juha Tuomala <tuju@iki.fi> - 0.1-0.1.20080922svn4662
+- Fixed version, license conflict, url, etc rpmlit warnings.
+
+* Sun Sep 21 2008 Juha Tuomala <tuju@iki.fi> - 0.0svn4160
+- Initial package version.

diff --git a/import.log b/import.log
new file mode 100644
index 0000000..4949d0f
--- /dev/null
+++ b/import.log
@@ -0,0 +1 @@
+dfu-util-0_1-0_4_20080922svn4662_fc9:HEAD:dfu-util-0.1-0.4.20080922svn4662.fc9.src.rpm:1228411036

diff --git a/sources b/sources
index e69de29..47f5c82 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+a15a4cbba4238de885d3780fe751b512  dfu-util-20080922svn4662.tar.gz

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-24 23:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-24 23:04 [rpms/dfu-util] epel10: - initial version. no hurry, whatsoever :) Juha Tuomala

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox