Commit | Line | Data |
---|---|---|
50850385 TJ |
1 | Summary: Tool for creating/reading/erasing/flashing FTDI USB chip eeproms |
2 | Name: ftdi_eeprom | |
e61fbf76 | 3 | Version: 0.2 |
526290aa | 4 | Release: 3 |
50850385 TJ |
5 | Copyright: GPL |
6 | Group: Development/Tools | |
7 | Vendor: Intra2net AG | |
8 | Source: %{name}-%{version}.tar.gz | |
9 | Buildroot: /tmp/%{name}-%{version}-root | |
10 | Requires: libftdi, libconfuse | |
11 | BuildRequires: libftdi-devel, libconfuse | |
12 | Prefix: /usr | |
13 | ||
14 | %description | |
15 | Tool for creating/reading/erasing/flashing FTDI USB chip eeproms | |
16 | ||
17 | %prep | |
18 | %setup -q | |
19 | ||
20 | %build | |
21 | autoconf | |
22 | ./configure --prefix=%{prefix} | |
23 | make | |
24 | ||
25 | %install | |
26 | make DESTDIR=$RPM_BUILD_ROOT install | |
27 | ||
50850385 TJ |
28 | %clean |
29 | rm -fr $RPM_BUILD_ROOT | |
30 | ||
31 | %files | |
32 | %defattr(-,root,root) | |
3bb2c27e | 33 | %doc src/example.conf COPYING |
50850385 | 34 | %{prefix}/bin/ftdi_eeprom |