diff --git a/README.md b/README.md index 53b5183..31fee41 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # avrdude +AVRDUDE is an utility to download/upload/manipulate the ROM and EEPROM contents of AVR microcontrollers using the in-system programming technique (ISP). + diff --git a/avrdude.spec b/avrdude.spec new file mode 100644 index 0000000..6d63aaf --- /dev/null +++ b/avrdude.spec @@ -0,0 +1,76 @@ +Name: avrdude +Version: 6.1 +Release: 1mamba +Summary: AVR Downloader/UploaDEr +Group: System/Tools +Vendor: openmamba +Distribution: openmamba +Packager: Stefano Cotta Ramusino +URL: http://www.nongnu.org/avrdude +Source: http://download.savannah.gnu.org/releases/avrdude/avrdude-%{version}.tar.gz +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libelf-devel +BuildRequires: libftdi1-devel +BuildRequires: libncurses-devel +BuildRequires: libreadline-devel +BuildRequires: libtermcap-devel +BuildRequires: libusb-compat-devel +BuildRequires: libusbx-devel +## AUTOBUILDREQ-END +BuildRequires: libftdi1-devel >= 1.1 +Requires(post): %{__install_info} +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +AVRDUDE is an utility to download/upload/manipulate the ROM and EEPROM contents of AVR microcontrollers using the in-system programming technique (ISP). + +%prep +%setup -q + +%build +%configure +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall +make -C doc \ + DESTDIR=%{buildroot} \ + install-info + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post +%install_info %{name}.info +exit 0 + +%preun +%uninstall_info %{name}.info +exit 0 + +%files +%defattr(-,root,root) +%{_bindir}/avrdude +%config(noreplace) %{_sysconfdir}/avrdude.conf +%{_mandir}/man1/avrdude.1.gz +%{_infodir}/*.info.* +%doc AUTHORS COPYING ChangeLog* NEWS README + +%changelog +* Sun Apr 06 2014 Automatic Build System 6.1-1mamba +- automatic version update by autodist + +* Sun Feb 09 2014 Silvan Calarco 6.0.1-2mamba +- rebuilt with libftdi 1.1 + +* Thu Sep 19 2013 Automatic Build System 6.0.1-1mamba +- automatic update by autodist + +* Thu Jun 07 2012 Stefano Cotta Ramusino 5.11.1-2mamba +- fixed group + +* Wed Mar 21 2012 Stefano Cotta Ramusino 5.11.1-1mamba +- package created by autospec