]>
Commit | Line | Data |
---|---|---|
b7e71136 AM |
1 | Summary: software for programming Atmel AVR Microcontrollers |
2 | Name: avrdude | |
3 | Version: 4.2.0 | |
4 | Release: 1 | |
5 | License: GPL | |
6 | Group: Development/Tools | |
7 | Source0: http://jubal.westnet.com/AVR/%{name}-%{version}.tar.gz | |
8 | # Source0-md5: dd8027d4fd238f47a61651867c9c8d10 | |
9 | URL: http://savannah.nongnu.org/projects/avrdude/ | |
10 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
11 | ||
12 | %description | |
13 | AVRDUDE is software for programming Atmel AVR Microcontrollers. | |
14 | ||
15 | %prep | |
16 | %setup -q | |
17 | ||
18 | %build | |
19 | %configure | |
20 | %{__make} | |
21 | ||
22 | %install | |
23 | rm -rf $RPM_BUILD_ROOT | |
24 | ||
25 | %{__make} install \ | |
26 | DESTDIR=$RPM_BUILD_ROOT | |
27 | ||
28 | %clean | |
29 | rm -rf $RPM_BUILD_ROOT | |
30 | ||
31 | %post | |
32 | [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1 | |
33 | ||
34 | %postun | |
35 | [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1 | |
36 | ||
37 | %files | |
38 | %defattr(644,root,root,755) | |
39 | %doc AUTHORS ChangeLog* NEWS README doc/avrdude-html | |
40 | %attr(755,root,root) %{_bindir}/* | |
41 | %{_mandir}/man?/* | |
42 | %{_infodir}/avr* | |
43 | %config(noreplace) %verify(not md5 size mtime) /etc/%{name}.conf |