Group :: Development/Other
RPM: avrdude
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
# -*- rpm-spec -*-
# $Id: avrdude,v 1.2 2005/02/02 09:35:55 grigory Exp $
%def_enable doc
Summary: AVRDUDE is software for programming Atmel AVR Microcontrollers.
Name: avrdude
Version: 5.5
Release: alt1
License: GPL
Group: Development/Other
URL: http://savannah.nongnu.org/projects/avrdude
Source0: %name-%version.tar.gz
# Automatically added by buildreq on Tue Feb 01 2005
BuildRequires: flex libncurses-devel libreadline-devel
%if_enabled doc
BuildRequires: tetex-core tetex-dvips tetex-latex
%endif
%package docs
Summary: Documentation for AVRDUDE.
Group: Development/Other
%description
AVRDUDE is software for programming Atmel AVR Microcontrollers.
%description docs
Documentation for avrdude in html, postscript and pdf formats.
%prep
%setup -q
%build
%configure %{subst_enable doc}
%make_build
%install
%makeinstall
%if_enabled doc
%post
%install_info avrdude.info
%preun
%uninstall_info avrdude.info
%endif
%files
%doc AUTHORS ChangeLog* NEWS README doc/TODO
%config %_sysconfdir/%name.conf
%_bindir/*
%_man1dir/*
%if_enabled doc
%_infodir/*
%files docs
%doc doc/avrdude-html/*.html doc/avrdude.ps doc/avrdude.pdf
%endif
%changelog
…
Full changelog you can see here
# $Id: avrdude,v 1.2 2005/02/02 09:35:55 grigory Exp $
%def_enable doc
Summary: AVRDUDE is software for programming Atmel AVR Microcontrollers.
Name: avrdude
Version: 5.5
Release: alt1
License: GPL
Group: Development/Other
URL: http://savannah.nongnu.org/projects/avrdude
Source0: %name-%version.tar.gz
# Automatically added by buildreq on Tue Feb 01 2005
BuildRequires: flex libncurses-devel libreadline-devel
%if_enabled doc
BuildRequires: tetex-core tetex-dvips tetex-latex
%endif
%package docs
Summary: Documentation for AVRDUDE.
Group: Development/Other
%description
AVRDUDE is software for programming Atmel AVR Microcontrollers.
%description docs
Documentation for avrdude in html, postscript and pdf formats.
%prep
%setup -q
%build
%configure %{subst_enable doc}
%make_build
%install
%makeinstall
%if_enabled doc
%post
%install_info avrdude.info
%preun
%uninstall_info avrdude.info
%endif
%files
%doc AUTHORS ChangeLog* NEWS README doc/TODO
%config %_sysconfdir/%name.conf
%_bindir/*
%_man1dir/*
%if_enabled doc
%_infodir/*
%files docs
%doc doc/avrdude-html/*.html doc/avrdude.ps doc/avrdude.pdf
%endif
%changelog
…
Full changelog you can see here