]>
Commit | Line | Data |
---|---|---|
1 | Summary: Dfu-util device firmware upgrade utility | |
2 | Summary(pl.UTF-8): Narzędzie do aktualizacji oprogramowania urzadzeń USB | |
3 | Name: dfu-util | |
4 | Version: 0.9 | |
5 | Release: 1 | |
6 | License: GPL v2+ | |
7 | Group: Applications/System | |
8 | Source0: http://dfu-util.sourceforge.net/releases/%{name}-%{version}.tar.gz | |
9 | # Source0-md5: 233bb1e08ef4b405062445d84e28fde6 | |
10 | URL: http://wiki.openmoko.org/wiki/Dfu-util | |
11 | BuildRequires: libusb-devel >= 1.0.0 | |
12 | BuildRequires: pkgconfig | |
13 | BuildRequires: usbpath-devel | |
14 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
15 | ||
16 | %description | |
17 | dfu-util is a program that implements the Host (PC) side of the USB | |
18 | DFU (Universal Serial Bus Device Firmware Upgrade) protocol. | |
19 | ||
20 | %description -l pl.UTF-8 | |
21 | dfu-util to program implementujący protokół USB DFU (Universal Serial | |
22 | Bus Device Firmware Upgrade) po stronie hosta (PC). | |
23 | ||
24 | %prep | |
25 | %setup -q | |
26 | ||
27 | %build | |
28 | %configure \ | |
29 | --disable-silent-rules | |
30 | %{__make} | |
31 | ||
32 | %install | |
33 | rm -rf $RPM_BUILD_ROOT | |
34 | %{__make} install \ | |
35 | DESTDIR=$RPM_BUILD_ROOT | |
36 | ||
37 | %clean | |
38 | rm -rf $RPM_BUILD_ROOT | |
39 | ||
40 | %files | |
41 | %defattr(644,root,root,755) | |
42 | %doc ChangeLog DEVICES.txt README TODO | |
43 | %attr(755,root,root) %{_bindir}/dfu-prefix | |
44 | %attr(755,root,root) %{_bindir}/dfu-suffix | |
45 | %attr(755,root,root) %{_bindir}/dfu-util | |
46 | %{_mandir}/man1/dfu-util.1* |