]>
Commit | Line | Data |
---|---|---|
6ce35ea2 | 1 | Summary: Serial programmer for Atmel AVR microcontrollers |
1c732c34 | 2 | Summary(pl.UTF-8): Szeregowy programator dla mikrokontrolerów AVR Atmela |
6ce35ea2 | 3 | Name: gAVR |
de23f182 | 4 | Version: 0.5 |
5 | Release: 0.1 | |
6ce35ea2 | 6 | License: GPL |
7 | Group: X11/Development/Tools | |
8 | Source0: http://dl.sourceforge.net/gavr/%{name}-%{version}.tar.gz | |
de23f182 | 9 | # Source0-md5: 2de5ae70ae56e015287be6b714ea5624 |
42ee896a | 10 | Source1: %{name}.desktop |
6ce35ea2 | 11 | URL: http://pvdb.dse.nl/electronics/gAVR.html |
c6e1922c | 12 | BuildRequires: automake |
076e60f3 | 13 | BuildRequires: gtk+2-devel >= 1:2.0.0 |
93e49895 | 14 | BuildRequires: libgnomeui-devel >= 2.0.0 |
de23f182 | 15 | BuildRequires: sed >= 4.0 |
0a00a931 | 16 | ExcludeArch: sparc sparc64 sparcv9 ppc |
6ce35ea2 | 17 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
18 | ||
19 | %description | |
20 | Graphical programmer for Atmel AVR microcontrollers. | |
21 | ||
551e68cd JR |
22 | %description -l pl.UTF-8 |
23 | Graficzny programator dla mikrokontrolerów AVR Atmela. | |
6ce35ea2 | 24 | |
25 | %prep | |
26 | %setup -q | |
6ce35ea2 | 27 | |
63f2e374 JB |
28 | sed -i -e 's#\$(top_builddir)/\$(MKINSTALLDIRS)#$(MKINSTALLDIRS)#' \ |
29 | po/Makefile.in.in | |
30 | ||
6ce35ea2 | 31 | %build |
f93f79d3 | 32 | cp -f /usr/share/automake/config.* . |
6ce35ea2 | 33 | %configure |
34 | %{__make} | |
35 | ||
36 | %install | |
37 | rm -rf $RPM_BUILD_ROOT | |
42ee896a | 38 | install -d $RPM_BUILD_ROOT%{_desktopdir} |
6ce35ea2 | 39 | |
40 | %{__make} install \ | |
41 | DESTDIR=$RPM_BUILD_ROOT | |
42 | ||
42ee896a | 43 | install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir} |
44 | ||
6ce35ea2 | 45 | %clean |
46 | rm -rf $RPM_BUILD_ROOT | |
47 | ||
48 | %files | |
49 | %defattr(644,root,root,755) | |
98ec6225 | 50 | %doc AUTHORS ChangeLog README TODO |
6ce35ea2 | 51 | %attr(755,root,root) %{_bindir}/* |
42ee896a | 52 | %{_desktopdir}/%{name}.desktop |